One, Web site added to IIS
To do website development, it is necessary to add the project to IIS , this is helpful for browsing and later debugging. How do I add a Web site to IIS ?
1), open IIS, and then proceed as follows:
2), after adding the project, pay attention to setting the default document (ie: login page)
Second, additional process debugging
Into the company, when debugging, to learn to use the attachment process debugging. If you click Debug directly,VS will recompile the entire project is a waste of time, using additional process debugging, greatly saving time. Additional process debugging WebForm project and Winform Project There is a little difference, be careful.
A, WebForm project (Web site project) attachment process debugging. Operation steps such as:
Note: Make sure that the Project Web site is already open in the browser. If it is not open, the w3wp.exe process will not appear.
B, Winform project process debugging. Operation steps such as:
Note: Make sure that the EXE file for the project is open. (That is, the client is open)
Summary : The difference between the two is that the attachment process is different. The Web site project is attached to the w3wp.exe process, andtheWinForm Project is attached to the client process.
Web site additions to IIS and attachment process debugging (beginner's use of the article)