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.
- Open the csproj file and add change the
<ProjectTypeGuids>element to the following code:
Microsoft.Owin.Host.SystemWebpackages in the project.
DotvvmStartup.csclasses (see sample app).
Add the following registration to
<system.web> <pages> <controls> <add tagPrefix="dotvvm" namespace="DotVVM.Adapters.WebForms.Controls.WebForms" assembly="DotVVM.Adapters.WebForms"/> </controls> </pages> </system.web>
- Use the controls to link between ASP.NET Web Forms and DotVVM routes (see sample app).