简体   繁体   中英

ASP.NET project not creating .mdf file in app_data

I'm following along with the Coding With Mosh Vidly tutorials, and I've gotten to the point of building the database, and the .mdf file is not being generated within the app_data folder.

I've got through and made sure all the azure extensions etc are all installed, ran update-database and i get the 'Running Seed Method' response.

Not sure if the mdf file is being saved elsewhere, or if i have done something wrong, but some help would be much appreciated.

You can try to run the following command from Package Manager console.

update-database

Also, ensure to check connection strings. one way is to enter the same connection string in SQl server management console and see if you can login.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM