I have an ASP.NET MVC application running on shared hosting. Recently, the site was confused when the application pool was accidentally switched from integrated back to classic mode. We had to change routes until technical support changed the configuration of the application pool.
It would be great if there was a way to determine the application pool mode in the code and set the routes accordingly: one route for integrated mode and one for classical. This would prevent the site from dropping in these conditions. A routed breakdown MVC site looks pretty sad.
source
share