473,396 Members | 2,020 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

[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 1075
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*******@yahoo.NoSpamMaam.coma écrit dans le
message de news:00**********************************@microsof t.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
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...
2
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...
4
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...
2
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...
7
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...
2
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...
0
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....
3
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 -...
0
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";...
10
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
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,...
0
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...

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.