Top ".net-core" questions

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

Equivalent for .HasOptional in Entity Framework Core 1 (EF7)

Consider two classes. public class File { [Key] public string Id { get; set; } public string Message_Id { get; set; } internal Message …

entity-framework asp.net-core entity-framework-core .net-core asp.net-core-1.0
dotnet restore warning NU1701

I am using .NET Core with C#, and when I did dotnet restore, it gave the following error: PS C:\…

c# .net nuget .net-core
The .NET Core SDK is not installed or cannot be found under the path

When compiling .Net Core RC2 project under VS 2015 I am receiving following error GETSDKTOOLINGINFO : error : The .NET Core SDK is …

.net-core .net-core-rc2
Visual Studio 2017 cannot update Microsoft.NETCore.App package ("Blocked by project")

I have a dotnet core app that is targetting Microsoft.NETCore.App 1.1.2. I created a test project to test against …

.net-core visual-studio-2017
How to enable Trace logging in ASP.NET Core?

I cannot get basice LogTrace(...) output in my application. Here's a repro: Create a new ASP.NET Core application using …

c# asp.net-core .net-core .net-core-logging .net-core-configuration
Entity Framework Core: How to get the Connection from the DbContext?

I am trying the new Entity Framework Core with MySQL Connector. I can get a valid DbContext and write into …

.net-core entity-framework-core
Visual Studio Code: Could not find the preLaunchTask 'build'?

I have created a new .NET Core application with the command: dotnet new console -o test When I try to …

visual-studio-code .net-core vscode-tasks
The specified framework 'Microsoft.AspNetCore.App', version '2.1.0' was not found

I tried to upgrade my web app from .net core 2.0 to .net core 2.1 I did: 1) Install Visual Studio Professional 2017 Preview …

asp.net-core .net-core asp.net-core-2.0
Should I take ILogger, ILogger<T>, ILoggerFactory or ILoggerProvider for a library?

This may be somewhat related to Pass ILogger or ILoggerFactory to constructors in AspNet Core?, however this is specifically about …

c# .net logging .net-core .net-standard