Last active
November 13, 2015 16:25
-
-
Save fabiomarreco/ef63ddfbc35675bf11cc to your computer and use it in GitHub Desktop.
Creating new Service Reference from Known Service Interface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface IServiceInterfaceChannel : IServiceInterface, IClientChannel | |
{ | |
} | |
class Program | |
{ | |
void Main() | |
{ | |
var factory = new ClientFactory<IServiceInterfaceChannel>(); | |
IServiceInterfaceChannel client = factory.CreateChannel(); | |
client.ExecuteServiceMethod(); | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see...
http://stackoverflow.com/questions/8361646/create-wcf-client-without-auto-generated-proxy