MVCCaching.Kentico 12.0.29

Kentico Code (Files only) for MVC Caching to be implemented.  Still requires Global.asax.cs modifications to fully implement (see Project Site's instructions).  These are just the base files, and not compiled since you may want to modify them.  Use caution if you do any updates on this package that any changes are not overwritten (default nuget behavior is no overwrite if modified).

There is a newer version of this package available.
See the version list below for details.
Install-Package MVCCaching.Kentico -Version 12.0.29
dotnet add package MVCCaching.Kentico --version 12.0.29
<PackageReference Include="MVCCaching.Kentico" Version="12.0.29" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MVCCaching.Kentico --version 12.0.29
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MVCCaching.Kentico, 12.0.29"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=12.0.29

// Install MVCCaching.Kentico as a Cake Tool
#tool nuget:?package=MVCCaching.Kentico&version=12.0.29
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MVC Caching

MVC Caching for Kentico MVC, 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)

  1. Install the MVCCaching.Kentico NuGet Package to your MVC Site
  2. Add this to your Global.asax.cs's Application_Start
        #region "AutoFac Cache and other dependency injections"

        // Register AutoFac Items
        var builder = new ContainerBuilder();

        // Register Dependencies for Cache
        DependencyResolverConfig.Register(builder);

        // Set Autofac Dependency resolver to the builder
        DependencyResolver.SetResolver(new AutofacDependencyResolver(builder.Build()));

        #endregion
  1. Optionally create an override the GetVaryByCustomString method to your Application (see the sample Globa.asax.cs GetVaryByCustomString method).

Installation for Kentico MVC Site (Manual)

  1. Install the MVCCaching.Base NuGet Package to your MVC Site
  2. Go to the MVCCaching.Kentico Folder on GitHub
  3. Copy and include the Infrastructure into your Kentico MVC Site
  4. Add the code found in the Global.asax.cs Application_Start method into your application's Application_Start
  5. Optionally add the Globa.asax.cs GetVaryByCustomString method.

Usage

  1. See Documentation.md for full documentation

MVC Caching

MVC Caching for Kentico MVC, 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)

  1. Install the MVCCaching.Kentico NuGet Package to your MVC Site
  2. Add this to your Global.asax.cs's Application_Start
        #region "AutoFac Cache and other dependency injections"

        // Register AutoFac Items
        var builder = new ContainerBuilder();

        // Register Dependencies for Cache
        DependencyResolverConfig.Register(builder);

        // Set Autofac Dependency resolver to the builder
        DependencyResolver.SetResolver(new AutofacDependencyResolver(builder.Build()));

        #endregion
  1. Optionally create an override the GetVaryByCustomString method to your Application (see the sample Globa.asax.cs GetVaryByCustomString method).

Installation for Kentico MVC Site (Manual)

  1. Install the MVCCaching.Base NuGet Package to your MVC Site
  2. Go to the MVCCaching.Kentico Folder on GitHub
  3. Copy and include the Infrastructure into your Kentico MVC Site
  4. Add the code found in the Global.asax.cs Application_Start method into your application's Application_Start
  5. Optionally add the Globa.asax.cs GetVaryByCustomString method.

Usage

  1. See Documentation.md for full documentation

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
13.0.0 145 11/13/2020
12.29.5 412 7/9/2020
12.29.4 359 5/29/2020
12.29.3 418 4/9/2020
12.29.2 224 3/30/2020
12.29.1 363 3/9/2020
12.29.0 521 9/24/2019
12.0.29 223 9/24/2019
1.0.0 225 9/24/2019
Show less