Click here to Skip to main content
Click here to Skip to main content
Alternative Tip/Trick

Tagged as

Do not use "using" for WCF Clients

, 22 May 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
Or you can use T4 to generate a static class wrapper around the service. Then your call can look like this:SvcWrapper.Login(username, password);The full explanation and sample code is located here[^].
Or you can use T4 to generate a static class wrapper around the service. Then your call can look like this:
 
SvcWrapper.Login(username, password);
 
The full explanation and sample code is located here[^].

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Jeremy Hutchinson
Software Developer Winxnet
United States United States
No Biography provided
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
GeneralReason for my vote of 5 Great tip, thanks PinmemberPatrick Kalkman19-May-11 4:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141220.1 | Last Updated 22 May 2011
Article Copyright 2011 by Jeremy Hutchinson
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid