使用hangfire在xunit中
2024-09-07 15:55:41
框架为:abp
hangfire配置连接:https://aspnetboilerplate.com/Pages/Documents/Hangfire-Integration
在单元测试中如何配置呢?
1.我认为首先要配置测试类库的module
[DependsOn(typeof (AbpHangfireAspNetCoreModule))]
public class MyProjectWebModule : AbpModule
{
public override void PreInitialize()
{
Configuration.BackgroundJobs.UseHangfire();
} //...
}
2.TO DO
最新文章
- Chrome Developer Tools:Timeline Panel说明
- poj 2724 Purifying Machinef
- js'中的apply和call和bind的用法
- Mac系统下配置Tomcat
- Delphi写的DLL回调C#
- android_Activity之Button_OnClickListener
- Silverlight页面通过继承扩展实现
- C++ sizeof操作符的用法和strlen函数的区别
- supervisor---------------------------------常用
- CodeForces 276D – Little Girl and Maximum XOR 贪心
- split()方法
- 【Python实践-1】求一元二次方程的两个解
- Linux基础命令---dmeg显示内核输出
- sql多表数据查询
- UVALive5874 - Social Holidaying-二分图匹配/匈牙利算法
- Open Source Log Management
- HTML图片热区map area的用法
- centos7环境下的Mysql5.7.22安装
- P1776 宝物筛选_NOI导刊2010提高(02)
- nginx: [error] invalid PID number “” in “/usr/local/var/run/nginx/nginx.pid”