ASP.NET Core Identity — How to Create DbContext and Database at Design-Time without a Web Host

Discuss a class library that can be used for design-time DbContext creation and database creation for ASP.NET Core Identity using EF Code First, without a web or API project.

Shawn Shi

--

Goal

The goal is to create a stand-alone class library whose sole purpose is to host ASP.NET Core Identity models, DbContext and EF Core migrations, and be…

--

--

Shawn Shi

Senior Software Engineer at Microsoft. Ex-Machine Learning Engineer. When I am not building applications, I am playing with my kids or outside rock climbing!