Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ASP.NET MVC NavigatorNew to Visual Studio Code? Get it now.
ASP.NET MVC Navigator

ASP.NET MVC Navigator

Adam Hartford

|
97 installs
| (1) | Free
Navigate between controllers, views, actions, and view components in ASP.NET MVC projects, similar to JetBrains Rider and ReSharper.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ASP.NET MVC Navigator

A Visual Studio Code extension that provides intelligent navigation between ASP.NET MVC controllers, views, actions, and view components, similar to the functionality found in JetBrains Rider and ReSharper.

Demo

ASP.NET MVC Navigator Demo

Features

🎯 Controller Navigation

Ctrl+click to jump from controller code to views, actions, and view components.

  • Example: View("About") → jumps to About.cshtml
  • Example: ViewComponent("NavigationMenu") → jumps to NavigationMenuViewComponent

🌐 View Navigation

Ctrl+click from Razor views to controllers and actions.

  • Example: @Html.ActionLink("Edit", "Edit", "Product") → jumps to ProductController.Edit()
  • Example: @Html.Partial("~/Views/Shared/_Navigation.cshtml") → jumps to partial view

🏷️ Tag Helper & HTML Helper Support

Navigate with ASP.NET Core tag helpers and classic HTML helpers.

  • Example: <a asp-action="Details" asp-controller="Product"> → jumps to action
  • Example: <partial name="/Areas/Admin/Views/Shared/_Header.cshtml" /> → jumps to partial view

🏢 Advanced Features

  • Full path support: tilde (~/...) and absolute (/...) paths for views and partials
  • Areas & multi-project: seamless navigation across Areas and multi-project workspaces
  • Fallback search: finds controllers and view components in shared or non-standard files
  • Precise positioning: jumps directly to the exact line of class or method definitions

Usage

Simply Ctrl+click (or Cmd+click on Mac) on any MVC controller, action, or view name string in your code. The extension will:

  1. Analyze the code context
  2. Locate the target file (controller, view, or action)
  3. Navigate directly to the destination
  4. Position the cursor at the exact method or view

Compatibility

  • ASP.NET Core MVC (.NET Core/.NET 5+)
  • Razor Pages projects
  • ASP.NET MVC (.NET Framework)
  • Areas and multi-project solutions

Configuration

Setting Default Description
mvcNavigator.enableDebugLogging false Enable debug logging for troubleshooting navigation issues. Logs appear in the developer tools console.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft