473,795 Members | 2,854 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[AJAX ASP.NET]Performance

Hi,

I ask myself: if an AJAX aspx page doesn't need anything on the IIS server
and only uses Web services from inside the Javascript to fetch data, is it
necessary to keep a connection/session with IIS ? I guess not !

In that case, how can we "delete" the session with that client in IIS ? I
don't know much in that domain, but I guess that keeping HTTP connections
alive with clients must be resource consuming. So AJAX could save the server
resources.

Oriane
Jan 16 '08 #1
2 1090
On Jan 16, 1:50*am, "Oriane" <ori...@noemail .noemailwrote:
Hi,

I ask myself: if an AJAX aspx page doesn't need anything on the IIS server
and only uses Web services from inside the Javascript to fetch data, is it
necessary to keep a connection/session with IIS ? I guess not !

In that case, how can we "delete" the session with that client in IIS ? I
don't know much in that domain, but I guess that keeping HTTP connections
alive with clients must be resource consuming. So AJAX could save the server
resources.

Oriane


Please be more precise. Can you clarify the "connection/session with
IIS" that you are talking about?

IIS and HTTP has no concept of sessions, so if you are asking about
how to "delete" a session, you should ask that in a forum dedicated to
the particular implementation of AJAX on ASP.Net.

Web Services are just SOAP calls made over HTTP to a web server. You
say that AJAX needs to fetch data from it, so contrary to your first
sentence, it would seem that AJAX aspx page *does* need stuff on the
IIS. Please clarify what you are asking to yourself.

Can you identify or measure the "connection/session with IIS" that is
unnecessarily kept open and should be "deleted".

FYI: HTTP is stateless. Keeping a connection alive is called "HTTP
KeepAlive" and is mutually negotiated between a client and server.
Thus, just because a server and client are conducting request/response
over HTTP, it does not mean that there are connections being kept open
unnecessarily.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Jan 16 '08 #2
Hi Peter,
"Peter Bromberg [C# MVP]" <pb*******@yaho o.NoSpamMaam.co ma écrit dans le
message de news:00******** *************** ***********@mic rosoft.com...
>I think you may be harborin some misconceptions here. Using AJAX with an
ASP.NET application still requires all the IIS infrastructure. I think you
are overly concerned with resource usage. IIS is already very efficient.
Just
focus on getting your application to work well.
Yes I think you are right. However, as Dino Esposito states in his article
from MSDN Magazine (Cutting Edge: AJAX Application Architecture, Part 1),
"The ability to take AJAX applications offline is a challenge for many
software vendors"...

Jan 16 '08 #3

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

Similar topics

0
936
by: BobJonesGA | last post by:
Hello. I am having a problem with the .NET Performance Counters or perhaps with perfmon. The problem is I can see any of the Counters fine when I am doing live monitoring but when I log them to a file instead they all show up as "0" or " ". This happens with a binary log or a text log. It is very clear in the text log - a line gets written for each sample interval and each value on the line is messed up. Does anybody know what might be...
2
2147
by: ke zhang | last post by:
Hi, We are building a portal web site using ASP.NET, the peak number of users is expected to be around 1 million. Is there good information about ASP.NET performance benchmark? Is there any recommendation like: what would be a good size of a page, how large viewstate can be and how many datagrid controls can be used on a single page and etc, while ASP.NET is under heavy load? Greatly appreciated for any...
4
1237
by: Ivan Demkovitch | last post by:
Hi! I wonder if I get any performance hit when I do following with some of my user controls: I don't have HTML section, but instead, I use code like; this.Controls.Add(new LiteralControl("<div id=\"MdlHd\">" + article.Title + "</div>")); to populate HTML.
2
1527
by: news | last post by:
How can better .NET performance be found? DETAILS 1. MS SQL, C#, .NET, Windows, dedicated server - 1GByte. 2. I run update jobs for word indexes using 200,000 database accesses, but they take 4 hours to run. I am looking for a CPU/memory guide for .NET or middleware software to boost performance.
7
4814
by: James | last post by:
Hi Has anybody had any experience of ASP.Net performance counters not updating. In the performance monitor application when I try to add the groups ASP.NET and ASP.NET Applications the counters all show 0. In addition, ASP.NET Applications does not show any of the ASP.NET instances that are running on the computer. The other counters for example % processor time work fine. The problem machine is a test server running Win2003. ...
2
1531
by: Jimmy | last post by:
Hi all I have tried this to enable asp.net performance monitoring but in step 3 I do not see the 'View Report'...? To view the available ASP.NET counters on a Windows XP computer with IIS installed 1.. From the Start button, click Run. 2.. Enter perfmon in the Open text box and then click OK. 3.. In PerfMon click View Report.
0
1322
by: bimalendug | last post by:
Hi All, I'm using the .NET performance counters to calculate the network utilization. But this value exceeds 100%. In most of the cases, it is very similar to the one shown in the task-manager. But when I try to measure the network utilization with a particular utility that sends large data, then the values that I get exceed 100%. Even in the task-manager it shows similar graph (graph goes up above the 100% line and disappears and then...
3
1879
by: hpw | last post by:
Hi all, i'm looking for a good book about .net Performance Tuning. Things that should be covered by this book: - Glean information about your program's behavior from profiling tools - Identify bottlenecks before tuning - Optimization when dealing with objects - Optimize I/O behavior
0
945
by: Object01 | last post by:
We've setup a new machine running Windows Server 2003 x64 and cannot get any meaningful measurements out of Performance Monitor with respect to .NET. All .NET performance counters seem "stuck"; they never change. For example, Gen 0 GC Collections is always 15, Gen 1 GC Collections is always 7, and Allocated Bytes/Sec is always 0. No matter what .NET apps we run, they never change, and the instances available for monitoring are always...
10
3081
by: Zytan | last post by:
I made a program using the Timer class, and I start the timer with Timer.Start(), but don't stop it with Timer.Stop(), and I assumed this was ok, but, Process Explorer informs me, after running it about 10 or 20 times: --------------------------- Process Explorer --------------------------- The .NET performance counters on this system are corrupt. Run Exctrlst from the Microsoft Windows Resource Kit to repair them.
0
9673
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9522
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
10448
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
10167
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
9046
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
6784
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
5440
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...
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2922
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.