.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Asynchronous requests in WCF service implementation, any support like ASP.NET asynchronous pages?

Posted By:      Posted Date: September 17, 2010    Points: 0   Category :.NET Framework
What if my WCF service implementation executes some IO operation which may take a while, say 5 seconds.  Ideally I would like to return the thread executing this service request back to the pool to handle other incoming requests while I'm waiting on the IO.  ASP.NET introduced asynchronous pages to address this issue (http://msdn.microsoft.com/en-us/magazine/cc163725.aspx).  This allows for much better resource use and improves the responsiveness of the server.  Does the WCF hosting service allow for something similar? Thanks, Nick

View Complete Post

More Related Resource Links

Cutting Edge: Revisiting Asynchronous ASP.NET Pages


If you need to scale up an existing Web application, you should first look to asynchronous operations, says Dino Esposito. He explains how new features coming in ASP.NET MVC 2 make this easier.

Dino Esposito

MSDN Magazine April 2010

Wicked Code: Asynchronous Pages in ASP.NET 2.0


ASP.NET 2.0 is replete with new features ranging from declarative data binding and Master Pages to membership and role management services. But my vote for the coolest new feature goes to asynchronous pages, and here's why.

Jeff Prosise

MSDN Magazine October 2005

invoke an Oracle BPEL asynchronous web service from asp.net

I'm trying to invoke an Oracle BPEL web service from asp.net (vb) and having trouble getting it to work.  This is the portion of my code in the Page_Prerender event: Dim nlsWorkFlow As New soaslab.IIRWorkFlowProcessRequest Dim binding As New soaslab.IIRWorkFlowBinding nlsWorkFlow.input = Session("IIRID").ToString binding.Begininitiate(nlsWorkFlow, Nothing, Nothing) The web service doesn't launch though. I'm not a web service expert, so seeing if anyone else may know how to get this going.  I don't need to track the web service - just need to launch it.  

Sending Asynchronous emails from Asp.Net Web pages

Hey Guys, Here is my situation and hopefully someone could guide me in the right direction. I have a shared or static class in my website (App_Code folder) which has static methods to send emails asychronoulsy. So whenever there is an exception in any of my pages or classes I call these methods to send an email to support asynchronously. Now when there is an exception in a page, to route that exception asynchronously I need to have Async = "true" for that page. I have more than 50 pages and I don't want to set Async= "true" on every page as I read that it affects performance. So I was wondering if there is any way I could send emails asynchronously without having to set async = "true" on every page. Thanks for your time,   Uday.    

Do ASP.NET Crystal Reports support asynchronous processing

CR reports take too much of processing time for our web app. I have modified the process to generate reports in the background using ASP.NET asynchronus pages concept. But now, the reports do NOT render at all. This makes me wonder whether they support background processing at all.CR reports take too much of processing time for our web app. I have modified the process to generate reports in the background using ASP.NET asynchronus pages concept.But now, the reports do NOT render at all. This makes me wonder whether they support background processing at all.

Asynchronous Pages

The article Asynchronous Pages was added by codenickel on Saturday, October 30, 2010.

Asynchronous Pages: Objective: Improves theScalability of website & Efficient design for time consuming process.Note: It should not be confused with Asynchronous request from Client side.AJAX used to improve the end user interface,where as Asynchronous

using asynchronous pages to perform asynchronous data binding


hi all,
I have a question about using asynchronous pages to perform asynchronous data binding. I searched google and found this sample code here http://msdn.microsoft.com/en-us/magazine/cc163725.aspx
("Wicked Code: Asynchronous Pages in ...")

public partial class AsyncDataBind : System.Web.UI.Page
    private SqlConnection _connection;
    private SqlCommand _command;
    private SqlDataReader _reader;

    protected void Page_Load(object sender, EventArgs e)
        if (!IsPostBack)
            // Hook PreRenderComplete event for data binding
            this.PreRenderComplete +=
                new EventHandler(Page_PreRenderComplete);

            // Register async methods

jQuery $(document).ready() and ASP.NET Ajax asynchronous postback

Many call it the ASP.NET jQuery postback problem, but using the technique below should make it no problem anymore. $(document).ready() isn't called after an asynchronous postback. What this means? You lose the functionality that should be executed within $(document).ready() after an UpdatePanel rendered its contents after an asynchronous postback.

jQuery live() and ASP.NET Ajax asynchronous postback

The issue is that normally $(document).ready() is called when the DOM is ready to be manipulated. But this doens't happen after an ASP.NET Ajax asynch postback occurs.

This means that the initial jQuery bindings won't be automatically available after the asynchronous postback is over. I underline "automatically" here because my last post describes more possibilities, how this issue can be worked around.

Concurrent Affairs: Solving The Dining Philosophers Problem With Asynchronous Agents


We use the new Asynchronous Agents Library in Visual C++ 2010 to solve the classic Dining Philosophers concurrency problem.

Rick Molloy

MSDN Magazine June 2009

Windows with C++: Asynchronous WinHTTP.


This month's column explains how to use Windows HTTP Services, or WinHTTP, the new, powerful API for implementing HTTP clients.

Kenny Kerr

MSDN Magazine August 2008

.NET Matters: Asynchronous I/O with WebClient


In this month's installment of .NET Matters, columnist Stephen Toub answers reader questions concerning asynchronous I/O .

Stephen Toub

MSDN Magazine July 2008

.NET Matters: Asynchronous Stream Processing


This month Stephen Toub discusses asynchronous stream processing.

Stephen Toub

MSDN Magazine March 2008

Concurrent Affairs: Asynchronous Device Operations


Jeff Richter uses the AsyncResult class to implement the CLR's Asynchronous Programming Model to perform hardware device operations asynchronously.

Jeffrey Richter

MSDN Magazine June 2007

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend