MVCCaching.Kentico
13.0.0
dotnet add package MVCCaching.Kentico --version 13.0.0
NuGet\Install-Package MVCCaching.Kentico -Version 13.0.0
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="MVCCaching.Kentico" Version="13.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MVCCaching.Kentico --version 13.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MVCCaching.Kentico, 13.0.0"
#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 MVCCaching.Kentico as a Cake Addin #addin nuget:?package=MVCCaching.Kentico&version=13.0.0 // Install MVCCaching.Kentico as a Cake Tool #tool nuget:?package=MVCCaching.Kentico&version=13.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- 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)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Upgraded to Xperience 13.