Constellation.Foundation.Mvc.Patterns
9.0.1
See the version list below for details.
dotnet add package Constellation.Foundation.Mvc.Patterns --version 9.0.1
NuGet\Install-Package Constellation.Foundation.Mvc.Patterns -Version 9.0.1
<PackageReference Include="Constellation.Foundation.Mvc.Patterns" Version="9.0.1" />
paket add Constellation.Foundation.Mvc.Patterns --version 9.0.1
#r "nuget: Constellation.Foundation.Mvc.Patterns, 9.0.1"
// Install Constellation.Foundation.Mvc.Patterns as a Cake Addin #addin nuget:?package=Constellation.Foundation.Mvc.Patterns&version=9.0.1 // Install Constellation.Foundation.Mvc.Patterns as a Cake Tool #tool nuget:?package=Constellation.Foundation.Mvc.Patterns&version=9.0.1
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.
Configured for use with Sitecore 9.0.
Product | Versions 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. |
-
- Constellation.Foundation.Caching (>= 9.0.5.24342)
- Constellation.Foundation.ModelMapping (>= 9.0.33.27934)
- Constellation.Foundation.Mvc (>= 9.0.8.25968)
- Microsoft.AspNet.WebApi.Core (>= 5.2.3)
- WebMarkupMin.Core (>= 2.4.0)
- WebMarkupMin.Web (>= 1.1.1)
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 |
---|---|---|
10.3.0.24483 | 1,760 | 6/16/2023 |
10.2.0.20319 | 2,552 | 11/15/2021 |
10.1.0.29615 | 1,720 | 3/4/2021 |
10.0.3.25139 | 1,975 | 11/20/2020 |
10.0.2.29575 | 998 | 8/18/2020 |
10.0.1.24225 | 1,055 | 8/5/2020 |
10.0.0.23384 | 960 | 8/4/2020 |
9.3.1.28598 | 1,078 | 7/27/2020 |
9.3.0.18395 | 1,188 | 7/27/2020 |
9.1.11.23057 | 1,401 | 12/20/2019 |
9.1.10.19145 | 1,135 | 12/10/2019 |
9.1.9.15398 | 1,103 | 10/26/2019 |
9.1.8.22180 | 1,058 | 10/8/2019 |
9.1.7.16430 | 1,150 | 6/4/2019 |
9.1.6.30505 | 1,060 | 5/30/2019 |
9.1.5.18706 | 1,122 | 5/29/2019 |
9.1.5.17261 | 1,079 | 4/29/2019 |
9.1.4.26376 | 1,128 | 4/11/2019 |
9.1.3.27077 | 1,118 | 3/6/2019 |
9.1.2.17568 | 1,164 | 2/1/2019 |
9.1.2.16902 | 1,157 | 2/1/2019 |
9.1.1.29364 | 1,292 | 12/10/2018 |
9.1.0.19060 | 1,180 | 12/7/2018 |
9.0.3.19412 | 1,171 | 11/7/2018 |
9.0.2.25395 | 1,202 | 11/5/2018 |
9.0.1 | 1,230 | 10/29/2018 |
9.0.0 | 1,225 | 10/29/2018 |
Corrected a typo in the config file. Also made sure the controller and repository names were consistent with each other.