Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Asynchronous Web Method

Thread Tools

Asynchronous Web Method

Simple Simon
Posts: n/a
Hi, I'm having a little trouble with the architecture of my Web App.
Bascially, I need to import some MLS data into a SQL Db from (3)
comma-delimited files, as well as, upload and extract the images for
the MLS listings from a zip file. These things I can do, but am
worried about server time-outs.

I've read some MSDN articles about using Server-Side Asynchronous Web
Methods to perform lengthy back-end operations:

I'm trying to figure out how to lay this out in my project. If I need
to have something like these ansynchronous web mehtods?

public string GetResidentialListings()

public string GetLandAndLotListings()

public string GetCommercialListings()

Then, I want to make Asynchronous Methods for each?

public IasyncResult BeginGetResidentialListings(AsyncCallback......)
public string EndGetResidentialListings(IAsyncResult......)

public IasyncResult BeginGetLandAndLotListings(AsyncCallback......)
public string EndGetLandAndLotListings(IAsyncResult......)

public IasyncResult BeginGetCommercialListings(AsyncCallback......)
public string EndGetCommercialListings(IAsyncResult......)

Then, should I have one "Master" WebMethod that calls all three?

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there "event-based" server side asynchronous web method pattern? Morgan Cheng ASP .Net 0 08-06-2007 01:47 AM
asynchronous call from synchronous web service method Secret Squirrel ASP .Net Web Services 1 10-07-2005 10:36 AM
Asynchronous Web Service Method Failure Turbo ASP .Net Web Services 16 12-21-2004 10:45 PM
VB Web Service Client that Makes an Asynchronous Method Call Vicky ASP .Net 0 02-16-2004 11:21 AM
Server-Side Asynchronous Web Method help Simple Simon ASP .Net 0 08-13-2003 04:35 AM