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 2 1292
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Daniel |
last post by:
Does anyone know how this can be done?
Thanks
|
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?
|
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.
|
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. ...
|
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...
| |
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");
|
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
|
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???
|
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
|
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
|
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...
| |
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
|
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,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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...
|
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();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
| |