473,587 Members | 2,263 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Any way to exclude folder from watching by ASP.NET

I have a folder in my .NET applications where I keep images...
My problem is that if I create a subfolder there ASP.NET application
restarts...

any way to exclude that folder from being watch by ASP.NET so I could do
there anything I want?

Thanks
George.

Jun 27 '08 #1
2 1574
Any folder or content you place under the App_Data folder is excluded from
file change notification under ASP.NET.
-- Peter
To be a success, arm yourself with the tools you need and learn how to use
them.

Site: http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://ittyurl.net
"George Ter-Saakov" wrote:
I have a folder in my .NET applications where I keep images...
My problem is that if I create a subfolder there ASP.NET application
restarts...

any way to exclude that folder from being watch by ASP.NET so I could do
there anything I want?

Thanks
George.

Jun 27 '08 #2
Nope, not true. Just tested it.
Created folder and rename it in APP_DATA
Session was immediately reset.

George.

"Peter Bromberg [C# MVP]" <pb*******@yaho o.NoSpamMaam.co mwrote in message
news:43******** *************** ***********@mic rosoft.com...
Any folder or content you place under the App_Data folder is excluded from
file change notification under ASP.NET.
-- Peter
To be a success, arm yourself with the tools you need and learn how to use
them.

Site: http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://ittyurl.net
"George Ter-Saakov" wrote:
>I have a folder in my .NET applications where I keep images...
My problem is that if I create a subfolder there ASP.NET application
restarts...

any way to exclude that folder from being watch by ASP.NET so I could do
there anything I want?

Thanks
George.


Jun 27 '08 #3

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

Similar topics

2
2215
by: db2group88 | last post by:
we are using db2 udb v8.2 Express edition on windows 2003,we use third party vendor software to help replicate one server to another. Production server has three instances, each instances has one database under it. So we would see three folders on D drive: DB2 folder, TEST folder and EDU folder, each database has 5 tablespaces and they exist...
2
4426
by: Peter | last post by:
I have a site which uses forms authentication but I would like to exclude certain pages on the site from authentication. In other words I would like the user to be able to get to these pages without having to Log In. How do I change my web.config file to exclude certain files. <authentication mode = "Forms"> <forms name = ".ASPX"...
2
13649
by: Islam Elkhayat | last post by:
How can i exclude some files from the Form Authentication.. my welcome page and even custom error pages (404) is not working before authenticate. need help
4
2883
by: Brad | last post by:
I'm not one to rant or flame....so please excuse me while I do so for this once. I've now spent a bit of time working with VS2005 beta 2 to see how it functions for web development, especially how our current extensive number of .Net 1.1 web apps convert to it. After a week's time I dont's mind the converted app code that was broken and had...
1
1528
by: John Dalberg | last post by:
In VS 2003, I was able to exclude full folders from a project but I can't do the same in VS 2005. I can exclude files but not folders. I prefer to exclude at the folder level because the folder icon has visual indicator. John Dalberg
7
6348
by: CuriousGeorge | last post by:
I'm using aspnet_compiler to precompile my web app for deployment. Currently it copies all subfolders from the asp.net projects source folder to my destination folder. I have some files I do not want it to copy when deploying this app, is there any way to exclude them? I like to keep all files related to my projects within that projects...
0
1586
by: =?Utf-8?B?a2V2aW4=?= | last post by:
using VS2005, web application projects, web deployment projects My web installer builds from the output of the web deployment project. I end up with the obj folder in my web site. How do I use an exclude filter to stop this (obj does not work)? Better yet can I have the deployment project exclude files not part of the project. I assume...
0
150
by: George Ter-Saakov | last post by:
I have a folder in my .NET applications where I keep images... My problem is that if I create a subfolder there ASP.NET application restarts... any way to exclude that folder from being watch by ASP.NET so I could do there anything I want? George.
9
2908
by: Keith G Hicks | last post by:
I'm having a lot of trouble with "file in use" errors in my "folder watcher" project. Starting and stopping the watcher and reading my XML file work fine. Once the watcher is started, I'm reading the text files from the watched folder line by line into variables and then posting them to a SQL table. All of the code for the form is shown...
0
7915
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7843
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5712
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2347
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.