Answers for "c# AllowSynchronousIO to true"

C#
1

c# AllowSynchronousIO to true

public void ConfigureServices(IServiceCollection services)
{
    // If using Kestrel:
    services.Configure<KestrelServerOptions>(options =>
    {
        options.AllowSynchronousIO = true;
    });

    // If using IIS:
    services.Configure<IISServerOptions>(options =>
    {
        options.AllowSynchronousIO = true;
    });
}
Posted by: Guest on June-10-2020

Code answers related to "c# AllowSynchronousIO to true"

C# Answers by Framework

Browse Popular Code Answers by Language