473,692 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to prevent on-demand cpompilation aufter fileupload in a temp. Directory

Hi,

for some other reasons, where i have no influence and no possibility to
change it; it is necessary to upload files tempoarily to a temp-folder in my
web-project. Allthough the files are deleted a frew seconds after uploading,
ASP.net compiles the whole web at the first time a aspx-File ist requestet
via Browser - and this takes about 10-30 Seconds.

Is there a possibility, how i can tell ASPNET not to compile the web if
something hast changed in the /upl/temp - Folder?

I'm using W2K3-Server, ASP.NET 2.0

Tnx,
Stefan
Feb 26 '08 #1
2 1295

move the temp folder under the app_data folder where it belongs. app_data is
the only folder not monitored by asp.net for recompile (or convert to fat32
which doesn't support file watches).

-- bruce (sqlwork.com)
"Mayer, Stefan" wrote:
Hi,

for some other reasons, where i have no influence and no possibility to
change it; it is necessary to upload files tempoarily to a temp-folder in my
web-project. Allthough the files are deleted a frew seconds after uploading,
ASP.net compiles the whole web at the first time a aspx-File ist requestet
via Browser - and this takes about 10-30 Seconds.

Is there a possibility, how i can tell ASPNET not to compile the web if
something hast changed in the /upl/temp - Folder?

I'm using W2K3-Server, ASP.NET 2.0

Tnx,
Stefan
Feb 26 '08 #2
a short question to the monitoring.
what is monitored?
* the Files od the Folders?
I ask because - when the files are monitored, i could prevent recompilation
when I delete the temp files (they are coming from an other system and are
not processed by asp.net) immediately and i don't have to change the whole
file structure.

Tnx
Stefan
"bruce barker" <br*********@di scussions.micro soft.comschrieb im
Newsbeitrag news:1C******** *************** ***********@mic rosoft.com...
>
move the temp folder under the app_data folder where it belongs. app_data
is
the only folder not monitored by asp.net for recompile (or convert to
fat32
which doesn't support file watches).

-- bruce (sqlwork.com)
"Mayer, Stefan" wrote:
>Hi,

for some other reasons, where i have no influence and no possibility to
change it; it is necessary to upload files tempoarily to a temp-folder in
my
web-project. Allthough the files are deleted a frew seconds after
uploading,
ASP.net compiles the whole web at the first time a aspx-File ist
requestet
via Browser - and this takes about 10-30 Seconds.

Is there a possibility, how i can tell ASPNET not to compile the web if
something hast changed in the /upl/temp - Folder?

I'm using W2K3-Server, ASP.NET 2.0

Tnx,
Stefan

Feb 27 '08 #3

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

Similar topics

5
2317
by: Daniel | last post by:
Does anyone know how this can be done? Thanks
14
5366
by: Ludwig77 | last post by:
I read that there are some tags that can be entered in a web page's meta tags in order to prevent web bot searching and indexing of the web page for search engines. What is the tagging that I would need to use?
3
1692
by: Tony Maresca | last post by:
Hi. I have a class derived from a UserControl, that I want to allow others to derive controls from. I don't want them to design the base class (which is derived from a UserControl). I know that I can prevent the control from being designed by making it not the first class in the code file, but is there another more 'official' way to do this via attributes.
2
13269
by: techfuzz | last post by:
I scoured this group and others looking for the best way to disable a button after the first click to prevent multiple submissions, but never did find anything that worked like they said it would. I went ahead and wrote my own bit of code so I'm sharing it here for everyone. Even though it doesn't really disable the button by greying it out, it prevents the multiple submissions which it what I was attempting to prevent all along. ...
9
2279
by: Daniel Walzenbach | last post by:
Hi I am faced with the following problem: I have a page (let’s call this page page1.aspx) containing some TextBoxes and a hyperlink which opens another page (let’s call this page page2.aspx) as a popup using either window.open or window.showModalDialog. Since I want to warn the users of my application when they try to close page1.aspx and have changed the values in the meantime I thought about using the “onbeforeunload” event of the...
0
1534
by: Frankie | last post by:
When I want to prevent a page from being cached, I have been using the following directive: <%@ OutputCache Location="none" %> I have also seen a few other methods recommended to prevent page caching. like these... Response.Cache.SetCacheability(HttpCacheability.NoCache) Response.Cache.SetNoStore() Response.AppendHeader("Pragma", "no-cache");
9
1797
by: Larry Woods | last post by:
I have a method in my base class that I want ALL derived classes to use. But, I find that I can create a "Shadow" method in my derived class that "overrides" the method in my base class. Can't figure out what attribute to put on the base class method to prevent this. TIA, Larry Woods
16
6260
by: MLH | last post by:
If I give someone a runtime app, they can open the database window by pressing the F-11 key. How to prevent???
5
2193
by: NEWSGROUPS | last post by:
I have some users that continuously end task on my database when a search takes to long. In turn corrupting the application. Is there any way to prevent this? The Microsoft KB for Methods That Can Be Used to Prevent Corruption suggests not allowing Task Manager to shut down the application but gives no way to prevent this. Any suggestions would help. Thanks in advance, Mark
4
18135
by: =?Utf-8?B?QXNhZg==?= | last post by:
Hi, How can I prevent from an ASP.NET page to resend all the data again when the user press the Refresh button or F5 on the browser? Thanks in advanced, Asaf
0
8611
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9090
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8812
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7639
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6462
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5822
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4329
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4564
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
1962
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.