MVCCaching.Base
1.0.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MVCCaching.Base --version 1.0.5
NuGet\Install-Package MVCCaching.Base -Version 1.0.5
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.Base" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MVCCaching.Base --version 1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MVCCaching.Base, 1.0.5"
#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.Base as a Cake Addin #addin nuget:?package=MVCCaching.Base&version=1.0.5 // Install MVCCaching.Base as a Cake Tool #tool nuget:?package=MVCCaching.Base&version=1.0.5
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)
- 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 builder = new ContainerBuilder();
// Register Dependencies for Cache
DependencyResolverConfig.Register(builder);
// Set Autofac Dependency resolver to the builder
DependencyResolver.SetResolver(new AutofacDependencyResolver(builder.Build()));
#endregion
- Optionally create an override the GetVaryByCustomString method to your Application (see the sample Globa.asax.cs GetVaryByCustomString method).
Installation for Kentico MVC Site (Manual)
- Install the
MVCCaching.Base
NuGet Package to your MVC Site - Go to the MVCCaching.Kentico Folder on GitHub
- Copy and include the Infrastructure into your Kentico MVC Site
- Add the code found in the Global.asax.cs Application_Start method into your application's Application_Start
- Optionally add the Globa.asax.cs GetVaryByCustomString method.
Usage
- See Documentation.md for full documentation
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net461 is compatible. net462 was computed. 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.
-
- Antlr (>= 3.5.0.2)
- Autofac (>= 3.5.2)
- Autofac.Extras.DynamicProxy2 (>= 3.0.7)
- Autofac.Mvc5 (>= 3.3.4)
- Kentico.AspNet.Mvc (>= 12.0.29)
- Microsoft.AspNet.Mvc (>= 5.2.3)
- Microsoft.CSharp (>= 4.4.1)
- Microsoft.Owin.Security (>= 3.1.0)
- Microsoft.Owin.Security.Cookies (>= 3.1.0)
- Microsoft.Owin.Security.OAuth (>= 3.1.0)
- Microsoft.Web.Xdt (>= 2.1.1)
- Newtonsoft.Json (>= 11.0.2)
- WebGrease (>= 1.6.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MVCCaching.Base:
Package | Downloads |
---|---|
MVCCaching.Kentico
MVC Caching implementation for Kentico Xperience 13 MVC (Full framework, not core). |
GitHub repositories
This package is not used by any popular GitHub repositories.
Downgraded Autofac and put back in DynamicProxy2 instead of DynamicProxy to prevent Castle.Core from reverting the bindings and erroring each time.