Visual Studio Development

  1. When starting to use Visual Studio, sometimes you don't want the browser to stop debugging or detach from the process.
    - Every time you stop debugging, and then refresh the browser the application stops showing because the IIS process is terminated
    - The way you solve this problem is: When debugging, don't stop debugging with a big red button (stop) instead navigate to the Debug menu and click on detach-all, this will leave the application running in the background so you can do your modification to the page and still see the changes in the browser.

    Short-Cuts in Visual Studio
  2. Ctrl + left arrow => To pad or apply formats to the code
  3. Ctrl + L => Cut the lines trailing in between code. Compacts the code together
  4. Ctrl + Space Bar => to See the properties of a DTO/POCCO object in C#
  5. Ctrl + RR => to rename every instance of the property or variable name at once
  6. Ctrl + f12 => to step into the C# Library code
  7. Highlight + Tab => to format or move code four spaces in



    C#
  8. When using Linq, you can use object.Any(pass in an expression) just like you would use a Where Close.
  9. cw => will automatically write Console.Writeline() code If you are developing a Console Application


Yes Was this page helpful? No
Yes Was this page helpful? No