Search code examples
c#visual-studio-2013vs-web-site-project

How to access the database that comes with ASP.NET Web Application?


I am using visual studio 2013.

I have done File -> New -> Project

I then choose Template -> Visual C# -> Web -> ASP.NET Web Application

Project name is set to WebApplication1.

When I press F5 to run the website it becomes a basic working website which user can register an account.

The problem that I am facing now is that how do I access the database that store the registered users? How can I manage the users? I intend in the future to publish it into a website. I need to find a way to backup the users.

Should I need to add in my own tables should I put them in a separate database or should I store it together with the database that comes with the project?

I cannot find any information on this. I suspect the keywords used for searching might be wrong. Can someone give me some suggestions?


Solution

  • The mdf file will appear in AppData folder once I register a user.