WCF Service References--who writes them 'manually'?

  • Thread starter Thread starter RayLopez99
  • Start date Start date
R

RayLopez99

I was watching a video on a site called "DNR TV" and noticed one where the Service References in WCF are written out by hand instead of relying on Visual Studio's built in procedure. It struck me as ludicrous to do it that way--why suffer though writing the lines of code rather than rely on an "automagical" technique?

Does anybody do this? Yes you can brag about how you walked though a mile of snow to go to school as well, feel free.

RL
 
I was watching a video on a site called "DNR TV" and noticed one
where the Service References in WCF are written out by hand instead
of relying on Visual Studio's built in procedure. It struck me as
ludicrous to do it that way--why suffer though writing the lines of
code rather than rely on an "automagical" technique?

Does anybody do this?

You mean either write the stub or something equivalent instead
of having the stub be generated?

I have never done it myself or seen it done.

WCF offers ways to hook into the call chain.

The only reason I could imagine for wanting to do something
manual would be in case of an invalid WSDL.

Arne
 
I was watching a video on a site called "DNR TV" and noticed one where the Service References in WCF are written out by hand instead of relying on Visual Studio's built in procedure. It struck me as ludicrous to do it that way--why suffer though writing the lines of code rather than rely on an "automagical" technique?
The automagic solution works well but there is much value in having at least an
abstract understanding of how things work under the hood. You might be surprised
at the number of people who regularly write code using only command line tools.
It might seem ludicrous but it's too much of a dependency for someone to NEED a
specific IDE and its wizards to 'write' code.
Does anybody do this? Yes you can brag about how you walked though a mile of snow to go to school as well, feel free.
Yep and school was up hill both ways.

regards
A.G.
 
The automagic solution works well but there is much value in having at least an
abstract understanding of how things work under the hood. You might be surprised
at the number of people who regularly write code using only command line tools.
It might seem ludicrous but it's too much of a dependency for someone to NEED a
specific IDE and its wizards to 'write' code.

Visual Studio wraps it in a wizard.

But the stub generation is available command line:

svcutil

(and msbuild and nant can call this via Exec/exec task)

Arne
 
I was watching a video on a site called "DNR TV" and noticed one where
the Service References in WCF are written out by hand instead of
relying on Visual Studio's built in procedure. It struck me as
ludicrous to do it that way--why suffer though writing the lines of
code rather than rely on an "automagical" technique?
Does anybody do this? Yes you can brag about how you walked though a
mile of snow to go to school as well, feel free.

Some of my worst programming problems have been with a
misbehaving IDE. Beware the IDEs of Coding.

Sincerely,

Gene wirchenko
 
Back
Top