asp.net 2.0 and database

A

Aaron

I was testing the personal homepage starterkit. I am amazed how easy it was
to install. It looks like the file structure is quite different from 1.1.

how exactly does asp.net 2.0 manages database files?
I know the db files are in the App_Data folder, and the system protects this
folder by default?
So in asp.net2 do we put all the db files in App_Data and the asp.net engine
will protect everything this folder? or is it define somewhere else?
in asp1.1 i store the access db files above the web root folder.

Also I didn't have to add the mdf files to my sql server. Is that a new
feature in .net 2.0 or sql server 2005 or both?

What are the properties of the other App_* folders?


Thanks,

Aaron
 
J

Juan T. Llibre

re:
What are the properties of the other App_* folders?

Brock Allen posted on this previously :

/bin for dependent assemblies
/app_code for .cs/.vb files you want ASP.NET to compile for you
/app_globalresources for shared .resx files and other localizable resources
/app_localresources for page, master and sitemap specific localizable resources
/app_webreferences for WSDL files to be compiled into proxies
/app_data for data files (mdb, dat, etc) that won't be served directly via HTTP
/app_browsers for .browser files to declare what features a browser supports
based upon user agent header (this replaces <browserCaps> in machine.config
/app_themes for CSS and .skin files for use when Theming a page

You'd do well to invest some time reading up
on the changes between Beta1 and Beta2:
http://forums.asp.net/765218/ShowPost.aspx

This article on ASP.NET 2.0 Internals is worthwhile, too :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/internals.asp

Don't forget to also ask your ASP.NET 2.0-related questions at
http://forums.asp.net/default.aspx?ForumGroupID=26

Ask your Visual Studio 2005 questions at :
http://forums.microsoft.com/MSDN/default.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top