[C#][ASP.net]ASP.net MVC & Visual Studio 2019 Quick Note

tool >> option >> environment >> keyboard
hotkey settings change to VSCode
tool >> option >> environment >> font&colors
"selected text" => RGB:(248,109,241)
"font" => Consolas,10
"Match color" => RGB:(115,115,115)
Ctrl+R, Ctrl+W  :show tab sign
Edit -> Advanced -> View White Space :show space as dot
Edit -> Advanced -> Set Indentation -> Space  :Replace Tabs as 4 spaces
Ctrl + /  :comment
Shift + Alt + F :Code formatting
Ctrl + F5 :build & open the current model view in browser
Shift + Ctrl + B :save & build but don't run
F2 on keywords :rename the whole related keywords
//Examplesreturn View(MyModelObject);
return Content("Hello World!");
return HttpNotFound();
return new EmptyResult();
return RedirectToAction("ActionName","ControllerName",new {arg1=1,arg2="2"});

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store