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
Post a Comment