书栈网 · BookStack 本次搜索耗时 0.012 秒,为您找到 104 个相关结果.
  • 配置

    5372 2018-06-23 《Hangfire中文文档》
    配置¶ 从1.4版本开始, GlobalConfiguration 类是配置Hangfire的首选方式.这里有一些重要入口方法,包括来自第三方存储实现或其他扩展。 用法很简单,在应用程序初始化类中包含 Hangfire 命名空间, 在 GlobalConfiguration.Configuration 属性中使用这些扩展方法。 例如, 在 ASP.NE...
  • 快速开始

    8845 2018-06-23 《Hangfire中文文档》
    快速开始¶ 安装¶ 配置¶ 用法¶ 新增一个任务…¶ Fire-and-forget¶ Delayed¶ Recurring¶ Continuations¶ … 请放心¶ 快速开始¶ 安装¶ 在nuget上有关于Hangfire的 一系列软件包 。 要使用 SQL Server 存储将Hangfire安装到 ASP.NET ...
  • Processing jobs in a console application

    1281 2018-06-23 《Hangfire英文文档》
    Processing jobs in a console application¶ To start using Hangfire in a console application, you’ll need to install Hangfire packages to your console application first. So, use yo...
  • Installation

    Installation¶ Hangfire project consists of a couple of NuGet packages available on NuGet Gallery site . Here is the list of basic packages you should know about: Hangfire – bo...
  • 在控制台应用程序中处理任务

    3258 2018-06-08 《hangfire 中文文档》
    在控制台应用程序中处理任务¶ 要在控制台应用程序中开始使用Hangfire,您需要首先将Hangfire包安装到控制台应用程序。因此,使用您的软件包管理器控制台窗口进行安装: PM > Install - Package Hangfire . Core 然后添加任务存储安装所需的软件包。例如,使用SQL Server:...
  • Configuring logging

    Configuring logging¶ Starting from Hangfire 1.3.0, you are not required to do anything , if your application already uses one of the following libraries through the reflection (s...
  • Processing jobs in a web application

    Processing jobs in a web application¶ Ability to process background jobs directly in web applications is a primary goal of Hangfire. No external application like Windows Service ...
  • Processing jobs in a Windows Service

    Processing jobs in a Windows Service¶ To start using Hangfire in a Windows Service, you’ll need to install Hangfire packages to your console application first. So, use your Packa...
  • 使用 SQL Server 搭配 MSMQ

    4494 2018-06-23 《Hangfire中文文档》
    使用 SQL Server 搭配 MSMQ¶ 安装¶ 配置¶ 限制¶ 切换到MSMQ队列¶ 使用 SQL Server 搭配 MSMQ¶ Hangfire.SqlServer.MSMQ 这个扩展更改了Hangfire处理作业队列的方式。与SQL Server默认的 实现 队列的常规方法不同, 它使用事务性MSMQ队列,更有效地处理任务: ...
  • 使用 Redis

    6964 2018-06-23 《Hangfire中文文档》
    使用 Redis¶ 仅限 Pro 从Hangfire 1.2开始,此功能是 Hangfire Pro 软件包的一部分。 使用Redis存储的Hangfire比使用SQL Server存储执行任务快得多。在我的开发机器上,我观察到执行同样的空白任务(不做任何事情的方法),吞吐量改善4倍多。 Hangfire.Pro.Redis 利用 BRPOPLPU...