Flatwhite is an AOP library with MVC and WebAPI ActionFilter style using Castle dynamic proxy.
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.
DependenciesThis package has 0 dependencies.
2 packages depend on this package.
dotnet add package Flatwhite
paket add Flatwhite