Top "Asp.net-core-2.0" questions

Use this tag for questions specifically related to ASP.

How to use Bootstrap 4 in ASP.NET Core

I want to update Bootstrap in ASP.NET Core with NuGet. I used this: Install-Package bootstrap -Version 4.0.0 It did add …

.net asp.net-core nuget bootstrap-4 asp.net-core-2.0
Unable to create migrations after upgrading to ASP.NET Core 2.0

After upgrading to ASP.NET Core 2.0, I can't seem to create migrations anymore. I'm getting "An error occurred while calling …

c# asp.net-core asp.net-core-mvc entity-framework-core asp.net-core-2.0
No authenticationScheme was specified, and there was no DefaultChallengeScheme found with default authentification and custom authorization

I have a .NET Core 2.0 app and have a problem with authorization. I want to use custom authorization with special …

c# asp.net .net asp.net-core-2.0
How to use log4net in Asp.net core 2.0

I configure log4net in my asp.net core 2.0 application as mentioned in this article LINK program.cs public static …

c# asp.net log4net asp.net-core-2.0 log4net-configuration
Cannot resolve scoped service from root provider .Net Core 2

When I try to run my app I get the error InvalidOperationException: Cannot resolve 'API.Domain.Data.Repositories.IEmailRepository' from …

c# asp.net-core asp.net-core-2.0
ASP.NET Core 2.0 authentication middleware

With Core 1.1 followed @blowdart's advice and implemented a custom middleware: https://stackoverflow.com/a/31465227/29821 It worked like this: Middleware ran. …

c# authentication asp.net-core asp.net-core-2.0
How to use HTTPS / SSL with Kestrel in ASP.NET Core 2.x?

I am currently using ASP.NET Core 2.x and I used to be able to get Kestrel to to use …

ssl https asp.net-core-2.0 kestrel-http-server
Setting environment variables in .NET Core 2.0

I am trying to setting up multiple environments in my .NET Core 2.0 application. See my code below. Configuration file (Launch.…

c# asp.net-core-2.0
Call SignalR Core Hub method from Controller

How can I call SignalR Core Hub method from Controller? I am using ASP.NET Core 2.0 with Microsoft.AspNetCore.SignalR (1.0.0…

c# signalr asp.net-core-2.0 asp.net-core-signalr