Top "Asp.net-core" questions

ASP.

Custom Authentication in ASP.Net-Core

I am working on a web app that needs to integrate with an existing user database. I would still like …

c# asp.net authentication asp.net-core asp.net-core-mvc
ASP.NET Core Web API Authentication

I'm struggling with how to set up authentication in my web service. The service is build with the ASP.NET …

c# asp.net authentication asp.net-core
Publish to IIS, setting Environment Variable

Reading these two questions/answers I was able to run an Asp.net 5 app on IIS 8.5 server. Asp.net vNext …

iis asp.net-core visual-studio-2015 asp.net-core-mvc
EF Core add-migration Build Failed

I have a developer that is getting "Build failed." when running add-migration in a .NET Core EF project, with no …

.net entity-framework asp.net-core .net-core entity-framework-migrations
ASP.NET Core - Swashbuckle not creating swagger.json file

I am having trouble getting the Swashbuckle.AspNetCore (1.0.0) package to generate any output. I read the swagger.json file should …

c# asp.net-core swagger swashbuckle
How to get the Development/Staging/production Hosting Environment in ConfigureServices

How do I get the Development/Staging/production Hosting Environment in the ConfigureServices method in Startup? public void ConfigureServices(IServiceCollection …

c# asp.net-core asp.net-core-mvc
Read environment variables in ASP.NET Core

Running my ASP.NET Core application using DNX, I was able to set environment variables from the command line and …

asp.net asp.net-core asp.net-core-mvc kestrel-http-server
Setting up Swagger (ASP.NET Core) using the Authorization headers (Bearer)

I have a Web API (ASP.NET Core) and I am trying to adjust the swagger to make the calls …

c# asp.net-core swagger-ui
dotnet ef not found in .NET Core 3

I'm following the docs in order to create an initial migration. When I execute dotnet, I get the help section, …

c# asp.net-core .net-core entity-framework-core .net-core-3.0