473,324 Members | 2,268 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,324 software developers and data experts.

VS 2008, Web service and Extremely Slow Build

I have a Web Service with approx 90 functions.
I had, or still have, a VS 2005 Windows app that has a reference to the Web
Service and when building the Windows app it takes a few seconds to build
the release or debug.

Create a VS 2008 Windows app with only 1 form and a "hello world" button on
the form, and building is blinding fast.
Now add a Web Reference to the Web Service, and the app takes longer than 1
minute to build, release or debug.
Make one change to the source file of the form, for example add a comment
line, and the build takes a minute again.

I don't know what it is doing, as during the build the CPU usage is 25% or
lower, RAM usage less than 50% of the RAM (quad AMD with 3 gig RAM).

Jan 31 '08 #1
3 2052
Well, I don't know the cause here - but perhaps create the
web-reference code manaually (not inside VS) via wsdl.exe,
wse3wsdl.exe or svcutil.exe? Then it doesn't recreate until you want
it to...

If the web-service is in the same sln, you might also want to try
using a web-application project for the web-service; in my experience
these buold a lot quicker than the web-site equivalents. (this only
applies if the time is being used building the web-service).

Marc
Jan 31 '08 #2
"Chris Botha" <aa*@aaa.aaawrote in message
news:OZ****************@TK2MSFTNGP05.phx.gbl...
I don't know what it is doing, as during the build the CPU usage is 25% or
lower, RAM usage less than 50% of the RAM (quad AMD with 3 gig RAM).
I don't have an answer to the main question (why the build is so slow),
but the fact that CPU usage is 25% and you have a quad CPU seems to indicate
that the compiler is running a single thread, so it is only using one of
your four CPUs, and it is working at 100% of the capability of that one CPU.
So yes, it is busy during all the time that your compilation is taking.

Jan 31 '08 #3
Yup, on a single core PC the CPU runs at 100% performing the same exercise.
"Alberto Poblacion" <ea******************************@poblacion.orgwro te
in message news:#4**************@TK2MSFTNGP05.phx.gbl...
"Chris Botha" <aa*@aaa.aaawrote in message
news:OZ****************@TK2MSFTNGP05.phx.gbl...
>I don't know what it is doing, as during the build the CPU usage is 25%
or lower, RAM usage less than 50% of the RAM (quad AMD with 3 gig RAM).

I don't have an answer to the main question (why the build is so slow),
but the fact that CPU usage is 25% and you have a quad CPU seems to
indicate that the compiler is running a single thread, so it is only using
one of your four CPUs, and it is working at 100% of the capability of that
one CPU. So yes, it is busy during all the time that your compilation is
taking.
Jan 31 '08 #4

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

Similar topics

0
by: Andrew Yinger | last post by:
Hi. I have recently encountered a serious problem with mysql: the mysqld-nt service pegs the processor at 100% after I start it. I noticed this right after a crash of the service, and the size...
5
by: John Bailo | last post by:
I wrote a webservice to output a report file. The fields of the report are formatted based on information in an in-memory XmlDocument. As each row of a SqlDataReader are looped through, a...
0
by: Imran Aziz | last post by:
Hello All, I have developed an ASP.net application using the latest beta release (version 2 beta 2)of dot net using Visual studio .net express edition. I have been testing the application using...
14
by: Steve McLellan | last post by:
Hi, Sorry to repost, but this is becoming aggravating, and causing me a lot of wasted time. I've got a reasonably large mixed C++ project, and after a number of builds (but not a constant...
12
by: Noel | last post by:
Hello, I'm currently developing a web service that retrieves data from an employee table. I would like to send and retrieve a custom employee class to/from the webservice. I have currently coded...
2
by: tormod | last post by:
I'm using Visual Studio 2005 professional edition and try to build a web site built in c#. The solution consists of about 20 class library projects and one web site. The web site references the...
6
by: DCC-700 | last post by:
I am running VB for ASP.Net in VS.Net 2003 and am experiencing extremely slow response in the ide at times and the debugger. Below is additional detail on the problem. Any thoughts are much...
3
by: Chris Botha | last post by:
I have a Web Service with approx 90 functions. I had, or still have, a VS 2005 Windows app that has a reference to the Web Service and when building the Windows app it takes a few seconds to build...
1
by: Puja Patel | last post by:
hi all, am not sure if this is the right place for this post. I created a website on .net framework 2.0 using visual studio 2005 and web service software factory. I created all my business...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.