Skip to content

tohidazizi/aspnetwebapi-outputcache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

ASP.NET Web API OutputCache

A simple filter bringing caching options, similar to MVC's "OutputCacheAttribute" to Web API ApiControllers.

Usage:

    [WebApiOutputCache(duration: 120)]
    public IEnumerable<string> Get()
    {
        return new string[] { "value1", "value2" };
    }

    [WebApiOutputCache(cacheProfile: "cache2min")]
    public string Get(int id)
    {
        return "value";
    }

More feature is comming....

About

aspnetwebapi-outputcache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%