473,386 Members | 1,883 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,386 software developers and data experts.

Asynchronous web services VS 2005 v2.0

VMI
I posted this question several days ago, but I don't think I specified what
version of .Net I was using. I'm currently using VS 2005 framework 2.0.
Where can I find information on asynchronous web service calls for VS 2005?
I've found some articles, but they apply to VS 2003.
I wrote a web service that processes a file and stores it into a db. The
service takes about two minutes to run, and I want to be able to update the
aspx that consumes that service with something (maybe a counter). The web
service is working, but I want it to be more user-friendly.

Any help is appreciated.
Thanks.
May 5 '06 #1
3 1340
VMI,

You have to understand that web services in themselves are not
asynchronous. At their core level, they are atomic units of work that are
performed, or not performed.

Also, there is no callback mechanism for web services. If you want
something of that nature, then you have to implement it yourself.

In this scenario, you would have one web service which would take the
request for the operation. It would return a token and kick off the
processing.

You would then have another web request which would take the token and
then return the progress of the request. When the progress indicates that
the request is complete, you would have a third web request which would give
you the results (given the token).

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"VMI" <VM*@discussions.microsoft.com> wrote in message
news:D1**********************************@microsof t.com...
I posted this question several days ago, but I don't think I specified what
version of .Net I was using. I'm currently using VS 2005 framework 2.0.
Where can I find information on asynchronous web service calls for VS
2005?
I've found some articles, but they apply to VS 2003.
I wrote a web service that processes a file and stores it into a db. The
service takes about two minutes to run, and I want to be able to update
the
aspx that consumes that service with something (maybe a counter). The web
service is working, but I want it to be more user-friendly.

Any help is appreciated.
Thanks.

May 5 '06 #2
VMI
I've been trying to find information on how to do this. Do you suggest any
links that may help me? I've always wanted to learn about mutithreading but
sometimes it seems so complex.

Thanks.

"VMI" wrote:
I posted this question several days ago, but I don't think I specified what
version of .Net I was using. I'm currently using VS 2005 framework 2.0.
Where can I find information on asynchronous web service calls for VS 2005?
I've found some articles, but they apply to VS 2003.
I wrote a web service that processes a file and stores it into a db. The
service takes about two minutes to run, and I want to be able to update the
aspx that consumes that service with something (maybe a counter). The web
service is working, but I want it to be more user-friendly.

Any help is appreciated.
Thanks.

May 5 '06 #3
Look at the examples in the Composite Application Block
[
http://www.gotdotnet.com/codegallery...a-f2eafbf2653c ]

and SC-BAT
[
http://www.gotdotnet.com/codegallery...4-c08595821170 ]
I'm not sure if it will do what you want, but I think it might give you some
ideas.
"VMI" <VM*@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
I've been trying to find information on how to do this. Do you suggest any
links that may help me? I've always wanted to learn about mutithreading
but
sometimes it seems so complex.

Thanks.

"VMI" wrote:
I posted this question several days ago, but I don't think I specified
what
version of .Net I was using. I'm currently using VS 2005 framework 2.0.
Where can I find information on asynchronous web service calls for VS
2005?
I've found some articles, but they apply to VS 2003.
I wrote a web service that processes a file and stores it into a db. The
service takes about two minutes to run, and I want to be able to update
the
aspx that consumes that service with something (maybe a counter). The web
service is working, but I want it to be more user-friendly.

Any help is appreciated.
Thanks.

May 5 '06 #4

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

Similar topics

9
by: Michael Lindsey | last post by:
I need to write a server app to send images to client GUIs that are outside of the server's domain. The client will have the file system path to the image but can not access the file system. I am...
1
by: Ollie Riches | last post by:
I am trying to use asynchronous logging using MSMQ and I have configured the properties as defined in the help (see below) I don't understand where the property 'MsmqPath' is in the app.config for...
8
by: Trotsky | last post by:
Hi I have asked a similar question on the web services discussion group, but the question is a bit more related to ASP.Net. Basically I have a ASP.Net application that calls a web service...
1
by: Alexander Kaplunov | last post by:
I have two different scenarios: 1. I have an application that calls a web service and passes an object. Web Service takes that object and does some stuff with it, which could take...
1
by: org | last post by:
Hi, I'm developing a web service with should be used by an .NET CF2 client and an .NET 2.0 Windows client. I've tried to put all the connection logic into one class, which could be used in...
0
by: Raymondr | last post by:
Hi, First a brief description of out application: We have a webapplication which calls a couple of webservices during one request (postback). These calls to the webservices are made concurrent...
2
by: dba123 | last post by:
I need a way to do this insert below asynchronously and I'm pretty much lost at this point. Is there some example out there using Enterprise Library 2.0? We don't care about the return, it's...
8
by: Simon Gorski | last post by:
I have a large problem, and I believe there is not yet a way to solve this using IIS and ASP.NET. I hope someone has a solution which we couldn't find. The current situation When a user logs...
4
by: Morgan Cheng | last post by:
Since ASP.NET 2.0, asynchronous web service client can be implemented with event-based pattern, instead of original BeginXXX/EndXXX pattern. However, I didn't find any material about event-based...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...

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.