[C#][ASP.net]ASP.net MVC & Visual Studio 2019 Quick Note
It’s just some random note I’ve made
N2I -2020.10.07
- Environment settings

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
2. hot keys for VS Code
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
3. Action Result for MVC

//Examplesreturn View(MyModelObject);
return Content("Hello World!");
return HttpNotFound();
return new EmptyResult();
return RedirectToAction("ActionName","ControllerName",new {arg1=1,arg2="2"});
Reference: