Resolve a System.Web.Services.WebService instance with Castle (for AOP purposes)
问题 I wanted to implement logging for an existing web service with an interceptor; in the project we're using a System.Web.Services.WebService class (those associated with asmx.cs files), but all the examples I've found online use the castle's wcf facility. Is there a way to register and resolve a System.Web.Services.WebService instance with Castle? 回答1: I doubt you can proxy an asmx WebService. IIRC the model for asmx web services is similar to ASP.NET WebForms, so the same limitations apply. 来源