in .net 3.5 Microsoft has introduced Applicaton Service through WCF. This includes Authentication Service, Role Provider Service and Profiler Service. Now I am having a requirement that force me to add one more Function in AuthenticationService class. But I have found that AuthenticationService Class have no public Constructor. Thus it cannot be inherited. So is there any other way, I can add one more function into System.Web.ApplicationServices.AuthenticationService class.
FYI. Extention Methods doesnt work in this scenario.
- Regards,
Bhagyesh Joshi, India.
Amit ChoudharyPosted Jan 20, 2011, 11:44 PM
Please go thorough below article if it can help...
http://msdn.microsoft.com/en-us/library/system.web.security.formsauthenticationmodule.aspx
Thanks
Bhagyesh JoshiPosted Jan 18, 2011, 8:53 AM
Amit ChoudharyPosted Jan 18, 2011, 7:09 AM
Try extension methods. see if it helps. i don't see if it won't work.
Thanks