473,513 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Open an aspx takes long time

Hi,

I am wondering why it takes a long time to open an .aspx file at the first
time in a browser.
Are there some methods to improve that speed? Given that we are using the
IIS5+VS2005 C#.
Thanks for help.
Jason
Jun 14 '07 #1
2 1540
This is likely because ASP.NET compiles the page at runtime (but only for the
first time after it has been modified). However, subsequent requests should
be faster. To avoid this 'lag' you might want to precompile the ASP.NET web
application.

"Jason Huang" wrote:
Hi,

I am wondering why it takes a long time to open an .aspx file at the first
time in a browser.
Are there some methods to improve that speed? Given that we are using the
IIS5+VS2005 C#.
Thanks for help.
Jason
Jun 14 '07 #2

"Jason Huang" <Ja************@hotmail.comwrote in message
news:O8**************@TK2MSFTNGP04.phx.gbl...
Hi,

I am wondering why it takes a long time to open an .aspx file at the first
time in a browser.
Are there some methods to improve that speed? Given that we are using the
IIS5+VS2005 C#.
Thanks for help.
As the other poster has indicated, if you're the first person who has used
the application, then it may be slow as it compiles the application at the
Web server. Some shops came up with a trick, to keep such applications
active on the Web server, so that the first user using the application would
not have to sit and wait as it compiled itself.

With VS 2005, you can publish the Web solution so that it makes complied
solution that doesn't need to be compiled when deployed to a Web server.

Jun 14 '07 #3

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

Similar topics

7
7587
by: Mark | last post by:
Hello; Here is what I wish to do: Click on a PDF link and have it open as a full screen window - not as a predetermined size. Sounds simple? I want to run the command from within the...
55
4596
by: Steve Jorgensen | last post by:
In a recent thread, RKC (correctly, I believe), took issue with my use of multiple parameters in a Property Let procedure to pass dimensional arguments on the basis that, although it works, it's...
3
1185
by: M. Shorman | last post by:
Form Takes a Long Time to Open when switching from code view to design view. This bug is discussed in this article: http://support.microsoft.com/default.aspx?scid=kb;en-us;901374 I believe I...
6
8560
by: B B | last post by:
Okay, here is what's happening: I have a reasonably fast laptop (1.4 GHz Mobile M, so comparable to 2.5GHz P4) doing .net development. Running Windows XP pro, SP2 IIS is installed and running...
4
1858
by: jaredea | last post by:
I have the following setup: SBS 2003 Server Windows 2003 Enterprise Server (setup as an Application Server) Windows XP Pro Desktop Both the Application server and desktop have Visual Studio...
4
1408
by: prashanth | last post by:
we have a Asp.net application which is used to generate the reports. In this application there are some reports which takes more than 50 minutes of the time.these reports works fine on development...
1
1463
by: Jason Huang | last post by:
Hi, In my C# Windows Form project application, it takes a long time to open a form at the first time, but takes short time to open it the second time. Would someone tell me how to speed up...
4
1851
by: Alex Maghen | last post by:
I've just moved to a new hosting company which provides me a "Virtual Dedicated Server" running Windows Server 2003/ASP.NET 2.0. My site is not pre-compiled and, at least for now, I'd prefer that...
10
2168
by: nagar | last post by:
I noticed this behavior in a C# application. For its nature the applications stays mainly minimized to the tray icons As soon as it's launched the application responds normally. After a while,...
0
7260
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
7384
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,...
1
7101
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...
0
7525
tracyyun
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...
0
5686
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,...
1
5089
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...
0
3234
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...
0
3222
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.