Top ".net-core-2.1" questions

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

The specified framework 'Microsoft.NETCore.App', version '2.1' was not found

I am developing an Angular 6 application in dotNet Core 2.1. Everything is working flawlessly, until I got to setting up EFCore. …

c# ef-core-2.1 .net-core-2.1
This version of Microsoft.AspNetCore.All is only compatible with the netcoreapp2.1 target framework

When I try to publish my application to the web server after upgrading to .NET Core 2.1 from 2.0, I get this …

c# razor-pages .net-core-2.1
Blazor, ASP.NET Core Hosted vs Server Side in ASP.NET Core

I am trying my hands on blazor.Net which is an experimental framework. I already developed a small project in …

c# .net-core-2.1 blazor
An instance of analyzer Microsoft.AspNetCore.Mvc.Analyzers.AvoidHtmlPartialAnalyzer cannot be created from C:\

I'm updating a VS2017 to use ASP.NET Core 2.1 (installing dot.net core sdk 2.1 and Microsoft.Net.Compilers 2.8.2) and I …

.net-core visual-studio-2017 asp.net-core-mvc .net-core-2.1
Get List of Entity Models in DbContext Entity Framework Core 2.1

I'm trying to find a way to get a List of all of the entity models in my DbContext. For …

c# ef-core-2.1 .net-core-2.1 entity-framework-core-2.1
How to use HttpClientHandler with HttpClientFactory in .NET Core

I want to use the HttpClientFactory that is available in .NET Core 2.1 but I also want to use the HttpClientHandler …

c# .net-core dotnet-httpclient .net-core-2.1 httpclientfactory
IHttpClientFactory in .NET Core 2.1 Console App references System.Net.Http

Tools Visual Studio 2017 Professional (15.8.7) dotnetcore SDK 2.1.403 Scenario I'm attempting to create a console app using the dotnet core framework. The …

c# .net-core .net-core-2.1
Serilog and .NET Core 2.1 HostBuilder Configuration

I'm using the .NET Core 2.1 HostBuilder class to set up and run a GRPC server and am having trouble getting …

c# serilog .net-core-2.1
HttpClient with .Net Core 2.1 hangs

Given the following .Net Core 2.1 Console App... using System; using System.Diagnostics; using System.Net.Http; using System.Net.Http.…

c# .net .net-core asp.net-core-2.1 .net-core-2.1
How to update Visual Studio 2017 Template from ASP.NET Core 2.0 to 2.1

I have installed Visual Studio 2017 Community Version 15.7.5 2 days back and everything is up-to-date but the version of ASP.Net Core …

asp.net-core .net-core asp.net-core-mvc asp.net-core-2.1 .net-core-2.1