Top "Asp.net-core-2.1" questions

Use this tag for questions specifically related to ASP.

Use SSL Certificate in ASP.NET Core 2.1 while Developing

On an ASP.NET Core 2.1 I application appSettings file I have the following: "Kestrel": { "Certificates": { "Default": { "Path": "localhost.pfx", "Password": "1234" } } } …

asp.net-core asp.net-core-2.1
Has something replaced bundleconfig.json in ASP.NET Core MVC 2.1?

When I create a new ASP.NET MVC Core targeting 2.1 RC1, it doesn't create the bundleconfig.json file which is …

.net-core asp.net-core-mvc asp.net-core-2.1
Is .NET Core Runtime backwards compatible with previous releases?

If I've installed the latest version of the .NET Core Runtime (as of now, that's version 2.2.3): https://dotnet.microsoft.com/…

.net-core asp.net-core-2.1 asp.net-core-1.0
ActionResult<IEnumerable<T>> has to return a List<T>

Take the following code using ASP.NET Core 2.1: [HttpGet("/unresolved")] public async Task<ActionResult<IEnumerable<UnresolvedIdentity>&…

c# asp.net-core actionresult asp.net-core-2.1
Debugging Swashbuckle Error - Failed to load API Definition

Is there any way to get a stack trace or inner exceptions on Swashbuckle/Swagger errors? At some point, it …

swagger asp.net-core-webapi swashbuckle asp.net-core-2.1 .net-core-2.1
Running unit tests with .NET Core MSTest: "The following TestContainer was not found..."

I've searched high and low and can't find answer to this Exception. This question is the main one to come …

c# selenium-webdriver mstest asp.net-core-2.1
How to disable precompiled views in net core 2.1+ for debugging?

Yesterday I updated to net core 2.1. Now if I am debugging, the views getting precompiled, which ofcourse takes a long …

c# asp.net-core asp.net-core-mvc asp.net-core-2.1
How to create & run .net Core Console App in docker

I have a .NET Core 2.1 console app. I want to run this console app in a Docker image. I'm new …

docker asp.net-core-2.1
Logging using AOP in .NET Core 2.1

I want to implement AOP for the logging in my .NET Core 2.1 solution. I've never used it before and I've …

c# logging asp.net-core aop asp.net-core-2.1
Configure HttpClientFactory to use data from the current request context

With the new HttpClientFactory in ASP.NET Core 2.1, it's quite easy to configure custom HTTP clients with things like base …

c# asp.net-core-2.1 httpclientfactory