ASP.NET Core v1.0과 함께 Hangfire.AspNetCore를 사용하고 있습니다.대시 보드없이 HangFire 사용
내 데이터베이스는 SqlLite입니다.
내가 아는 한, hangfire for .NET 코어를위한 적절한 SQLite 드라이버가 없습니다.
그래서 대시 보드없이 작업하기로 결정했습니다. ConfigureServices
방법
services.AddHangfire(configuration => {});
에,
에서 Startup.cs 그리고 Configure
방법으로,이
app.UseHangfireServer();
을 사용하고 있습니다 :
그래서, 내가 무엇을 구성한하면 다음과 같다
하지만 다음 오류가 발생합니다 :
An exception of type 'System.InvalidOperationException' occurred in Hangfire.Core.dll but was not handled in user code
Additional information: JobStorage.Current property value has not been initialized. You must set it before using Hangfire Client or Server API.
내가 대시 보드를 필요가 없습니다, 그래서 대시 보드를 구성하지 않았다.
아무도 도와 줄 수 있습니까?