Hangfire.MemoryStorage:Hangfire的记忆体储存空间

时间:2024-06-12 22:10:32
【文件属性】:

文件名称:Hangfire.MemoryStorage:Hangfire的记忆体储存空间

文件大小:34KB

文件格式:ZIP

更新时间:2024-06-12 22:10:32

hangfire memory-storage C#

Hangfire.MemoryStorage Hangfire的内存存储( )。 它对于测试目的很有用,例如检查行为并在开发环境中使用它。 请注意: 它不应该在生产中使用(即使管理很多情况,也没有完整性和线程安全性)。 数据使用字典以静态方式存储在内存中(请参阅在存储创建时创建的数据) 如何使用MemoryStorage GlobalConfiguration.Configuration.UseMemoryStorage(); 示例:立即设置作业并执行。 创业班 public void ConfigureServices ( IServiceCollection services ) { // Add This services . AddHangfire ( config => { config . UseMemoryStorage (


【文件预览】:
Hangfire.MemoryStorage-master
----Hangfire.MemoryStorage.nuspec(1KB)
----LICENSE(11KB)
----src()
--------Hangfire.MemoryStorage()
----.gitignore(107B)
----Hangfire.MemoryStorage.sln(1KB)
----README.md(2KB)
----NuGet.Config(182B)

网友评论