带有Crystal Quartz调度程序的App ASP.NET Core无法与远程调度程序一起使用

问题描述 投票:0回答:1

我在.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",
            });
c# .net asp.net-core .net-core quartz-scheduler
1个回答
0
投票

文档https://www.quartz-scheduler.net/documentation/quartz-3.x/migration-guide.html说你只能在完整的框架版本中使用远程。

© www.soinside.com 2019 - 2024. All rights reserved.