MVC Snippets Extension
This extension provides a standard set of boilerplate snippets for rapid development of ASP.NET Core MVC applications.
Included Snippets
- MVC Program (
mvc-program): Scaffolds a standard Program.cs entrypoint with builder and pipeline config.
- MVC Controller (
mvc-controller): Scaffolds an MVC Controller.
- MVC Model (
mvc-model): Scaffolds a basic data model.
- MVC View (
mvc-view): Scaffolds an empty HTML/Razor view.
- MVC Interface (
mvc-interface): Scaffolds a repository/service interface.
- MVC Implementation (
mvc-implementation): Scaffolds an implementation of an interface.
- MVC Filter (
mvc-filter): Scaffolds an ASP.NET Core action filter.
- MVC AppSettings (
mvc-appsettings): Generates basic appsettings.json schema.
Quick Start
Type any of the designated mvc-* prefixes above to trigger snippet insertion in C#, HTML, or JSON files.
| |