473,756 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

optimizing aspnet application - speed up

Hi

I noticed that all my ASPNET applications (+ MSSQL Server - I checked the
database and it is ok) run very slowly (especially from the beginning). I
made comparison to other applications (not mine) on another servers. I
wonder how could I boost the applications. The only thing I suspect is that
in configuration manager in my VS2003 I have got debug.

Could you tell me your suggestions please?

Regards

Darek T.
Apr 10 '06 #1
5 1508
Create a simple one line test.aspx page

<% response.write ("hello world") %>

and go from there

"Dariusz Tomon" <d.*****@mazars .pl> wrote in message
news:Ot******** ******@TK2MSFTN GP02.phx.gbl...
Hi

I noticed that all my ASPNET applications (+ MSSQL Server - I checked the
database and it is ok) run very slowly (especially from the beginning). I
made comparison to other applications (not mine) on another servers. I
wonder how could I boost the applications. The only thing I suspect is
that in configuration manager in my VS2003 I have got debug.

Could you tell me your suggestions please?

Regards

Darek T.

Apr 10 '06 #2
With VS 2005 you can minimize it a little, but the first time the page is
render in a session it will be a slower, after that it is pretty fast. To
speed things up a little, look into deploying your ASP 2.0 app using a
pre-compile approach

aspnet_compiler -v [Application Name} -p[Physical location] [Target}

Your aspx files are now just headers -- you can rename HTML, XML, XSD,
web.config and Text files to .aspx to take advantage of the obfuscating
also. Runs faster overall.

Rob

"Dariusz Tomon" <d.*****@mazars .pl> wrote in message
news:Ot******** ******@TK2MSFTN GP02.phx.gbl...
Hi

I noticed that all my ASPNET applications (+ MSSQL Server - I checked the
database and it is ok) run very slowly (especially from the beginning). I
made comparison to other applications (not mine) on another servers. I
wonder how could I boost the applications. The only thing I suspect is
that in configuration manager in my VS2003 I have got debug.

Could you tell me your suggestions please?

Regards

Darek T.

Apr 10 '06 #3
Nice joke ... really.

"Jeff Dillon" <je********@hot mail.com> wrote in message
news:OX******** ******@TK2MSFTN GP03.phx.gbl...
Create a simple one line test.aspx page

<% response.write ("hello world") %>

and go from there

"Dariusz Tomon" <d.*****@mazars .pl> wrote in message
news:Ot******** ******@TK2MSFTN GP02.phx.gbl...
Hi

I noticed that all my ASPNET applications (+ MSSQL Server - I checked the
database and it is ok) run very slowly (especially from the beginning). I
made comparison to other applications (not mine) on another servers. I
wonder how could I boost the applications. The only thing I suspect is
that in configuration manager in my VS2003 I have got debug.

Could you tell me your suggestions please?

Regards

Darek T.


Apr 10 '06 #4
There's lots of things you can take advantage of to make things run
faster. Are you using Page and Application Caching, effective
ViewState & Session usage

Things will always initially be slow. If the ASP.NET pages have
changed then they will need to be loaded into memory and re-compiled
(due to on-demand dynamic compilation)

If you're using IIS6 you can increase the recycle timeout to prevent
asp.net from being recycled and hence having to recomple after
restarting.

I've seen it suggested that you should use a script to automatically
call the popular pages in your application as soon as you deploy new
versions so that the first visitors don't experience the delay

Also, have you added Trace="True" to your Page Directive to get a
better idea of timings?

Finally, I've used ANTS Profiler from www.red-gate.com to get an exact
idea of which methods are taking time and how often they get called.
Redgate also have ANTS Loads to stress test web apps. The Profiler
saved me days in trying to tune .Net apps

Jason

Apr 11 '06 #5
I wasn't joking! This would tell if the server itself was slow. Start with a
simple page (basic troubleshooting ) then add your code till you find the
problem.

Jeff

"Dariusz Tomon" <d.*****@mazars .pl> wrote in message
news:Oy******** ******@TK2MSFTN GP05.phx.gbl...
Nice joke ... really.

