Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>DotVVM for Visual Studio CodeNew to Visual Studio Code? Get it now.
DotVVM for Visual Studio Code

DotVVM for Visual Studio Code

RIGANTI

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

This extension adds support for DotVVM projects in Visual Studio Code:

  • Syntax Highlighting and IntelliSense in DOTHTML markup files
  • Design-time error checking

We also have separate packages for Visual Studio 2022 and Visual Studio 2019.

What is DotVVM?

DotVVM is an open source ASP.NET framework that lets you build line-of-business applications and SPAs without writing tons of JavaScript code. You only have to write a viewmodel in C# and a view in HTML. DotVVM will do the rest for you.

DotVVM brings full MVVM experience and it uses Knockout JS on the client side. It handles the client-server communication, validation, localization, date & time formatting on the client side, SPAs and much more.

It is open source, it supports both OWIN and ASP.NET Core. It is multi-platform and it runs on .NET Framework, .NET Core and Mono.

Watch DotVVM Coffee Tutorial Series on YouTube!

How It Works

The Views in DotVVM use HTML syntax with controls and data-bindings.

public class ContactFormViewModel
{    
        public string Name { get; set; }    
        public string Email { get; set; }    

        public void Submit() 
        {        
                ContactService.Submit(Name, Email);    
        }
}

The ViewModels are plain C# objects. You can call public methods from the View.

    <div class="form-control">   
            <dot:TextBox Text="{value: Name}" /> 
    </div>
    <div class="form-control">   
             <dot:TextBox Text="{value: Email}" /> 
    </div> 
    <div class="button-bar">   
             <dot:Button Text="Submit"  Click="{command: Submit()}" /> 
    </div>  

You just need to know C#, HTML and CSS. For most scenarios, you don't have to write any JavaScript code.

Features of DotVVM (Open Source & Free for Everyone)

  • Many built-in controls
    • GridView, Repeater
    • FileUpload
    • TextBox, ComboBox, CheckBox, RadioButton
    • Button, LinkButton, RouteLink
    • Validator, ValidationSummary
    • ...
  • Advanced validation rules integrated with .NET data annotation attributes
  • Support for .NET cultures, number & date formats and RESX localization
  • SPA (Single Page App) support
  • User controls
  • MVVM with testable ViewModels and IoC/DI support
  • Visual Studio integration with IntelliSense
  • OWIN and ASP.NET Core support
  • DotVVM Dynamic Data

How to Start

  1. Install this extension.
  2. Read the documentation.

Commercial Products

Component Packages

  • Bootstrap for DotVVM - more than 40 controls that make using Bootstrap easier and your code much cleaner
  • DotVVM Business Pack - Enterprise ready controls for Line of business web apps

Advanced Extension for Visual Studio 2022 and 2019

  • DotVVM for Visual Studio - project templates, Intellisense for bindings, advanced design-time diagnostics, quick refactorings, navigation shortcuts and many more

More Info

  • DotVVM.com
  • DotVVM Blog
  • Documentation
  • Twitter @dotvvm
  • Gitter Chat
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft