473,320 Members | 1,976 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,320 software developers and data experts.

App_data folder question?

Why by simply having a .mdf file in the app_data folder it is made
accessible? Does placing a .mdf in the app_data folder does some kind
of attachment? Do this pseudo attachment works only with the express
version of SQL Server? Do this feature works for access databases?

Oct 11 '06 #1
2 1628
Hi Artificer

Nice question!! Whenver u include database, it comes under app_data
folder with extension .mdf. U have used word "attachment", I would like
to use word or rather the concept of CLR integration. So this feature
of CLR integration has been incorporated in .NET 2005.
This concept works with SQL Server 2005 only up to now. This feature
does not work for other databases. See this link to get better
understanding:-
http://www.developer.com/net/net/article.php/3528601
Best Wishes
Raghav Mahajan

Artificer wrote:
Why by simply having a .mdf file in the app_data folder it is made
accessible? Does placing a .mdf in the app_data folder does some kind
of attachment? Do this pseudo attachment works only with the express
version of SQL Server? Do this feature works for access databases?
Oct 11 '06 #2
Thanks for your answer but I think that CLR Integration has more to do
with creating database objects on .NET like store procedures and
functions but my question was instead why I can use a database on SQL
Server without attaching it as it is usually required just by placing
it on the app_data folder.

Oct 11 '06 #3

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

Similar topics

5
by: CharlesA | last post by:
hi folks I'm working on reverse engineering TheBeerHouse by Marco Bellinaso which appears to have 100% unanimous approval on Amazon. I got the book and downloaded the code and I opened the...
0
by: Artificer | last post by:
Why by simply having a .mdf file in the app_data folder it is made accessible? Does placing a .mdf in the app_data folder does some kind of attachment? Do this pseudo attachment works only with the...
2
by: Artificer | last post by:
Why by simply having a .mdf file in the app_data folder it is made accessible? Does placing a .mdf in the app_data folder does some kind of attachment? Do this pseudo attachment works only with the...
5
by: wwwmike | last post by:
I have an asp.net 2.0 application where I move about 200,000 text files daily in and out. When using VS 2005 to debug my application everything works find if only a few files are in the folder....
0
by: PinkBishop | last post by:
Question regarding the ASP.NET 2.O Membership / Role component The following works fine on local machine and networked dev box. ASP.NET Membership protecting files and folders. I am trying...
4
by: Joey | last post by:
asp.net 2/C#/VS2005 I have a web app where I use a stream writer to create a CSV (text) file. I then use my code to save the file in the site's 'App_Data' folder, in a subfolder called 'Temp'....
3
by: =?Utf-8?B?RGF2ZQ==?= | last post by:
Is it always necessary to upload to the host, the App_Data folder if my db does not reside in that folder? -- L. A. Jones
6
by: Andy Fish | last post by:
Hi, From what I can gather, under Asp.Net 2.0, it is safe to put data and config files underneath the app_data in the web root and they will not be served directly to the browser from a URL. ...
1
by: =?Utf-8?B?U3VzaGlTZWFu?= | last post by:
I have problems with sharing files from this directory. It is system directory so I can't make dirrect links on files inside. For example /App_Data/my.mp3 www.example.com/App_Data/my.mp3 -...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.