Constellation.Html
1.6.5305.21588
dotnet add package Constellation.Html --version 1.6.5305.21588
NuGet\Install-Package Constellation.Html -Version 1.6.5305.21588
<PackageReference Include="Constellation.Html" Version="1.6.5305.21588" />
paket add Constellation.Html --version 1.6.5305.21588
#r "nuget: Constellation.Html, 1.6.5305.21588"
// Install Constellation.Html as a Cake Addin #addin nuget:?package=Constellation.Html&version=1.6.5305.21588 // Install Constellation.Html as a Cake Tool #tool nuget:?package=Constellation.Html&version=1.6.5305.21588
Constellation.Html contains two useful features:
1. Extension methods for HtmlTextWriter. - Internally these methods use an IDisposable pattern to encapsulate the rather cumbersome code for adding attributes, rendering the begin tag, and rendering the end tag.
The extension methods should generally be called as part of a "using" statement. ex: using (writer.RenderDiv()) { }
2. A dynamic wrapper for HtmlTextWriter that allows for very expressive and flexible HTML output writing within C#
The result is C# code for rendering HTML that is very easy to read, fully supports the ASP.NET browser capabilities feature, and is flexible enough to handle new tags invented in the future.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Constellation.Html:
Package | Downloads |
---|---|
Constellation.Sitecore.Presentation
This namespace makes use of Constellation.Sitecore.Items to provide a Sitecore Rendering framework with dependency injection. Renderings should decend from Views.WebControlView or Views.UserControlView. The default Presenter will handle single-Item datasources as strongly-typed Items. It is possible to add your own Presenters (for custom Models) by implementing the IPresenter interface. This namespace includes a handful of WebForms-compatible examples. |
|
Constellation.WebForms
HttpResponse - Two controls that can be mounted on CMS-hosted pages to correctly respond with 404 headers. CompressedViewStatePage - Uses SharpZipLib to significantly reduce ViewState size on the delivered document. PaginationControl - Simple control to manage the pagination of a multi-page result set. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.6.5305.21588 | 2,230 | 7/11/2014 |
1.5.5302.18522 | 1,180 | 7/8/2014 |
1.5.5254.14092 | 1,606 | 5/21/2014 |
1.5.5208.23634 | 5,222 | 4/5/2014 |
1.0.5200.18690 | 1,489 | 3/28/2014 |
1.0.5200.18114 | 1,357 | 3/28/2014 |
1.0.5189.24554 | 2,107 | 3/17/2014 |
Added support for a number of less prevalent HTML5 tags.