i have an application consisting of two asp.net projects. And i have have a BasePage which inherits System.Web.UI.Page and have the class some core logic which i require in all of my pages(Implemented in BasePage.cs). So all my pages inherit this BasePage.cs . Now can an Webservice inherit the same class apart from the normal webservice class System.Web.Services.WebService
i have an application consisting of two asp.net projects. And i have have a
Share
Multiple inheritance is not supported in the .NET framework. And even if it was, this kind of implementation would hardly be called good practice.
All methods that are called by the web pages as well as the webservice pages should be put into extra classes.