I have a web app that is using the 3.5 framework. I wanted to know how can I detect what webhost is rendering the page.
If the server is localhost, then send email notification to test@dev.com
If the server is QA, then send email to xyz@dev.com
Thanks
Assuming you mean to do this detection server-side, then how about the old-fashioned ServerVariables ?
A full list of server variables is here: http://www.aspcode.net/List-of-RequestServerVariables.aspx