Top ".net-core-3.1" questions

Use this tag for question specifically about .NET Core 3.1, the Long Term Support version of .NET Core 3.0.

The framework 'Microsoft.AspNetCore.App', version '3.1.3' was not found

After upgrading targetFramework for my web app from dotnet-core-2.2 to dotnet-core-3.1.2 on another developer machine we are getting following error …

.net asp.net-core .net-core .net-core-3.1 .net-core-2.2
.NET Core 3.1 loading config from appsettings.json for console application

For .NET Core 3.1, console application how can I read a complex object from appsetting.json file and cast it into …

c# .net .net-core console .net-core-3.1
Using Entity Framework Core 3.1 with UseInMemoryDatabase option in ServiceProvider ( Scoped lifetime )

I have migrated a web application project from .NET Core 2.1 to 3.1 (also EF Core from 2.1.1 to 3.1.0). After the migration, some …

c# unit-testing entity-framework-core dbcontext .net-core-3.1
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
How to get value of object inside object using System.Text.Json in .net core 3.1

Created a .Net Core 3.1 Web Application and posted request where Requested model looks like, public class RequestPayload { public string MessageName { …

c# json.net system.text.json .net-core-3.1
.NET Core 3.1 - Could not load file or assembly System.Runtime, Version=4.2.2.0

.NET Core 3.1 console app generates error during build - System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime, …

c# .net-core .net-core-3.1
When called from 'VisitLambda', rewriting a node of type 'System.Linq.Expressions.ParameterExpression' must return a non-null value of the same type

I upgraded my data layer classlibrary project from .NETCore 2.2 to .NETCore3.1 and also upgraded the Nuget packages like EntityFrameWork Core …

linq azure-cosmosdb c#-8.0 .net-core-3.1 ef-core-3.1