I currently do not use service links, because I feel that the code that it autogenerates is more weight than I need. Instead, I generate a proxy class by doing:
public class MyClient : ClientBase<IMyService>, IMyService
This is great for me, no proxy classes are generated, so I reuse the same data types. But this allows me to create synchronous client methods.
What do you need to create asynchronous versions? I took a look at the auto-generated code that the Service Reference will add, and it looks like soo muchplate. A ton of start / end / onbegin / oncomplete related arg datatypes events, etc. Etc.
Is there an easier way with fewer forests needed to create asynchronous client methods? My ultimate goal is to use the new async / wait C # 5 keywords for webservice clients
source
share