Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to publish selected methods in web services c# i.e. in my web service there are 3 web method present. I want to handle this method manually like on running web service only web method i choose should be run or published only and rest shouldn't be published. for eg say method1 is selected to run only so on running web service only method1 should be published on localhost and rest methods shouldn't be published. Please give me some idea.
Posted
Comments
Sergey Alexandrovich Kryukov 24-Oct-14 14:28pm    
Have different service contracts for different situations, possible sharing the same implementation, through inheritance, helper classes or something else.

Note that if you need to detect from what part of network the HTTP request comes, you need to check it up on server side.

—SA

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900