Last post Oct 18, 2017 05:01 AM by Edward Z
Oct 17, 2017 05:17 AM|shishir1986|LINK
Oct 18, 2017 05:01 AM|Edward Z|LINK
Could you share us a simple webservice.sln project and an implementation of putting audtitMethod in all the Save and Update methods IN EACH ASMX.CS FILES? Then we could try to simplify it.
It seems you have multiple asmx web service in your service project solution, and you want to add a common method for every web service. If so, you could add a basic service class like below, and inherit it from basic service. Then the added service will
contain the basic method.
public class BasicService : System.Web.Services.WebService
public string CommonFun()
return "Common Function";
public class WebService1 : BasicService
public string HelloWorld()
return "Hello World";