I am new to asp.net. I inherited the asp.net mvc code base and, to help me better navigate the heap of the source source in front of me, I would like to go through it in the debugger. However, being a newbie on the Microsoft platform, I do not know how to do this.
Our application serves content under different host names that I set in my hosts file, so that I can access the application under uris, for example customername.mysite.loc. Because of this, I think that using the embedded web server in Visual Studio 2008 is not an option in my case and that I have to attach my VS debugger directly to the IIS process under which the application will be launched.
Unfortunately, I did not find much information about Google on how to do this. Most of the textbooks found there either contradict each other or use several older versions of IIS (I am running 7.0 under Windows Server 2008). Apparently, the solution involved compiling my sources in debug mode (which I did), installing the application in IIS in debug mode, and somehow attached to the process, but so far I have not been successful in this simple scheme.
Can someone point me to a working guide or describe the best way to debug my project? Is that what I want to do, even maybe? Many thanks!
source
share