我已经安装了MVC 4并创建了一个新的"Internet应用程序".运行该应用程序并添加一些帐户后,我找不到信息的存储位置.我以前曾与MVC 2合作过.它将帐户存储在ASP.NET数据库中.
I have installed MVC 4 and created a new "Internet Application". After running the application and adding some accounts I can't find where the information are stored. I have worked with MVC 2 previousely. It stores accounts in an ASP.NET database.
推荐答案如果您在谈论默认设置,则很有可能将数据存储在快速实例中.在解决方案资源管理器中,查看隐藏的文件,您应该会看到它.否则,请使用SQL Server在连接字符串中检查它正在连接的数据库.
If you are talking about the default settings, it is most likely storing the data in an express instance. In Solution Explorer, view hidden files and you should see it. Otherwise, Use SQL Server to check the database it is connecting to in the connection string.
更多推荐
ASP.NET MVC 4在哪里存储帐户信息?
发布评论