RE: Async Programming in asp .Net page as Windows Forms
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 08/13/04
- Next message: Steve C. Orr [MVP, MCSD]: "Re: ASP v2 & 3-tier or 2-tier"
- Previous message: rob: "ASP v2 & 3-tier or 2-tier"
- In reply to: SalamElias: "Async Programming in asp .Net page as Windows Forms"
- Next in thread: SalamElias: "RE: Async Programming in asp .Net page as Windows Forms"
- Reply: SalamElias: "RE: Async Programming in asp .Net page as Windows Forms"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 13 Aug 2004 05:50:41 GMT
Hi SalamElias,
As for the async processing in ASP.NET you mentioned ,here are my
understandings:
The ASP.NET web application is quite different from the desktop
applications(winform) which is request/response based, this is due to the
connectionless of the HTTP protocal. A request is processing on the server
side and when all the output is generated , webserver send back the
response content back to client. So when the clientuser is viewing the
response output, there is not relation with the serverside. And those async
concepts in asp.net is mostly serverside async , which all need to be
finished before the response be sent to the client, here are some
#Use Threads and Build Asynchronous Handlers in Your Server-Side Web Code
http://msdn.microsoft.com/msdnmag/issues/03/06/Threading/
#At Your Service: Performance Considerations for Making Web Service Calls
from ASPX Pages
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/h
tml/service07222003.asp
#Communicating with XML Web Services Asynchronously
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconinvokingwebservicesasynchronously.asp
IAlso, if you do want to let the multi-part of a web page be displayed
asynchronisely to the end user, you can consider Bruce's suggestion that
use the <iframe> element which can help embed multi inner page in a parent
page so that different inner page can be loaded separately.
In addition, there will come a new good feature-----script call back-----
in ASP.NET2 which will help call back serverside handler from clientside
via script. However , this feature is still very restricted for complex
work. Here is a tech article on this, you may take a quick bit on it:)
#Script Callbacks in ASP.NET
http://msdn.microsoft.com/msdnmag/issues/04/08/CuttingEdge/default.aspx
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
- Next message: Steve C. Orr [MVP, MCSD]: "Re: ASP v2 & 3-tier or 2-tier"
- Previous message: rob: "ASP v2 & 3-tier or 2-tier"
- In reply to: SalamElias: "Async Programming in asp .Net page as Windows Forms"
- Next in thread: SalamElias: "RE: Async Programming in asp .Net page as Windows Forms"
- Reply: SalamElias: "RE: Async Programming in asp .Net page as Windows Forms"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|