Last post Apr 08, 2014 05:38 AM by Shawn - MSFT
Apr 05, 2014 10:25 AM|saurav gautam|LINK
Various serurity issues are automatically handled by asp.net without having user to write code.
I am using CONFIGURATION-WEBSITE feature. It automatically created user-related database inside APP_DATA folder.
Now what do i have to do while i have to publish my website to remote server?
I mean how will i change the database from where the users information will be accessed for -login,authorization, authentication etc.
Apr 08, 2014 05:38 AM|Shawn - MSFT|LINK
For this situation, you are using the default membership providers. Doing this will automatically create a database in your application's App_Data folder named ASPNETDB.mdf
that has the predefined schema. The ASPNETDB.MDF is the default database for using the ASP.NET Application Services, which includes profiles, roles, membership and more. When you publish the website, the data within the app_data would automatically build
and published into the server, there is nothing you need to do with it.
If you want to use a different database, you could try to use the aspnet_regsql.exe tool: