Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 936 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 936 Bytes

ASP.NET Core Switcher

Razor Pages

Switch between Page and it's PageModel using:

  • Keybindings: alt + o
  • Editor context menu: Go to Page, Go to PageModel
  • Command palette: Go to Page, Go to PageModel

Razor Pages Example

MVC

Switch between View and Controller using:

  • Keybindings: alt + o (or alt + i for backwards compatibility)
  • Editor context menu: Go to Controller, Go to View
  • Command palette: Go to Controller, Go to View

MVC Switch Example

Create View for Action using:

  • Keybindings: alt + p
  • Editor context menu: Add View...
  • Command palette: Add View...

MVC Add View Example

Blazor

Switch between Component (.razor) and its CodeBehind (.razor.cs) using:

  • Keybindings: alt + o
  • Editor context menu: Go to Component, Go to CodeBehind
  • Command palette: Go to Component, Go to CodeBehind