MVCCaching.Kentico
13.0.0
MVC Caching implementation for Kentico Xperience 13 MVC (Full framework, not core).
Install-Package MVCCaching.Kentico -Version 13.0.0
dotnet add package MVCCaching.Kentico --version 13.0.0
<PackageReference Include="MVCCaching.Kentico" Version="13.0.0" />
paket add MVCCaching.Kentico --version 13.0.0
MVC Caching
MVC Caching for Kentico MVC 13 (.Net Framework, NOT .net core!), extending the DancingGoat Caching Implementation to allow for easy Caching both of Repository calls, database calls, and Output Caching. Sets up and leverages Kentico's cache dependencies.
Installation for Kentico MVC Site (Quick)
- Install the
MVCCaching.Kentico
NuGet Package to your MVC Site - Add this to your Global.asax.cs's Application_Start
#region "AutoFac Cache and other dependency injections"
// Register AutoFac Items
var autofacBuilder = new ContainerBuilder();
// Register Dependencies for Cache, pass in any assemblies you wish to hook up
DependencyResolverConfig.Register(autofacBuilder, new Assembly[] { typeof(ApplicationConfig).Assembly });
// Set Autofac Dependency resolver to the builder
DependencyResolver.SetResolver(new AutofacDependencyResolver(autofacBuilder.Build()));
#endregion
- Optionally create an override the GetVaryByCustomString method to your Application (see the sample Globa.asax.cs GetVaryByCustomString method).
Usage
- See Documentation.md for full documentation
MVC Caching
MVC Caching for Kentico MVC 13 (.Net Framework, NOT .net core!), extending the DancingGoat Caching Implementation to allow for easy Caching both of Repository calls, database calls, and Output Caching. Sets up and leverages Kentico's cache dependencies.
Installation for Kentico MVC Site (Quick)
- Install the
MVCCaching.Kentico
NuGet Package to your MVC Site - Add this to your Global.asax.cs's Application_Start
#region "AutoFac Cache and other dependency injections"
// Register AutoFac Items
var autofacBuilder = new ContainerBuilder();
// Register Dependencies for Cache, pass in any assemblies you wish to hook up
DependencyResolverConfig.Register(autofacBuilder, new Assembly[] { typeof(ApplicationConfig).Assembly });
// Set Autofac Dependency resolver to the builder
DependencyResolver.SetResolver(new AutofacDependencyResolver(autofacBuilder.Build()));
#endregion
- Optionally create an override the GetVaryByCustomString method to your Application (see the sample Globa.asax.cs GetVaryByCustomString method).
Usage
- See Documentation.md for full documentation
Release Notes
Upgraded to Xperience 13.
Dependencies
-
- Antlr (>= 3.5.0.2)
- Autofac (>= 6.0.0)
- Autofac.Extras.DynamicProxy (>= 6.0.0)
- Autofac.Mvc5 (>= 6.0.0)
- Kentico.Xperience.AspNet.Mvc5 (>= 13.0.0)
- Microsoft.AspNet.Mvc (>= 5.2.7)
- Microsoft.AspNet.Razor (>= 3.2.7)
- Microsoft.AspNet.WebPages (>= 3.2.7)
- Microsoft.Bcl.AsyncInterfaces (>= 1.1.1)
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.Extensions.Options (>= 3.1.8)
- Microsoft.Owin.Security (>= 4.1.1)
- Microsoft.Owin.Security.Cookies (>= 4.1.1)
- Microsoft.Owin.Security.OAuth (>= 4.1.1)
- Microsoft.Rest.ClientRuntime (>= 2.3.20)
- MVCCaching.Base (>= 2.0.0)
- Newtonsoft.Json (>= 12.0.3)
- System.Memory (>= 4.5.4)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.7.1)
- System.ServiceModel.Primitives (>= 4.6.0)
- WebGrease (>= 1.6.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.