Use this tag for questions specifically related to .NET Core 2.0, in addition to using the '.NET Core' tag.
I am experiencing the following NU1605 dependency errors in my netcoreapp2.0 console application: NU1605 Detected package downgrade: System.Diagnostics.Debug …
.net visual-studio-2017 .net-core nuget .net-core-2.0Unable to execute the following code error CS5001 Program does not contain a static 'Main' method suitable for an entry …
c# console visual-studio-2017 console-application .net-core-2.0I 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.0What is the difference between these two calls? My end goal is to have Accept: application/json sent over the …
c# httpclient dotnet-httpclient .net-core-2.0 http-accept-headerI've seen some of the similar examples on SO regarding this but I don't know enough about the language just …
c# asp.net .net .net-core-2.0I have two class library project with the following setting: ClassLibrary1 --> Target framework-->.NET Core 2.1 ClassLibrary2 --&…
c# .net .net-core-2.0I'm trying to launch .Net Core 2.0 application on Ubuntu 17.04. I developed it on Windows 10 before and it works well. The …
c# database entity-framework .net-core .net-core-2.0So I've installed the official .NET Core 2.0 SDK and when I'm in Visual Studio i get heaps of errors and …
.net visual-studio .net-core .net-core-2.0I don't know much about .NET yet, so I guess I'm missing something obvious. I created a library (targeted as …
c# .net .net-core asp.net-core-2.0 .net-core-2.0In .net Core 1 we could do this: IConfiguration config = new ConfigurationBuilder() .AddJsonFile("appsettings.json", true, true) .Build(); And that gave …
c# .net-core .net-core-2.0