简体   繁体   English

“ ASP.NET Web应用程序”项目在哪里存储用户注册详细信息?

[英]Where does an “ASP.NET Web Application” project store user registration details?

在使用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. 您在VS 2013中创建了MVC Web应用程序。目前,该数据库不存在。 But when you run the application on localhost and register a user, the database is created. 但是,当您在localhost上运行应用程序并注册用户时,将创建数据库。

To find its name, look in web.config: 要找到其名称,请查看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: 要找到其位置,请查看App_Data文件夹:

的LocalDB

You can use also SQL Server Management Studio for managing this database. 您也可以使用SQL Server Management Studio来管理此数据库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 ASP.Net web 应用程序中存储进度信息的位置 - Where to store progress information in ASP.Net web application 在Asp.net Web应用程序项目中创建用户角色 - Create User Roles In Asp.net Web Application project 将ASP.NET“网站”项目转换为“ Web应用程序项目”,其中项目使用Profile Heavilly - Converting ASP.NET 'Web Site' Project to 'Web Application Project', where the project uses Profile heavilly 从Web应用程序(EF,ASP.NET Identity,Azure)中删除注册并从DB注册用户 - Remove registration from web application (EF, ASP.NET Identity, Azure) and register a user from DB ASP.NET Web Forms 用户注册 Email 不存在 - ASP.NET Web Forms User Registration Email Confirmation, IdentityHelper does not exist ASP.NET Web应用程序项目的预编译 - Precompilation of ASP.NET Web Application Project 组织 ASP.NET Web 应用程序项目 - Organizing ASP.NET Web Application Project ASP.net:网站或Web应用程序项目 - ASP.net: Website or web application project asp.net Web应用程序,哪里是存储和重用经常更改的值的好地方? - asp.net web application, where is a good place to store and reuse values that change frequently? ASP.NET Web应用程序无法运行 - ASP.NET web application does not run
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM