带有水晶石英调度程序的应用程序 ASP.NET 核心不适用于远程调度程序



我在.net core控制台应用程序中有一个调度程序,我想在asp net Core应用程序中插入Crystal Quartz Panel。

.net 核心控制台调度程序:Quartz 3.0.7asp .net Core app Quartz 3.0.7, CrystalQuartz.AspNetCore 6.8.1

当我运行应用程序asp网络核心时,程序被终止,消息进程由于堆栈溢出异常而终止。

这是我的一些石英.net核心康索尔应用程序

    "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 说你只能在完整的框架版本中使用 remote。

最新更新