asp.net - Best Way of Determining that Website is Being run in Visual Studio -


I want to be able to tell that I'm running my web site project in Visual Studio (< Debug or release).

I was considering testing for "localhost", but this is not true because we can test it locally on the server.

Any thoughts?

Not at all what you are asking, but you check

  system. Diagnostics. Debugger. For ISHatch == True  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -