Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

1 WCF Service with 2 Method, I added 2 new Method more. How to Restrict 2 New method that for old customer. even old custmer should not be see.

user-image
Question added by Naresh kumar , Sr. Software Engineer , vayamtech
Date Posted: 2014/01/25
Gohar Sharf
by Gohar Sharf , Hadoop | Spark | Power BI | Teradata | Kanban | Certified Professional , Teradata

Just create Two different end poitns with two different service contracts.

Naresh kumar
by Naresh kumar , Sr. Software Engineer , vayamtech

Hi Asad Palekar,

 

I got the idea, first interface need to inherit and need to create2 end point in web config.

 

Regards,

Naresh kumar

 

Asad Palekar
by Asad Palekar , Senior Software Engineer , Musafir.com

Hi,

 

What you can do is split those2 methods in different interfaces. For eg: first2 methods can be a part of Interface1 Contract and other2 can be part of Interface2 Contract. Then you can create2 end points in web.config file for those2 difference users. 

 

Hope this helps. Let me know if there are concerns. 

 

Regards,

Asad Palekar

More Questions Like This