Thanks first. I'm using vs2010, asp.net 4 webform.
Is there anyway which I can update a code behind file (ascx.cs) file without compile the whole site? Because I just want to debug some ascx.cs file, and compile a b开发者_StackOverflowig whole site will cost 1 minutes at least.
Put breakpoint in the user control.
When breakpoint hits, you can modify code and run it when completed.
Note: Your VS setting must enable to allow changes on debugging and You can't modified in a depth otherwise it will ask for restart app.
精彩评论