Skip to content

darilek/dotvvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotVVM = HTML + C#

.NET-based Framework for Modern Web Apps

license Join the chat at https://gitter.im/riganti/dotvvm

TFS Build:

DotVVM is an 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 KnockoutJS 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 and it runs on .NET Framework, .NET Core and Mono. It also offers a free extension for Visual Studio 2015 with IntelliSense and other useful features which make the development really easy and productive.


How to Start

  1. Install the DotVVM for Visual Studio 2015 extension.

  2. Read the documentation.


Simple Sample

DotHTML markup:

<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>

ViewModel in C#:

public class ContactFormViewModel
{
  public string Name { get; set; }
  public string Email { get; set; }
  public void Submit()
  {
    ContactService.Submit(Name, Email);
  }
}

More Info

You'll find more information on our website DotVVM.com.

About

ASP.NET MVVM Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 71.0%
  • JavaScript 25.4%
  • TypeScript 3.3%
  • Other 0.3%