LessAssetHandler and Virtual Path Providers
ZNS opened this issue · 3 comments
ZNS commented
Hello!
I've made a custom virtual path provider which serves a dynamic less-file. However it doesn't work with the LessAssetHandler. I get a 404.
Taritsyn commented
Hello, Ulrik!
Everything should work. Try to solve this problem yourself by using a Visual Studio debugger.
ZNS commented
I've debugged and ProcessRequest is never called in AssetHandlerBase.cs for my virtual file. It is called for physical files. Also I've made my own IHttpHandler and that does get called and can read the virtual file.
ZNS commented
Problem solved! I removed resourceType="File" from the handler in web.config