Can postsharp aspects be used on website projects?
问题 I'm trying to use a PostSharp aspect in a website project in VS2012. It seems to work fine when I set up a web application project, but when I apply the aspect attribute to a method on a page in the website project it compiles and runs fine, but my OnMethodBoundaryAspect never gets hit. I tried setting breakpoints and logging from the aspect methods. Does PostSharp support website projects? if so, what am I missing? Please no comments about why I want to use a website instead of a web app.