In a .NET 9 Web API app (and also a stand alone .NET 9 web app).
When using the Companion app to preview a PDF from QuestPDF, after calling doc.ShowInCompanion(); the calling application will be paused on that call, waiting for the Companion app to return.
This makes using the Companion difficult at best, as I need to stop and re-run my app to get control back.
Execution will pause at the doc.ShowInCompanion(); statement and never return. The following Console.WriteLine statement will never execute.
In a .NET 9 Web API app (and also a stand alone .NET 9 web app).
When using the Companion app to preview a PDF from QuestPDF, after calling
doc.ShowInCompanion();the calling application will be paused on that call, waiting for the Companion app to return.This makes using the Companion difficult at best, as I need to stop and re-run my app to get control back.
Execution will pause at the
doc.ShowInCompanion();statement and never return. The followingConsole.WriteLinestatement will never execute.