Top ".net-core" questions

.NET Core is an open-source successor of the .NET Framework.

Unable to resolve ILogger from Microsoft.Extensions.Logging

I've configured my console application's Main like so var services = new ServiceCollection() .AddLogging(logging => logging.AddConsole()) .BuildServiceProvider(); And then …

c# .net dependency-injection .net-core ilogger
.NET Core MVC Page Not Refreshing After Changes

I'm building a .NET Core MVC on the latest version 2.2. I have a problem when I make changes to the …

asp.net-core .net-core asp.net-core-mvc asp.net-core-2.2
How to publish environment specific appsettings in .Net core app?

I have 3 environment specific appsettings files in my .Net core application in project.json I have setup publishOptions like this. ( …

asp.net-core .net-core asp.net-core-1.0 coreclr
Using DataTable in .NET Core

I have a stored procedure in SQL Server that accepts a User-Defined Table Type. I'm following the answer from this …

c# datatable asp.net-core .net-core asp.net-core-1.0
.Net Core and NuGet

I installed .net core from this site. Playing with it led to a number of related package management questions: The …

.net nuget .net-core
How to manually parse a JSON string in net-core 2.0

I have a json string with the following structure { "resource": "user", "method": "create", "fields": { "name": "John", "surname: "Smith", "email": "john@…

c# json asp.net-core .net-core .net-core-2.0
Convert .Net Framework 4.6.2 project to .Net core project

I Have a solution which contains the bunch of class libraries which is developed by .Net framework 4.6.2. I have to …

.net-core .net-framework-version
How to access artifacts folder after build in TFS online?

PreInfo: I have .net core web api (vs2015) mixed with just ordinary projects. I have spent almost 2 days now to …

msbuild azure-devops .net-core
Enable OPTIONS header for CORS on .NET Core Web API

I solved this problem after not finding the solution on Stackoverflow, so I am sharing my problem here and the …

c# asp.net-core .net-core asp.net-core-webapi
Using Razor outside of MVC in .NET Core

I would like to use Razor as a templating engine in a .NET console application that I'm writing in .NET …

c# .net razor .net-core