Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Where is the mdf file?

$
0
0

As inspired by a recent Asp.NET 5 video on channel9.msdn.com, I used VS2015 and ASP.NET 5 to create  a simple site with username/password authentication/authorization. After logging in and out, I could not find the mdf file and there was no default connection in the server explorer for visual studio.

When I do that same exercise in VS2015 and ASP.NET 4.5, I see the default database connection and I can see my newly created login and there is a mdf file in the AppData directory.

(1) Where is the database ASP.NET 5 is using?

(2) Is the procedure for using code first Entity Frameworks to define domain classes any different for ASP.NET 4.5 than ASP.NET 5? I would imagine so: don't you have to create a database connection if there is not one there already?

Thanks

Siegfried


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>