Calling a WCF Service without a Service reference -


i have project has service reference wcf service. want invoke service in project b without service reference. understand, service reference way generate proxy , config , not used @ run-time. copied proxy class , node project project b.

can create instance of proxy class in project b , expect directly use config. items , connect service without else? (i cannot try right now)

short answer yes.

as long have interface, way connect service, can create channel , talk service without having reference.

the reference makes easier develop against.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -