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";