?
Solved

vs2010 web application

Posted on 2011-02-20
6
Medium Priority
?
554 Views
Last Modified: 2013-12-17
Hi experts
in vs 2010,can create an empty web
but create a web application by default , it has a simple design with login, home page and about page
where r those code? where are the account data saved? dont see any DB files , and if i want to change a few functions , where can i find those code working for login control and register control?

thx
0
Comment
Question by:hukaka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 5

Accepted Solution

by:
KiasChaos83 earned 1000 total points
ID: 34939875
The account data is saved to ~/APP_DATA/aspnetdb_tmp.mdf by default.

Where is what code?

The code for the login page is at ~/Account/Login.aspx, but that uses an inbuilt control (i.e. <asp:Login />). It handles authentication against the database mentioned above. When the user is authenticated, the Login control will use forms authentication to create an auth cookie.

The home page, and about page are at ~/ (i.e. the root directory).

0
 

Author Comment

by:hukaka
ID: 34940639
thank kias
I thought there should be an mdf in App_Data, but cant find it , is it hiden?
also saw those web controls , but cs file for those controls are almost empty.
need to change VS setting to view those code?
0
 
LVL 8

Expert Comment

by:cubaman_24
ID: 34942778
Hello hukaka:
It will be created by aspnet on your first run.
Best regards
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:hukaka
ID: 34942860
thanks cuba
thats what i thought

I debugged it ,and registered an account .
later I debugged it again and login with that account , worked , means some data must be saved .
but in solution explorer , no mdf file can be found .
was it saved in somewhere else? like a copy of solution has been made in local iis folder?
0
 
LVL 8

Assisted Solution

by:cubaman_24
cubaman_24 earned 1000 total points
ID: 34945020
Hello:
As KiasChaos83 pointed before, it will be created in ~/app_data folder.
Best regards.
0
 
LVL 5

Expert Comment

by:KiasChaos83
ID: 35002272
Thanks for the points

The MDF may not show up in the solution as you would expect. Check the actual build directory at the path mentioned.

Cheers
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question