Top ".net-core-3.0" questions

Use this tag for questions specifically related to .NET Core 3.0, in addition to using the '.NET Core' tag.

.NET Core 3.0 and IIS: HTTP Error 500.30 - ANCM In-Process Start Failure: failed to load coreclr

My application runs fine within IIS Express on my development workstation, but I am having trouble deploying it to IIS. …

.net-core iis-8 .net-core-3.0
How to replace AddJwtBearer extension in .NET Core 3.0

I have the following code which compiles and works in .NET Core 2.2: byte[] key = Encoding.ASCII.GetBytes(Constants.JWT_SECRET); …

c# asp.net-core .net-core asp.net-core-2.0 .net-core-3.0
"The project 'Web' must provide a value for Configuration" error after migrating to .NET Core 3

I've migrated an ASP.NET Core 2.2 project to Core 3.0 and am getting the error: The project [Project location] must provide …

asp.net-core .net-core .net-core-3.0
Migrating .NET Core 2 to .NET Core 3: HttpContent does not contain a definition for "ReadAsAsync"

I am following this guide https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.0&tabs=visual-studio to …

asp.net-core-3.0 .net-core-3.0
Rider doesn't see NetCore 3.0

I had used VS CODE before. But now I would like to try JetBrains Rider. Currently, I have only NetCore 3.0. …

linux .net-core-3.0 rider
System.Text.Json: How do I specify a custom name for an enum value?

Using the System.Text.Json serializer capabilities in .NET Core, how can I specify a custom value for an enum …

c# .net .net-core .net-core-3.0 system.text.json
Deserialization of reference types without parameterless constructor is not supported

I have this API public ActionResult AddDocument([FromBody]AddDocumentRequestModel documentRequestModel) { AddDocumentStatus documentState = _documentService.AddDocument(documentRequestModel, DocumentType.OutgoingPosShipment); if (documentState.IsSuccess) …

serialization json-deserialization .net-core-3.0
Unable to create an object of type 'ApplicationDbContext'. For the different patterns supported at design time

I face the following error when adding the migration of database in .net core This is the error: This is …

c# asp.net-core .net-core .net-core-3.0 .net-core-3.1
Converting newtonsoft code to System.Text.Json in .net core 3. what's equivalent of JObject.Parse and JsonProperty

I am converting my newtonsoft implementation to new JSON library in .net core 3.0. I have the following code public static …

c# serialization json.net .net-core-3.0 system.text.json
Get Current User in a Blazor component

I'm starting a new site with Blazor and Windows Authentication and need to identify the current user viewing the page/…

asp.net-core blazor .net-core-3.0 blazor-server-side ef-core-3.0