guryanovev / CrystalQuartz

pluggable UI for Quartz.NET
MIT License
1.01k stars 313 forks source link

Upgrade to .net core 3.0 #84

Closed heyixiaoran closed 4 years ago

heyixiaoran commented 5 years ago

It seems doesn't support .net core 3.0. After I update my project to .net core 3.0. I can't open the dashboard. Will it upgrade to support .net core 3.0 ?

dumse commented 5 years ago

I can confirm that. There is a problem with synchronous IO. I was able to start the dashboard after this:

public void ConfigureServices(IServiceCollection services) { services.AddControllersWithViews();

        services.Configure<IISServerOptions>(options =>
        {
            options.AllowSynchronousIO = true;
        });

}

heyixiaoran commented 5 years ago

@dumse Ths. I try it as your code. It's ok.

fanc-mso commented 4 years ago

Just to add to this, if using Kestrel instead of IIS (for self-hosting in a windows service for example), Kestrel also supports this option:

.ConfigureWebHostDefaults(builder =>
                {
                    builder.UseStartup<Startup>();
                    builder.UseKestrel(options =>
                    {
                        options.AllowSynchronousIO = true;
                    });
                })
heyixiaoran commented 4 years ago

@fanc-mso ths . I like kestrel.