Top ".net-core" questions

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

AddTransient, AddScoped and AddSingleton Services Differences

I want to implement dependency injection (DI) in ASP.NET Core. So after adding this code to ConfigureServices method, both …

c# asp.net-core .net-core
How to read AppSettings values from a .json file in ASP.NET Core

I have set up my AppSettings data in file appsettings/Config .json like this: { "AppSettings": { "token": "1234" } } I have searched online …

c# asp.net-core .net-core configuration app-config
How to determine if .NET Core is installed

I know that for older versions of .NET, you can determine if a given version is installed by following https://…

c# asp.net-core .net-core
How to get HttpContext.Current in ASP.NET Core?

We are currently rewriting/converting our ASP.NET WebForms application using ASP.NET Core. Trying to avoid re-engineering as much …

c# asp.net-core .net-core
How to read values from the querystring with ASP.NET Core?

I'm building one RESTful API using ASP.NET Core MVC and I want to use querystring parameters to specify filtering …

c# http asp.net-core query-string .net-core
Build .NET Core console application to output an EXE

For a console application project targeting .NET Core 1.0, I cannot figure out how to get an .exe to output during …

.net-core
What is the difference between .NET Core and .NET Standard Class Library project types?

In Visual Studio, there are at least three different types of class libraries you can create: Class Library (.NET Framework) …

.net .net-core class-library .net-standard
What's the difference between .NET Core, .NET Framework, and Xamarin?

Microsoft now has .NET Core, .NET Framework and Xamarin (Mono) in its family. It seems to be a lot of …

.net xamarin .net-core
How to unapply a migration in ASP.NET Core with EF Core

When I run PM> Remove-Migration -context BloggingContext in VS2015 with an ASP.NET Core project using EF Core I …

c# asp.net-core entity-framework-core .net-core visual-studio-2015
Assets file project.assets.json not found. Run a NuGet package restore

I'm trying to use nopCommerce(Which is written in .NET Core) but when I want to run the project I …

nuget visual-studio-2017 .net-core nuget-package-restore