65.9K
CodeProject is changing. Read more.
Home

Do not use "using" for WCF Clients

starIconstarIconstarIconstarIconstarIcon

5.00/5 (2 votes)

May 19, 2011

CPOL
viewsIcon

8352

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[^].