The .NET MAUI application. I had the following errors when launch the application: Error APT2067: failed processing manifest. 0Error 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. 0Error APT2260: resource mipmap/appicon_round (aka com.companyname.fastcost:mipmap/appicon_round)Continue reading “.NET MAUI – fix ‘failed processing manifest’ AndroidManifest.xml”
Tag Archives: .NET
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.