472,951 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,951 software developers and data experts.

400+ web references in a project

I have a project that contains 400+ web references. When I go to do a new
build, I need to update all the web references to pick up any changes in the
web services they reference.

I select the top one, and shift-select the bottom one... then click
"update." Visual studio goes through every web reference in turn, doing an
update for each one. It also appears to spawn a background thread (or pool
of threads) for each update. When Visual studio says it's done with the
updates, it's not nearly done because the background threads are still
working hard to complete the updates. 100% cpu, and memory climbs up to
700mb or so.

So I wait, about two hours.

Then it's done and I can finally do the build.

Is htere anything I can do to speed up this process? I have to update every
web service... no choice there.

-Mark
Jan 25 '06 #1
4 1120
Oh, and one more thing. The only thing in this project is all these web
references... No actual code. Then we use the resulting DLL in a separate
project.

-Mark
Jan 27 '06 #2
You could alwayd create a script and manually call WSDL.exe.
--
Dale Preston
MCAD C#
MCSE, MCDBA
"marked23" wrote:
Oh, and one more thing. The only thing in this project is all these web
references... No actual code. Then we use the resulting DLL in a separate
project.

-Mark

Jan 29 '06 #3
I havn't done something like that before. Would such a script produce an
identical result? I mean, would the files be the same so that I could go
back to the IDE and compile?... and the project would never know the
difference?

"Dale" wrote:
You could alwayd create a script and manually call WSDL.exe.
--
Dale Preston
MCAD C#
MCSE, MCDBA
"marked23" wrote:
Oh, and one more thing. The only thing in this project is all these web
references... No actual code. Then we use the resulting DLL in a separate
project.

-Mark

Feb 8 '06 #4
There are several options for the scripting, everything from a simple
VBScript application up to a separate C# applicaton. You could create a text
file with all of the URLs to run WSDL against, or you could create a database
or XML file. Or even write an application to search for the URL in the
existing proxy class, and then use that URL to get WSDL.exe to get the
updated reference. All you have to do is replace the existing Reference.cs
files with the proxy class generated by WSDL.exe.

Then, as long as the web service interface hasn't had elements deleted
(interfaces can be added to but existing interface elements should never be
modified or deleted - hopefully), you should be able to compile your existing
code with the new proxy classes just fine.

I suggest looking up WSDL.exe in MSDN Library to see how to call the
application and specify namespaces and output files, etc. to make the output
proxy classes match your application framework.
--
Dale Preston
MCAD C#
MCSE, MCDBA
"marked23" wrote:
I havn't done something like that before. Would such a script produce an
identical result? I mean, would the files be the same so that I could go
back to the IDE and compile?... and the project would never know the
difference?

"Dale" wrote:
You could alwayd create a script and manually call WSDL.exe.
--
Dale Preston
MCAD C#
MCSE, MCDBA
"marked23" wrote:
Oh, and one more thing. The only thing in this project is all these web
references... No actual code. Then we use the resulting DLL in a separate
project.

-Mark

Feb 9 '06 #5

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

Similar topics

2
by: bccbccbcc | last post by:
Anyone know if there is an analagous statement for the "USE" statement used in SQL Server? I am trying to prevent from having to change all the references to a database in my sql statement. I...
5
by: Dan C Douglas | last post by:
I have just installed VS.NET 2003 on my computer. I have a project that I have been developing on VS.NET 2002. I haven't upgraded this project to VS.NET 2003 yet and I am still developing it in...
3
by: Luqman | last post by:
Will ASP.Net Applications run on IBM AS/400 Server? Best Regards, Luqman
1
by: Elias | last post by:
Hi, I have a project that calls a web service that is in another project, but on the same server. I make the reference to the web service using localhost (for example,...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.