skip to Main Content

Azure – Could not load file or assembly 'Microsoft.Extensions.Logging, Version=7.0.0.0, Culture=neutral, The system cannot find the file specified

I am trying to include serilog in my Azure function App project (.net 6), My Startup.cs public override void Configure(IFunctionsHostBuilder builder) { Log.Logger = new LoggerConfiguration() .WriteTo.Console() .WriteTo.AzureAnalytics(workspaceId: "xxxxxxxxxxxxxxxxxxxxxxx", authenticationId: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx") .CreateLogger(); builder.Services.AddLogging(lb => lb.AddSerilog(Log.Logger,true)); ConfigureServices(builder.Services); } private void ConfigureServices(IServiceCollection…

VIEW QUESTION

ASP.NET Core 3.1 Images Compress

Is there any free and reliable way to compress image files (.jpg/.png) and also create thumbnails in ASP.NET Core 3.1 MVC? I tried Bitmap's functions but they throw exceptions like 'System.Drawing.Common is not supported on this platform'.

VIEW QUESTION
Back To Top
Search