Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>JayKhodiyar Snippet PackNew to Visual Studio Code? Get it now.
JayKhodiyar Snippet Pack

JayKhodiyar Snippet Pack

JayChehar

|
2 installs
| (0) | Free
JayKhodiyar
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MVC Snippet Pack

A powerful and reusable snippet collection for ASP.NET MVC developers to speed up development inside Visual Studio Code.

This extension provides ready-to-use boilerplate code for Controllers, Models, Views, Repositories, Layouts, and more.


🚀 Features

  • 🔐 Login & Register View snippets
  • 🧾 Edit Profile & Unauthorized View
  • 🎮 Controllers (Account, Admin, Home, User)
  • 🗂 Repository layer snippets
  • 🧠 Model classes (User, Login)
  • 🧱 Layout & User Layout templates
  • 🎨 Site CSS & UI utilities
  • ⚡ Kendo UI helper snippets
  • 🔍 Filter & reusable logic snippets

🧩 Included Snippets

📄 Views

  • loginview → Login Page UI
  • registerview → Register Page UI
  • editprofileview → Edit Profile Page
  • unauthorizedview → Unauthorized Access Page
  • layout → Main Layout
  • userlayout → User Dashboard Layout

🎮 Controllers

  • accountcontroller → Account Controller
  • admincontroller → Admin Controller
  • homecontroller → Home Controller
  • usercontroller → User Controller

🧠 Models

  • usermodel → User Model
  • loginmodel → Login Model

🗂 Repositories

  • accountrepo → Account Repository
  • userrepo → User Repository

⚙️ Utilities (Global)

  • filter → Filter logic
  • allkendo → Kendo UI setup
  • sitecss → Base CSS template

⚡ Usage

  1. Install the extension
  2. Open any file in your project
  3. Start typing a snippet prefix
  4. Press Enter or Tab

Example:

loginview

➡ Automatically generates a complete login page.


🌍 Global Snippets

All snippets are configured as global, so they work in:

  • .cs
  • .cshtml
  • .html
  • .js
  • .txt
  • Any file type

🛠 Requirements

  • Visual Studio Code (latest version recommended)

📦 Installation

From VSIX (Manual)

  1. Open Extensions in VS Code
  2. Click ... (top right)
  3. Select Install from VSIX
  4. Choose your .vsix file

🔧 Extension Settings

This extension does not require any additional configuration.


🐛 Known Issues

  • Since snippets are global, suggestions may appear in all file types
  • Use specific prefixes (like mvc-) if needed to avoid clutter

💡 Best Practices

  • Use meaningful prefixes like:

    • mvc-login
    • mvc-controller
    • mvc-repo
  • Combine snippets with your project architecture for faster development


🤝 Contributing

Feel free to contribute by adding more useful MVC snippets or improving existing ones.


📄 License

This project is licensed under the MIT License.


👨‍💻 Author

Developed for ASP.NET MVC developers to boost productivity and reduce repetitive coding.


⭐ Support

If you find this extension useful:

  • ⭐ Star the project
  • 📢 Share with others
  • 🛠 Contribute improvements

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft