This project demonstrates how to deploy a .NET Web API application to Microsoft Azure using Terraform for infrastructure provisioning and GitHub Actions for CI/CD, providing an end-to-end example setup. https://github.com/kaajoj/iac-azure-dotnet-api-deploy
Tag Archives: .NET
.NET MAUI – app to add expenses quickly
I recently created an application in .NET MAUI that is now available for download. I made it for myself to be able to add costs in a very fast way. I will probably add some functionalities, improve the appearance and possible bugs. Feel free to use. Link to Google Play: https://play.google.com/store/apps/details?id=com.companyname.fastcost Screenshots: Some short vids:
.NET MAUI – fix ‘failed processing manifest’ AndroidManifest.xml
The .NET MAUI application. I had the following errors when launch the application: Error APT2067: failed processing manifest. 0 Error APT2260: resource mipmap/appicon (aka com.companyname.fastcost:mipmap/appicon) not found. This error is likely caused by an issue with the AndroidManifest.xml file or an Android manifest generation attribute in a source code file. 0 Error APT2260: resource mipmap/appicon_roundContinue reading “.NET MAUI – fix ‘failed processing manifest’ AndroidManifest.xml”
New console template – use user secret
dotnet user-secrets init set a secret: dotnet user-secrets set “API_KEY” “test123” use UserSecretsId (from .csproj file) in AddUserSecrets()
Background automation tasks in .NET Core – sample web application using Hangfire
It is the second post about Hangfire, but this time I am using Hangfire in web application. And there is link to previous post about Hanfire in console application:Background automation tasks in .NET – sample console application using Hangfire I will show a simple web application using Hangfire to automate tasks. First, create a new project:Continue reading “Background automation tasks in .NET Core – sample web application using Hangfire”
Background automation tasks in .NET Core – sample console application using Hangfire
I will show a simple console application using Hangfire to automate tasks. First, create a new project: Console App (.NET Core). In my case netcoreapp3.1: Install Hangfire – add packages:Hangfire.CoreHangfire.SqlServer Copy the following code to the Main method: We also need to add namespaces: And the last step, create a database. Go to SSMS andContinue reading “Background automation tasks in .NET Core – sample console application using Hangfire”
AutoMapper – map one list to another
Create a mapping from list to list: So e.g: Where ‘cars’ is of the List type and of course before it, we need to add a map to AutoMapper config with the .CreateMap and .ForMember methods for the appropriate properties if needed.