Click to See Complete Forum and Search --> : Disable WebMethod in a WebService


elii123
July 6th, 2003, 02:41 PM
Hi,

I want to let my user the possibility to set in the
configuration file what webmethod should be disabled.
Any neat ideas ?

Remark:

May be I can do it with SoapExtension.
In the class inherited from SoapExtension I can check the
configuration with the code: ConfigurationSettings.AppSettings[]
And if the current intercepted WebMethod is disabled in the
configuration then I can throw an exception.


Anyone has a better idea ?