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

ASP.NET vs console web service clients

Hi -

I have 1 console application and 1 web application. Both talk to a web
service and I also have some timing code in it. They have the same WSDL
and generate the same MyService.cs.

* Question 1:
For console application, I can see the first request takes 1.6 seconds
to get response, and after that it's about 0.1 or less per request.

But for web application, there is no first peak. Is it because asp.net
initializes anything??
* Question 2:
I then try to do the request async. With asp.net it's not too hard.

For console application it's a bit faster then to do it sync.

But for web application, do it async is significant faster!!
Does anyone know why? Why the same code behaves differently between
console and web apps?
Thanks!!

Jul 12 '06 #1
0 860

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

Similar topics

1
by: Liza | last post by:
hi guys, call me dumb but how do i recognise a webservice ?? if i go to a web site and the information i put into some fields are sent to a database? is that database itself a webservice? ...
0
by: Daniel O'Brien | last post by:
Hi - any help with this would be greatly appreicated - it has already had me confused for a good few hours! I am using Visual Studio 2003 and the .NET framework 1.1. I have a C# Windows...
3
by: jabailo | last post by:
I am running the following remoting server as a Console application, and I want to convert it to a Windows Service. static void Main(string args) {...
2
by: R.A. | last post by:
Hi, I have a web service that process a client call. When a client makes a call to the web method the method needs to query some data from a client_A and return the data to the calling client_B....
3
by: danavni | last post by:
i need to build a service that will accept incoming TCP/IP connections. the service should act like a "HUB" where on one side clients connect to it and stay connected for as long as they like and...
9
by: Mike | last post by:
Hi, I have the following problem: I have a singleton class that I want to access from asp.net application. The trick is, that I want to create it (Singleton.GetInstance() for the first time) in...
0
by: lyl209 | last post by:
Hi - I have 1 console application and 1 web application. Both talk to a web service and I also have some timing code in it. They have the same WSDL and generate the same MyService.cs. *...
0
by: satish kumar | last post by:
Hello! We have a situation where in we're developing a WCF Intermediatery service, which would handle calls between Callers (could be asp.net wcf clients) and External Services (mostly WCF...
2
by: =?Utf-8?B?UGllcnJl?= | last post by:
I recently deployed a Web Service (IIS .0 on Windows Server 2003). About 400 clients are using it to synchronize some datas from clients database to web server database, so they are calling web...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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.