473,385 Members | 1,409 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,385 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 3287
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...
5
by: coldpizza | last post by:
I am trying to fill a sqlite3 database with records, and to this end I have written a class that creates the db, the table and adds rows to the table. The problem is that the updating process is...
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...
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...
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:
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...
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...

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.