Top "Asp.net-core-2.1" questions

Use this tag for questions specifically related to ASP.

Setting the default value of a DateTime Property to DateTime.Now inside the System.ComponentModel Default Value Attrbute

Does any one know how I can specify the Default value for a DateTime property using the System.ComponentModel DefaultValue …

c# asp.net entity-framework asp.net-core-2.1 ef-core-2.1
How do I disable HTTPS in ASP.NET Core 2.1 + Kestrel?

So it appears with the advent of ASP.NET Core 2.1, Kestrel now automatically creates an HTTPS endpoint along side the …

https kestrel-http-server asp.net-core-2.1
JsonResult return Json in ASP.NET CORE 2.1

Controller that worked in ASP.NET Core 2.0: [Produces("application/json")] [Route("api/[controller]")] [ApiController] public class GraficResourcesApiController : ControllerBase { private readonly …

c# json asp.net-core-2.1 jsonresult
Identity in ASP.Net Core 2.1 : Customize AccountController

I have installed ASP.NET Core 2.1 but even though I have created a new ASP.NET Core Web Application using …

c# asp.net asp.net-core asp.net-core-2.0 asp.net-core-2.1
How to specify the view location in asp.net core mvc when using custom locations?

Let's say I have a controller that uses attribute based routing to handle a requested url of /admin/product like …

asp.net-core asp.net-core-mvc asp.net-core-1.0 asp.net-core-2.1
Entity Framework Core Auto Generated guid

Can some One guide me I want primeryKey of a table as guid having db generated value on insert. [Key] […

c# entity-framework-core asp.net-core-2.1
Migrating to .NET Core 2.1 breaks Swagger UI

Recently we have migrated our project from .NET Core 2.0 to .NET Core 2.1. As a result our Swagger documentation site stopped …

c# swagger asp.net-core-2.1
VS2017 : Target framework drop down does not show .NET Core 2.1 option

I have already installed VS2017 Enterprise 15.6.4. Recently installed .NET Core 2.1.101 SDK from official site I was expecting .NET Core 2.1 as …

asp.net-core visual-studio-2017 asp.net-core-2.1
How to use Active Directory Authentication in ASP.NET Core?

I am using the ASP.NET Core 2.1 React SPA Microsoft template. I want to use Active Directory for user authentication. …

active-directory asp.net-core-2.1