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

  1. 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
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"});

--

--

--

HI I’m N2I. Now a SWE in Taiwan. Check out more about me in https://nzi2020.blogspot.com/ or contact via email: nayzi9999@gmail.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Using Scala, SBT and IntelliJ IDEA

Start Your Native Android Developer Journey The Right Way: The Basics

It may give you some bugs that you can’t even begin to comprehend

Remote SSH-Based PHP Development With Visual Studio Code

Remote SSH-Based PHP Development With Visual Studio Code

Slow Looking Browser Extension

Bypass Azure AD authentication using Selenium C# on release pipeline

Complexity Decision Framework (CDF) & it's importance in Test Suite Prioritisation and…

Python Basic P

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
N2I

N2I

HI I’m N2I. Now a SWE in Taiwan. Check out more about me in https://nzi2020.blogspot.com/ or contact via email: nayzi9999@gmail.com

More from Medium

Different ways to get a sum of an array of integers in C#

Relationships in EF Core:

C# Mock different HttpClient calls in the same method

How to Build Windows Desktop Barcode and QR Code Scanner in .NET 6