Cogito.Web.UI.Razor
4.0.0
dotnet add package Cogito.Web.UI.Razor --version 4.0.0
NuGet\Install-Package Cogito.Web.UI.Razor -Version 4.0.0
<PackageReference Include="Cogito.Web.UI.Razor" Version="4.0.0" />
<PackageVersion Include="Cogito.Web.UI.Razor" Version="4.0.0" />
<PackageReference Include="Cogito.Web.UI.Razor" />
paket add Cogito.Web.UI.Razor --version 4.0.0
#r "nuget: Cogito.Web.UI.Razor, 4.0.0"
#:package Cogito.Web.UI.Razor@4.0.0
#addin nuget:?package=Cogito.Web.UI.Razor&version=4.0.0
#tool nuget:?package=Cogito.Web.UI.Razor&version=4.0.0
Cogito.Web.UI.Razor
Render Razor templates from inside ASP.NET Web Forms.
Why
Web Forms markup is painful for anything list-shaped, and a whole-application move to MVC is rarely on the table. This lets you write the awkward parts as Razor and drop them into an existing page or user control, one template at a time.
Install
dotnet add package Cogito.Web.UI.Razor
Use
public partial class ProductList : RazorControl
{
}
RazorControl and RazorControlTemplate render a template as part of the normal control lifecycle,
so the output participates in the page as any other control would. RazorPage does the same at page
level, and HtmlHelperResult carries pre-encoded markup.
Targets .NET Framework. Built on Cogito.Web.Razor.
License
MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Cogito.Core (>= 4.0.0)
- Cogito.Web.Razor (>= 4.0.0)
- Cogito.Web.UI (>= 4.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0 | 118 | 10/15/2026 |
| 3.1.37 | 122 | 9/14/2026 |
| 3.1.36 | 953 | 11/30/2020 |
| 3.1.35 | 772 | 11/16/2020 |
| 3.1.34 | 823 | 11/16/2020 |
| 3.1.30 | 907 | 11/15/2020 |
| 3.1.29 | 824 | 11/11/2020 |
| 3.1.27 | 749 | 11/11/2020 |
| 3.1.26 | 745 | 11/11/2020 |
| 3.1.24 | 804 | 11/11/2020 |
| 3.1.23 | 989 | 11/11/2020 |
| 3.1.20 | 998 | 11/11/2020 |
| 3.1.18 | 802 | 8/7/2020 |
| 3.1.16 | 821 | 8/7/2020 |
| 3.1.13 | 951 | 2/25/2020 |
| 3.1.10 | 856 | 2/25/2020 |
| 3.1.8 | 882 | 2/25/2020 |
| 3.1.7 | 910 | 2/25/2020 |
| 3.1.6 | 967 | 2/25/2020 |
| 3.0.11 | 816 | 2/7/2020 |