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

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -