-
Notifications
You must be signed in to change notification settings - Fork 437
Open
Description
Hello,
I am working on ASP.NET Core v2.1.
I am able to generate PDF for the first time, but subsequent request hangs.
Please note, I've declare SynchronizedConverter as singleton in Startup.cs
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
services.AddDbContext<OCDBContext>(options => options.UseSqlServer(Configuration.GetConnectionString("DefaultConnection")));
services.AddSingleton(typeof(IConverter), new SynchronizedConverter(new PdfTools()));
services.AddMvc().AddSessionStateTempDataProvider();
services.AddSession();
Please suggest how to solve this issue.
tonymk and TropinAlexey
Metadata
Metadata
Assignees
Labels
No labels