Skip to content

gitter-badger/dotvvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotVVM: "Javascript" Apps Without Javascript

DotVVM is an OWIN-based ASP.NET framework that can 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 and DotVVM will generate the rest for you.

DotVVM is inspired by ASP.NET WebForms, but it is much more modern. It brings full MVVM experience and it uses KnockoutJS on the client side.

How to Start

  1. Install the dotVVM for Visual Studio extension.

  2. Read the documentation. Oh yes, we are open source, but we actually have one.

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 www.dotvvm.com.

About

ASP.NET MVVM Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 80.6%
  • JavaScript 16.3%
  • TypeScript 2.9%
  • Other 0.2%