Re: Proxy creation - why is there more than 1 way?
- From: "Dave Fancher" <dave@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 28 Aug 2005 15:23:37 -0500
Two reasons that I can think of:
One reason is that Visual Studio is just a tool for creating .NET apps.
..NET apps can be developed with software other than Visual Studio (see:
Notepad, etc...). The .NET Framework SDK provides the tools needed to build
..NET apps to those that do not have/can't afford Visual Studio.
The other reason really boils down to how you want to use the web service.
If you are only going to use the service in one application, adding a Web
Reference through Visual Studio will create the proxy class and, when the
project is compiled, the proxy class will be compiled into the project's
assembly rather than to its own. However, if you need to use the web
service from multiple applications, it would probably make more sense to
generate the proxy class manually with WSDL.exe and compile it to its own
assembly that can be referenced where it's needed.
HTH
----------------
Dave Fancher
http://www.davefancher.com
"Tim Zych" <nosapsmafasdfasdf@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:urBHqc%23qFHA.2596@xxxxxxxxxxxxxxxxxxxxxxx
> To create a web service proxy you can use wsdl.exe and vbc.exe using
> command
> line, then set a reference to the resulting dll, or alternatively add a
> web
> reference and let vs.net do it all for us.
>
> Does the manual command line way offer any advantages over the other? Why
> would a developer want to use command line to do that instead of the
> automatic way?
>
>
>
.
- Follow-Ups:
- Re: Proxy creation - why is there more than 1 way?
- From: Tim Zych
- Re: Proxy creation - why is there more than 1 way?
- References:
- Proxy creation - why is there more than 1 way?
- From: Tim Zych
- Proxy creation - why is there more than 1 way?
- Prev by Date: Re: Strange css problem (bug?)
- Next by Date: User controls and authentication problems...
- Previous by thread: Proxy creation - why is there more than 1 way?
- Next by thread: Re: Proxy creation - why is there more than 1 way?
- Index(es):
Relevant Pages
|