[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

Leveraging Intelligent Automation in Healthcare Supply Chain

Connect Funding to Programs in One Easy Object

What are Linked Lists?

Camera Effects: Masks & X-Rays

Preparation Guide for the AWS Solutions Architect Associate Exam

How to fail a Frontend Dev Interview?

Microcontrollers for IoT

Getting Started With Munin in 4 Steps

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

Uploading Large Size Files By Using Azure Blob Storage

Creating an ASP.NET Core API Docker Container

Build an ASP.NET Core Web API 5.0 with CURD operations using Entity Framework DB first approach.

Debugging 101 in Visual Studio 2022