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.

Getting HttpRequestExceptions: The response ended prematurely

For some reason, I'm getting a HttpRequestException with the message "The response ended prematurely. I'm creating about 500 tasks that use …

c# .net-core-3.0
add all the required services by calling 'IServiceCollection.AddHealthChecks'

I am using ASP.NET Core 3, .NET Core 3.0.100, Visual Studio 2019 Community. I follow this guide https://docs.microsoft.com/en-us/…

c# asp.net-core blazor .net-core-3.0 asp.net-core-3.0
JWT Authentication and Swagger with .Net core 3.0

I am developing some Web Api with .Net core 3.0 and want to integrate it with SwashBuckle.Swagger. It is working …

swagger asp.net-core-webapi swashbuckle .net-core-3.0
The type or namespace name 'IWebHostEnvironment' could not be found (are you missing a using directive or an assembly reference?)

I am using .NET Core 3.0.100 ; Microsoft Visual Studio Community 2019 Preview Version 16.4.0 Preview 1.0 ; Blazor-server (official release). I am trying to add …

asp.net-core blazor asp.net-core-identity .net-core-3.0 asp.net-core-3.0
Is polymorphic deserialization possible in System.Text.Json?

I try to migrate from Newtonsoft.Json to System.Text.Json. I want to deserialize abstract class. Newtonsoft.Json has …

c# json .net-core-3.0 system.text.json
ASP.NET MVC Core API Serialize Enums to String

How to serialize Enum fields to String instead of an Int in ASP.NET MVC Core 3.0? I'm not able to …

c# asp.net-mvc asp.net-core-3.0 .net-core-3.0 system.text.json
Upgrading from ASP.NET Core 2.2 to 3.0

I have an ASP.NET Core project with following csproj configuration: <PropertyGroup> <TargetFramework>netcoreapp2.2</TargetFramework&…

asp.net-core upgrade asp.net-core-3.0 .net-core-3.0
JsonConverter equivalent in using System.Text.Json

I'm starting to migrate some code I have from Newtonsoft.Json to System.Text.Json in a .net Core 3.0 app. …

c# json .net-core .net-core-3.0 system.text.json
Ignore property when null using the new Net Core 3.0 Json

When using JSON.Net in ASP.Net Core 2.2 I was able to ignore a property when its value was null …

json json.net asp.net-core-3.0 .net-core-3.0 system.text.json
How to perform a group join in .NET Core 3.0 Entity Framework?

With the changes to .NET Core 3.0 I am getting ... NavigationExpandingExpressionVisitor' failed. This may indicate either a bug or a limitation …

c# entity-framework linq .net-core .net-core-3.0