visual studio 2008 - Why does my service reference only generate asynchronous methods? -


Service reference for web service in VS2008 (not a web context) I have a web service that I did not write I

The reference works, but only asynchronous versions of each method are available to use for me.

In the "Configure Services Reference" dialog, "Generate Asynchronous Operations" is checked and grayed up First of all, I think in addition to this box, async methods to build, instead , Check blocking methods Second, I have never shrugged it before.

I have experience writing both WCF and ASMX-era services on both sides and have never seen before

thanks

I'll be ready to bet ten up-votes because it is doing this for you in Silverlight. Unfortunately I do not have the tools installed, so I can not test this principle, but I know that service calls from Silverlight can only be asynchronous, maybe you are using a Silverlight Project template and there are service references Are you Visual Studio can be smart enough to know about not creating interception methods in this situation.

For reference:


Comments