ASP.NET Core new project not creating database by default -


i created new asp.net core project identity individual user did not create database.

i have use add-migration update-database manually.

i remember, in past, done automatically. dunno what's wrong time.

vs2017.3

depending on version of dotnet core have, asp.net core may not automatically create database when create new app.

however, migrating , updating database should work. first, create new migration syntax dotnet ef migrations add <migration_name>. so

dotnet ef migrations add initialmigration

and update database so

dotnet ef database update .

this should trick.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -