I am going crazy here... I was playing around with custom HttpHandlerFactory's, and IHttpHandler's and it seems I have gotten a StaticFileHandler registered for "root" url which just WON'T go away...
I have ofc. stripped away any configuration of any handlers in web-config but atm. the ASP.NET Development Server for the project seems to being very persistent in returning my page as it is as a raw textfile without rendering it, and as a file... not something
the browser will open, but instead download...
I have manged to get it rendering when I enter a more specific URL like, "http://localhost:39282/x.aspx" but for "http://localhost:39282/" it keeps insisting on returning my "Default.aspx" as a file download.
Jmelgaard
Member
12 Points
2 Posts
Resetting HttpHandlers to default for VS2010 project. (ASP.NET Development Server)
Jan 21, 2012 09:40 PM|LINK
Hey.
I am going crazy here... I was playing around with custom HttpHandlerFactory's, and IHttpHandler's and it seems I have gotten a StaticFileHandler registered for "root" url which just WON'T go away...
I have ofc. stripped away any configuration of any handlers in web-config but atm. the ASP.NET Development Server for the project seems to being very persistent in returning my page as it is as a raw textfile without rendering it, and as a file... not something the browser will open, but instead download...
I have manged to get it rendering when I enter a more specific URL like, "http://localhost:39282/x.aspx" but for "http://localhost:39282/" it keeps insisting on returning my "Default.aspx" as a file download.