"Jeff Dillon" <je********@hot mail.com> wrote in message
news:OX******** ******@TK2MSFTN GP03.phx.gbl...
Create a simple one line test.aspx page

<% response.write ("hello world") %>

and go from there

"Dariusz Tomon" <d.*****@mazars .pl> wrote in message
news:Ot******** ******@TK2MSFTN GP02.phx.gbl...
Hi

I noticed that all my ASPNET applications (+ MSSQL Server - I checked
the database and it is ok) run very slowly (especially from the
beginning). I made comparison to other applications (not mine) on
another servers. I wonder how could I boost the applications. The only
thing I suspect is that in configuration manager in my VS2003 I have got
debug.

Could you tell me your suggestions please?

Regards

Darek T.



Apr 11 '06 #6

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

Similar topics

9
3935
by: Tzu-Chien Chiu | last post by:
Hi, "What methods do you ever use to optimize the programs?" We're developing a graphics chip emulator in C++, but it's very slow for big scenes. Even though this is a cross-platform software, I only want to optimize it on the Win32 (Windows 2000/XP) platform. I've tried the following method to optimize it:
5
3532
by: ArShAm | last post by:
Hi there Please help me to optimize this code for speed I added /O2 to compiler settings I added /Oe to compiler settings for accepting register type request , but it seems that is not allowed and if I remove register type for "l" , time of generating codes doesn't change the original code makes some files , but I removed that section to make it simple for you to read please help me to optimize it for faster running
0
1076
by: sameer | last post by:
Hi All, We had developed a .Net application which has the following environment Uses the No touch deployment concept Uses framework 1.1 on client and server machine, Visual studio 2003, Sql server 2000, Deployed on a windows 2003 box. Reporting is done using Crystal reports 10 A third party component grid from DevExpress has been used on all the forms
2
1661
by: sameer | last post by:
Hi All, We had developed a .Net application which has the following environment Uses the No touch deployment concept Uses framework 1.1 on client and server machine, Visual studio 2003, Sql server 2000, Deployed on a windows 2003 box. Reporting is done using Crystal reports 10 A third party component grid from DevExpress has been used on all the forms
0
1033
by: sameer | last post by:
Hi All, We had developed a .Net application which has the following environment Uses the No touch deployment concept Uses framework 1.1 on client and server machine, Visual studio 2003, Sql server 2000, Deployed on a windows 2003 box. Reporting is done using Crystal reports 10 A third party component grid from DevExpress has been used on all the forms
4
1657
by: Michał Januszczyk | last post by:
What may be the reason for the following behavior: There is an asp.net application. The application is quite complex. Sometimes user request processing lasts long (even 1 ). When user postbacks some data or enters the page for the first time, his browser is not freezed. Whenever the user wants, he can stop, refresh or go somewhere else, whilst the request is being processed.
24
3162
by: Richard G. Riley | last post by:
Without resorting to asm chunks I'm working on a few small routines which manipulate bitmasks. I'm looking for any guidance on writing C in a manner which tilts the compilers hand in, if possible, a compiler/underlying processor independant way : althought to be fair I cant see this stuff on anything other than x86, but who knows. I found some ok info here: http://www.eventhelix.com/RealtimeMantra/Basics/OptimizingCAndCPPCode.htm...
4
2438
by: Jason Huang | last post by:
Hi, I am thinking in comparing developing speed between C# Windows Form and C# Web Form applications. Assuming the scenario is that we have 2 C# coding engineers, engineer A has 2 years experience on developing C# windows form, engineer B has 2 experience on developing C# web form, B also knows Javascript as well. They both has the same apprehesnion for the Database things, they all devote themselves completely to their developing...
1
1354
by: Jason Huang | last post by:
Hi, I tested my ASPNet web application and then found it takes a long time to start at the first time. So I surfed the web and found using aspnet_compile method. When I execute the aspnet_compile -v /MyWeb, the compilation is OK and returns no error. But I found the speed didn't get promoted much, it still took long time to open the application at the first time. Would someone give me some advice?
0
9255
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,...
0
10014
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
9819
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
9689
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 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...
0
8688
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5119
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
5289
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3780
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
2
3326
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.