Compilation status page
Compilation status page is an extension for DotVVM which allows to easily check all DotHTML page, master page, or markup control, and detect compilation errors in them.
It is a very useful tool which can help while you upgrade DotVVM packages in your app. It can quickly ensure that all markup files are valid.
How it works
DotVVM views are compiled on demand when the page requests a DotHTML file. This package adds you one diagnostics page to you dotvvm application. When you access this status page by default on route _diagnostics/status
, all DotHTML files registered in DotvvmStartup.cs
will be compiled, and all errors will be reported.
Install Compilation Status Page
Install the
DotVVM.Diagnostics.StatusPage
NuGet package in the projectRegister the extension in your
DotvvmStartup.cs
public void ConfigureServices(IDotvvmServiceCollection services)
{
services.AddStatusPage();
...
}
- Run the app and visit
_diagnostics/status
to see the status.