在使用Visual Studio 2013 ASP.NET Web应用程序模板开发网站时,当用户通过register.cshtml视图页面注册其详细信息时,用户信息会存储在哪里?
You create an MVC Web Application in VS 2013. At this moment, the database doesn't exist. But when you run the application on localhost and register a user, the database is created.
To find its name, look in web.config:
<connectionStrings>
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\aspnet-WebApplication2-20150615111350.mdf;Initial Catalog=aspnet-WebApplication2-20150615111350;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
To find its location, look in the App_Data folder:
You can use also SQL Server Management Studio for managing this database.
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.