How do I tell if a site is being hosted in the ASP Development Server?
asp.net-mvc, c#
Solution
The standard server variables associated with IIS (`INSTANCE_ID`, `INSTANCE_META_PATH`), and `SERVER_SOFTWARE` all appear to be empty when examined from apps running on the ASP.NET Development Server. I would suggest examining their contents via `Request.ServerVariables["SERVER_SOFTWARE"]` or similar.
Problem
Is there a way to do this at runtime?