Info
Version: | 1.0.26 |
Author(s): | Van Thoai Nguyen |
Last Update: | Wednesday, October 18, 2017 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/vanthoainguyen/Flatwhite |
NuGet Url: | https://www.nuget.org/packages/Flatwhite.Autofac |
Install
Install-Package Flatwhite.Autofac
dotnet add package Flatwhite.Autofac
paket add Flatwhite.Autofac
Flatwhite.Autofac Download (Unzip the "nupkg" after downloading)
Dependencies
- Flatwhite(>= 1.0.26)
- Autofac(>= 3.5.2)
- Castle.Core(>= 3.3.3)
Tags
You can create MethodFilterAttribute to add custom logic to any methods as soon as it is interceptable by Castle Dynamic Proxy. Flatwhite has 1 built-in OutputCacheFilter to cache method result which can auto refresh stale content.
You can use Flatwhite simply for caching or extending behavior of your methods such as profiling, logging by implement MethodFilterAttribute similar to MVC's ActionFilterAttribute. Flatwhite.Autofac is a Autofac support package for Flatwhite core.