How to transfer ASP.NET MVC Database from LocalDb to SQL Server?

前端 未结 9 1365
小鲜肉
小鲜肉 2020-12-12 17:20

I created a new ASP.NET MVC 5 project in Visual Studio 2013 (Express for Web) and by default, the project uses LocalDb as its database, but how do you transfer or mi

9条回答
  •  难免孤独
    2020-12-12 17:39

    This works for me.. Change the connection string in the web config file pointing to the database server, then run the application and register a user. Once registered successfully, go to SSMS and refresh the database and then the identity tables should appear.

    Regards

提交回复
热议问题