没有合适的资源?快使用搜索试试~ 我知道了~
Strathweb.CacheOutput:ASP.NET Web API CacheOutput-库,可用于缓存ApiCont...
共83个文件
cs:58个
config:7个
csproj:5个
需积分: 9 2 下载量 39 浏览量
2021-02-20
04:10:27
上传
评论
收藏 307KB ZIP 举报
温馨提示
ASP.NET Web API CacheOutput 一个小型库,将类似于MVC的“ OutputCacheAttribute”的缓存选项引入Web API操作。 CacheOutput将负责服务器端缓存,并为您设置适当的客户端(响应)标头。 您可以指定以下属性: ClientTimeSpan (对应于CacheControl MaxAge HTTP标头) MustRevalidate (与MustRevalidate HTTP标头相对应-指示原始服务器在缓存条目过时时是否需要在以后的任何使用中对缓存条目进行重新验证) ExcludeQueryStringFromCacheKey (不要按查询字符串值更改缓存) ServerTimeSpan (应在服务器端将响应缓存多长时间的时间) AnonymousOnly (仅当未设置Thread.CurrentPrincipal时才
资源推荐
资源详情
资源评论
收起资源包目录
Strathweb_CacheOutput-dev.zip (83个子文件)
Strathweb.CacheOutput-dev
RunDebugBuild.bat 29B
.gitattributes 483B
Build.bat 113B
Build.proj 1KB
License.txt 606B
src
WebApi.OutputCache.Core
IModelQuery.cs 148B
WebApi.OutputCache.Core.csproj 3KB
Properties
AssemblyInfo.cs 1KB
Cache
CacheExtensions.cs 559B
IApiOutputCache.cs 520B
MemoryCacheDefault.cs 2KB
Time
ThisMonth.cs 1KB
ShortTime.cs 1KB
ThisYear.cs 1KB
SpecificTime.cs 1KB
CacheTime.cs 313B
ThisDay.cs 1KB
Constants.cs 431B
WebApi.OutputCache.V2
CacheOutputAttribute.cs 16KB
IgnoreCacheOutputAttribute.cs 237B
packages.config 380B
ICacheKeyGenerator.cs 279B
DefaultCacheKeyGenerator.cs 4KB
InvalidateCacheOutputAttribute.cs 1KB
Properties
AssemblyInfo.cs 1KB
PerUserCacheKeyGenerator.cs 803B
WebApi.OutputCache.V2.csproj 5KB
HttpConfigurationExtensions.cs 306B
TimeAttributes
CacheOutputUntilThisYearAttribute.cs 925B
CacheOutputUntilCacheAttribute.cs 973B
CacheOutputUntilThisMonthAttribute.cs 830B
CacheOutputUntilToday.cs 653B
AutoInvalidateCacheOutputAttribute.cs 4KB
.gitignore 2KB
CacheOutputConfiguration.cs 4KB
BaseCacheAttribute.cs 512B
RunReleaseBuild.bat 31B
test
WebApi.OutputCache.V2.Tests
DefaultCacheKeyGeneratorTests.cs 2KB
InlineInvalidateTests.cs 3KB
WebApi.OutputCache.V2.Tests.csproj 7KB
CacheKeyGeneratorTests.cs 4KB
packages.config 738B
CacheKeyGenerationTestsBase.cs 3KB
ConfigurationTests.cs 3KB
app.config 666B
ConnegTests.cs 3KB
Properties
AssemblyInfo.cs 1KB
TestControllers
AutoInvalidateController.cs 945B
CustomHeadersController.cs 3KB
CacheKeyGenerationController.cs 947B
CacheKeyController.cs 1KB
AutoInvalidateWithTypeController.cs 995B
InlineInvalidateController.cs 2KB
IgnoreController.cs 432B
SampleController.cs 5KB
InvalidateTests.cs 11KB
CacheKeyGeneratorRegistrationTests.cs 5KB
CustomHeadersTests.cs 9KB
ServerSideTests.cs 26KB
ClientSideTests.cs 8KB
.gitignore 2KB
CustomHeadersContent.cs 2KB
MemoryCacheForTests.cs 1KB
PerUserCacheKeyGeneratorTests.cs 3KB
WebApi.OutputCache.Core.Tests
packages.config 129B
MemoryCacheDefaultTests.cs 2KB
Properties
AssemblyInfo.cs 1KB
WebApi.OutputCache.Core.Tests.csproj 3KB
README.md 15KB
sample
WebApi.OutputCache.V2.Demo
packages.config 493B
WebApi.OutputCache.V2.Demo.csproj 5KB
Program.cs 856B
TeamsController.cs 2KB
app.config 755B
Properties
AssemblyInfo.cs 1KB
IgnoreController.cs 509B
Teams2Controller.cs 2KB
Team.cs 197B
WebAPI.OutputCache.sln 4KB
.gitignore 1KB
.nuget
NuGet.exe 636KB
NuGet.targets 7KB
NuGet.Config 164B
共 83 条
- 1
资源评论
缪建明
- 粉丝: 42
- 资源: 4686
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功