EaCloud.Hangfire 6.0.0.4

Install-Package EaCloud.Hangfire -Version 6.0.0.4
dotnet add package EaCloud.Hangfire --version 6.0.0.4
<PackageReference Include="EaCloud.Hangfire" Version="6.0.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EaCloud.Hangfire --version 6.0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EaCloud.Hangfire, 6.0.0.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install EaCloud.Hangfire as a Cake Addin
#addin nuget:?package=EaCloud.Hangfire&version=6.0.0.4

// Install EaCloud.Hangfire as a Cake Tool
#tool nuget:?package=EaCloud.Hangfire&version=6.0.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

EaCloud Hangfire 后台任务组件

说明

EaCloud Hangfire 后台任务组件,封装基于 Hangfire 后台任务的服务端实现。

用法

可按照如下配置方式使用:

  1. 通过nuget引用 EaCloud.Hangfire 程序集

Install-Package EaCloud.Hangfire 2. 在 appsettings.json 中添加如下配置节点

{
   "Hangfire": {
     "ServerName": "EaCloudHangfire", //服务器名称
     "WorkerCount": 20, //并发任务数  --超出并发数。将等待之前任务的完成  (推荐并发线程是cpu 的 5倍)
     "StorageType": "Sqlserver", //存储类型:"Sqlserver"、"PostgreSql"、"SQLite"、"MySql"、"Oracle"、"Mongo"、"Redis"、"Memory"
     //存储连接字符串:指定的数据库名必须已经存在,可以手动创建空数据库或者使用当前数据库
     "StorageConnectionString": "Data Source=127.0.0.1;Initial Catalog=EaCloudDEV.Hangfire;User ID=sa;Password=p@ssw0rd;Pooling=true;Min Pool Size=1;Max Pool Size=60;Integrated Security=false;Connect Timeout=60;Application Name=EaCloud",
     "DashboardUrl": "/hangfire", //仪表盘URL路径
     "AuthorizationType": "Basic", //授权访问类型:"Anonymous"、"Basic"
     //Hangfire基本身份验证的选项,当 AuthorizationType = "Basic" 时生效。
     "BasicOptions": {
       "SslRedirect": false, //SSL重定向
       "RequireSsl": false, //需要SSL连接才能访问Hangfire Dashboard
       "LoginCaseSensitive": false, //登录检查是否区分大小写
       //访问Hangfire仪表板的用户列表
       "Users": [
         {
           //登录名
           "UserId": "manager",
           //登录密码
           "Password": "p@ssw0rd"
         }
       ]
     },
     "Enabled": true //是否启用
   } 
}
  1. 要禁用Hangfire,可以设置Enabled: false

NuGet packages (1)

Showing the top 1 NuGet packages that depend on EaCloud.Hangfire:

Package Downloads
EaCloud.Pack.IM

EaCloud 即时通讯模块,封装即时消息收发及消息记录管理功能。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.0.4 52 1/13/2022
6.0.0.3 69 1/12/2022
6.0.0.2 335 12/21/2021
6.0.0.1 486 12/13/2021
5.0.3.7 715 10/16/2021
5.0.3.6 439 10/14/2021
5.0.3.5 490 10/13/2021
5.0.3.4 573 10/8/2021
5.0.3.3 491 9/17/2021
5.0.3.2 479 9/16/2021
5.0.3.1 384 9/15/2021
5.0.2.9 444 9/15/2021
5.0.2.8 508 8/31/2021
5.0.2.7 483 8/28/2021
5.0.2.6 479 8/22/2021
5.0.2.5 449 8/13/2021
5.0.2.4 422 8/13/2021
5.0.2.3 482 7/8/2021
5.0.2.2 428 7/1/2021
5.0.2.1 519 6/16/2021
5.0.1.9 413 5/12/2021
5.0.1.8 313 5/9/2021
5.0.1.7 475 5/7/2021
5.0.1.6 478 4/17/2021
5.0.1.5 413 4/16/2021
5.0.1.4 416 4/15/2021
5.0.1.3 397 4/15/2021
5.0.1.2 449 4/12/2021
5.0.1.1 462 4/8/2021