Constellation.Foundation.Mvc 9.0.8.25968

There is a newer version of this package available.
See the version list below for details.
dotnet add package Constellation.Foundation.Mvc --version 9.0.8.25968                
NuGet\Install-Package Constellation.Foundation.Mvc -Version 9.0.8.25968                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Constellation.Foundation.Mvc" Version="9.0.8.25968" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Constellation.Foundation.Mvc --version 9.0.8.25968                
#r "nuget: Constellation.Foundation.Mvc, 9.0.8.25968"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Constellation.Foundation.Mvc as a Cake Addin
#addin nuget:?package=Constellation.Foundation.Mvc&version=9.0.8.25968

// Install Constellation.Foundation.Mvc as a Cake Tool
#tool nuget:?package=Constellation.Foundation.Mvc&version=9.0.8.25968                

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.

ViewResolver:
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.


Configured for use with Sitecore 9.0.

Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Constellation.Foundation.Mvc:

Package Downloads
Constellation.Foundation.Mvc.Patterns

Requires Sitecore 10.3 Requires .NET Framework 4.8 Constellation is a collection of utilities for .NET CMS implementers. The Foundation.Mvc.Patterns library is an opinionated library that provides some base Controller and Repository classes for jumpstarting a Sitecore project. The purpose is to get developers to better separate data access logic from controllers and also to hide some uninteresting concerns. Repositories: Classes which accept a context to specify the conditions for accessing data in Sitecore along with facts for use in the query. The Repository is responsible for getting the results of a query, any caching, and any transformation into ViewModel output. Base Repositories: Repository - Just the basics of setting up the relationship between the repository and the controller. CachingRepository - Adds caching of the repository's output to the mix. SingleItemRepository - Includes both of above and is centered around queries that will retrieve a single Item. ItemListRepository - Includes the first two and is centered around queries taht will retrieve multiple Items. Controllers: Classes which are responsible for handling the transition from Sitecore to the View, including setting up a Repository Context, and getting the results from the Repository for sending to the View. Base Controllers: DatasourceRenderingController - Use when a Rendering has a Datasource Item and that Item is what's being rendered. ItemListController - Use when a Rendering will present a number of Items that have to be looked up in some fashion. On Sitecore startup, this package will scan all assemblies for IController and IRepository implementations and automatically add them to Dependency Injection. This feature can be disabled/changed via the config file for this package.

Constellation.Foundation.Labels

Requires Sitecore 10.3 Requires .NET Framework 4.8 Constellation is a collection of utilities for .NET CMS implementers. This small Foundation kit contains classes and attributes to allow for "label" models. These models are handled in a sort of "view bag" parallel strategy to the proper Model View Controller paradigm, because labels are usually not the actual model content, but inform the user how to read it. This technology is used instead of the typical Sitecore Dictionary strategy, which does not support caching in a graceful manner. More documentation will follow in the near future.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.3.0.23631 2,252 6/16/2023
10.2.0.19468 3,300 11/15/2021
10.1.0.29339 4,408 3/4/2021
10.0.3.24512 2,096 11/20/2020
10.0.2.29249 1,159 8/18/2020
10.0.1.23978 1,179 8/5/2020
10.0.0.22680 1,146 8/4/2020
9.3.1.28171 1,252 7/27/2020
9.3.0.29962 1,357 6/4/2020
9.3.0.28024 512 7/27/2020
9.1.6.30699 2,644 10/25/2019
9.1.5.20859 1,273 10/8/2019
9.1.4.23692 3,284 4/11/2019
9.1.3.25116 1,298 3/6/2019
9.1.3.25080 652 3/6/2019
9.1.2.15281 1,840 2/1/2019
9.1.1.28543 1,529 12/10/2018
9.1.0.18169 1,325 12/7/2018
9.0.8.25968 2,793 10/21/2018
9.0.7.28964 1,082 7/3/2018
9.0.6.17686 1,002 6/7/2018
9.0.5.26637 1,027 5/25/2018
9.0.4.28120 1,090 5/14/2018
9.0.3.25614 1,852 3/6/2018
9.0.2.20710 1,010 2/12/2018
9.0.2.17877 1,014 2/12/2018
9.0.1.26264 10,207 11/28/2017
9.0.1.25767 898 11/28/2017
9.0.1.24902 973 11/28/2017
9.0.1.21008 997 12/1/2017
9.0.1.17567 954 11/28/2017
9.0.0.28098 927 11/27/2017
9.0.0.25367 966 11/27/2017
9.0.0.18698 962 11/25/2017
8.2.0.25877 1,089 10/7/2016
8.2.0.18529 1,011 10/10/2016
8.2.0.18423 1,037 10/10/2016

Now with Intellisense!