Hi there,
I am building a custom minifier and bundler using less and need Dynamicweb to skip certain paths. I currently have the following in my Global.asax:
if (string.IsNullOrEmpty(Request.AppRelativeCurrentExecutionFilePath) || !Request.AppRelativeCurrentExecutionFilePath.ToLower().Contains("bundle"))
{
Dynamicweb.Frontend.GlobalAsaxHandler.Application_AuthenticateRequest(sender, e);
}
This works great and bypasses URLs with bundle in their name.
But is there another way to do this using a subscriber or something like that maybe? I'd like to create a drop-in DLL that I can just add to a project without writing additional code in Global.asax
Thanks,
Imar