473,387 Members | 1,516 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

asp.net 2.0 and database

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
Nov 19 '05 #1
2 822
Try looking at this:-
http://beta.asp.net/Tutorials/quickstart.aspx
Hope it helps
Patrick

"Aaron" wrote:
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

Nov 19 '05 #2
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/de.../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

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Aaron" <ku*****@yahoo.com> wrote in message news:eR**************@TK2MSFTNGP14.phx.gbl...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

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cherrish Vaidiyan | last post by:
sir, The following are the steps that i followed in setting up standby database on Red hat Linux 9. i am using Oracle 9i. i have followed the steps in this site : ...
6
by: Marvin Libson | last post by:
Hi All: I am running DB2 UDB V7.2 with FP11. Platform is Windows 2000. I have created a java UDF and trigger. When I update my database I get the following error: SQL1224N A database...
8
by: Kamlesh | last post by:
Hi, How do I know the physical database path of a database. When I goto the DB2INSTANCE users's directory (/home/db2inst1), I see following folders: /db2inst1/NODE0000/SQL00001...
1
by: pintur | last post by:
The message is: SQL1036C Errore di I/O durante l' accesso al database. SQLSTATE=58030 what is the proble? what for restore tables? thanks
3
by: josh.kuo | last post by:
Sorry about the subject, I can't think of a better one. I recently wrote some PHP classes that I think might be of interest to this group. Since I have been reaping the benefits of reading news...
8
by: morleyc | last post by:
Hi, until recently i was quite happy to add data sources from mssql database in visual studio and drag the datasets directly onto the form this creating a directly editable form which worked well....
0
by: Jack | last post by:
Training Classes for Oracle10g, 9i, 8i Certification training in Oracle10g and 9i: DBA, Developer, Discoverer. training conducted at your location worldwide. Courseware licensing also available....
0
by: Winder | last post by:
Training Classes for Oracle10g, 9i, 8i Certification training in Oracle10g and 9i: DBA, Developer, Discoverer. training conducted at your location worldwide. Courseware licensing also available....
0
by: Laurynn | last post by:
# (ebook - pdf) - programming - mysql - php database applicati # (Ebook - Pdf)Learnkey How To Design A Database - Sql And Crystal Report # (ebook-pdf) E F Codd - Extending the Database Relational...
9
by: Peter Duniho | last post by:
Is there a straightfoward API in .NET that allows for inspection of a database? That is, to look at the structure of the database, without knowing anything in advance about it? For example,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.