G
Guest
I am building an IHttpHandlerFactory to process all requests to folders in my
site.
When an attempt to access internal folders is detected the request is
rerouted to an error page.
All other attempts are processed using
return PageParser.GetCompiledPageInstance(url, pathTranslated, context);
This results in a situation created when I start my solution in VisualStudio.
VisualStudio accesses a temporary page
"<domain>/<application>/vs-xxxxx-tmp.htm.
The result is that VisualStudio will not start the web project and says that
the physical location doesn't map to the URL.
What should the IHttpFactory return when it detects a visual studio start
attempt?
Is there a better way to gracefully leave the factory than via PageParser?
Any help would be appreciated.
site.
When an attempt to access internal folders is detected the request is
rerouted to an error page.
All other attempts are processed using
return PageParser.GetCompiledPageInstance(url, pathTranslated, context);
This results in a situation created when I start my solution in VisualStudio.
VisualStudio accesses a temporary page
"<domain>/<application>/vs-xxxxx-tmp.htm.
The result is that VisualStudio will not start the web project and says that
the physical location doesn't map to the URL.
What should the IHttpFactory return when it detects a visual studio start
attempt?
Is there a better way to gracefully leave the factory than via PageParser?
Any help would be appreciated.