Constellation.Foundation.Mvc 9.1.6.30699

VERSION 9.1.1 Contains Breaking Changes around ConventionController and ViewResolver.
VERSION 9.1 is compiled for Sitecore 9.1 use and will not work on earlier versions.
Requires Sitecore 9.1
Requires .NET 4.7.1

Constellation is a collection of utilities for .NET CMS implementers.
The Foundation.Mvc assembly contains enhancements to Sitecore's MVC Rendering system:

GenerateRenderingSpecificCacheKey Mvc.RenderRendering pipeline processor:
Replaces the default GenerateCacheKey processor. Includes the ID of the Rendering in the cache key, this allows for multiple renderings with different presentation
to use the same Datasource and be cached by Datasource without issues.

MinifyAndAddRecordedHtmlToCache Mvc.RenderRendering pipeline processor:
Replaces the default AddRecordedHtmlToCache processor. Uses the WebMarkupMin library to process the output HTML, Javascript, and CSS and minify it to improve page
delivery time through file size reduction. The default settings are "safe" but effective, however WebMarkupMin offers far more aggressive minification settings
for the bold.

GetControllerRenderer Mvc.GetRenderer pipeline processor:
Replaces the default GetControllerRenderer. Allows the developer to rely on the name of the Rendering to locate the appropriate controller to execute
(convention over configuration). Very handy for Renderings that have a dedicated controller with one action that always produces the same output.

ConventionController:
Provides a good base-class controller for Sitecore implementations:
* Forces the use of the Index() controller action (overrides possible)
* Provides the programmer with immediate access to the Rendering's DataSource and ContextItem (PageContext)
* Requires the programmer to assemble the model from the above Items.
* Automatically finds the View based upon the Rendering's XPath location in Sitecore

EditorCompatibleView:
Replaces the stock MVC View, and provides methods for determining if the Page Mode "IsExperienceEditor" and "IsExperienceEditorEditing" which are
of particular use if the View needs to change behavior to support editors.

ViewPathResolver:
Independent engine for locating a View based on the Rendering Item's path in Sitecore. It has two configuration settings that allow the programmer
to specify the location of Renderings in Sitecore (to trim the uneeded parts of the path) and also the location of the Views on disk. Areas are
supported through a token replacement. See the provided config file for details.

Install-Package Constellation.Foundation.Mvc -Version 9.1.6.30699
dotnet add package Constellation.Foundation.Mvc --version 9.1.6.30699
<PackageReference Include="Constellation.Foundation.Mvc" Version="9.1.6.30699" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Constellation.Foundation.Mvc --version 9.1.6.30699
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Convention Controller will no longer attempt to load views if the Model is null. Instead it will return an Empty Result and log the issue.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
9.1.6.30699 129 10/25/2019
9.1.5.20859 92 10/8/2019
9.1.4.23692 221 4/11/2019
9.1.3.25116 175 3/6/2019
9.1.3.25080 140 3/6/2019
9.1.2.15281 157 2/1/2019
9.1.1.28543 278 12/10/2018
9.1.0.18169 151 12/7/2018
9.0.8.25968 209 10/21/2018
9.0.7.28964 356 7/3/2018
9.0.6.17686 302 6/7/2018
9.0.5.26637 316 5/25/2018
9.0.4.28120 302 5/14/2018
9.0.3.25614 371 3/6/2018
9.0.2.20710 331 2/12/2018
9.0.2.17877 313 2/12/2018
9.0.1.26264 311 11/28/2017
9.0.1.25767 277 11/28/2017
9.0.1.24902 308 11/28/2017
9.0.1.21008 326 12/1/2017
9.0.1.17567 287 11/28/2017
9.0.0.28098 284 11/27/2017
9.0.0.25367 298 11/27/2017
9.0.0.18698 323 11/25/2017
8.2.0.25877 408 10/7/2016
8.2.0.18529 331 10/10/2016
8.2.0.18423 345 10/10/2016