我在.net核心控制台应用程序中有一个调度程序,我想在asp net Core应用程序中插入Crystal Quartz Panel。
.net核心控制台调度程序:Quartz 3.0.7 asp .net核心应用程序Quartz 3.0.7,CrystalQuartz.AspNetCore 6.8.1
当我运行app asp net core时,程序终止,消息由于StackOverflowException,进程正在终止。
这是我的一些Quartz .net Core控制台应用程序
"quartz.threadPool.type": "Quartz.Simpl.SimpleThreadPool, Quartz",
"quartz.threadPool.threadCount": "5",
"quartz.threadPool.threadPriority": "Normal",
"quartz.scheduler.exporter.type":
"Quartz.Simpl.RemotingSchedulerExporter, Quartz",
"quartz.scheduler.exporter.channelType": "tcp",
"quartz.scheduler.exporter.bindName": "QuartzScheduler",
"quartz.scheduler.exporter.port": 666
这是我在aspnet核心中的中间件
app.UseCrystalQuartz(new RemoteSchedulerProvider()
{
SchedulerHost = "tcp://localhost:666/QuartzScheduler",
});
文档https://www.quartz-scheduler.net/documentation/quartz-3.x/migration-guide.html说你只能在完整的框架版本中使用远程。