wcf - Consuming a method not mentioned in OperationContract -


I have WCF services in which there are two methods, say go and save I only want to get the third party method Which will consume the service, while my application should be able to consume both gate and save.

Is there any way to consume a method not in the operation contract? I am thinking of confirming and granting the host name of the request, if it is the host name of my application

Why not create another service-communication , which has both received and set as operation contracts ? After this you can turn it off, which can get this second contract.

  [ServiceContract] Public Interface IFoo {[OperationContract] get zero (); } [ServiceContract] Public Interface IFooInternal: IFoo {[Operation Contract] Zero Set (); }  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -