A set of controls that help with using DotVVM and ASP.NET Web Forms in the same application
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


ASP.NET Web Forms Adapters for DotVVM

This repository contains a set of controls that help with using DotVVM and ASP.NET Web Forms together in one ASP.NET application.

This integration can help with modernization of legacy ASP.NET web apps as it allows to build new parts of the old application using modern and cleaner development methods (MVVM pattern) while utilizing the same business layer and allowing smooth transition between old and new parts of the application thanks to single sign on.

The development of this library is still in progress. The integration will work with DotVVM 2.0. When the library is more stable, it will be published on Nuget - currently you need to build the source code.

Any feedback is welcome - we're on Gitter.


  • <dotvvm:RouteLink runat="server"> is ASP.NET Web Forms control that renders hyperlinks for DotVVM routes.

  • <webforms:RouteLink> is DotVVM control that renders hyperlinks for ASP.NET Web Forms routes.


  1. Open the csproj file and add change the <ProjectTypeGuids> element to the following code:
  1. Install Dotvvm.Adapters.WebForms and Microsoft.Owin.Host.SystemWeb packages in the project.

  2. Add Startup.cs and DotvvmStartup.cs classes (see sample app).

  3. Add the following registration to web.config:

        <add tagPrefix="dotvvm" namespace="DotVVM.Adapters.WebForms.Controls.WebForms" assembly="DotVVM.Adapters.WebForms"/>
  1. Use the controls to link between ASP.NET Web Forms and DotVVM routes (see sample app).