Top ".net-core" questions

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

What's the difference between the new netstandardapp and netcoreapp TFMs?

I noticed that NuGet has recently added support for several new TFMs related to .NET Core, including: netstandard (1.0-1.5) netstandardapp (1.5) …

c# .net nuget asp.net-core .net-core
How to create a LoggerFactory with a ConsoleLoggerProvider?

The ConsoleLoggerProvider has four constructors: ConsoleLoggerProvider(IConsoleLoggerSettings) ConsoleLoggerProvider(IOptionsMonitor<ConsoleLoggerOptions>) ConsoleLoggerProvider(Func<String,LogLevel,Boolean>, Boolean) …

.net-core asp.net-core-2.2
LocalDB is not supported on this Platform

I'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.0
How to do model validation in every method in ASP.NET Core Web API?

I am getting into ASP.NET Core 2.0 with Web API. One of my first methods are my login: /// <summary&…

c# asp.net-core .net-core asp.net-core-webapi modelstate
How to generate controller using dotnetcore command line

In Ruby on Rails, you can generate controllers using something like the following in command line: rails generate controller ControllerName …

c# asp.net-core .net-core dotnet-cli
How to use Rijndael encryption with a .Net Core class library? (Not .Net Framework)

How do we use Rijndael encryption in a .Net Core class library? (Not a .Net Framework Class Library) We need …

c# .net cryptography .net-core rijndaelmanaged
.NET Core Blazor: How to get the Checkbox value if it is checked?

I am trying to find to get the checkbox value if it is checked using Blazor framework, but I couldn't …

c# html .net-core blazor
How exactly does Microsoft.Extensions.Configuration dependent on ASP.NET Core?

Does ASP.NET Core implement IConfiguration access to config values? Most likely my question arose because I don't understand what …

c# asp.net-core .net-core asp.net-core-configuration
ASP.NET CORE, Web API: No route matches the supplied values

PLEASE NOTE: This question was asked in 2016. The original answer to this problem was to update the microsoft api versiong …

c# asp.net-mvc-routing .net-core asp.net-core-webapi api-versioning
How to hardcode and read a string array in appSettings.json?

I use VSCode and NetCore 1.1.1. I need to store several datapaths in my appsetting.json to let my console application …

c# .net-core appsettings