This patch release includes a fix allowing Elsa Dashboard to be hosted in IIS.
The reason the dashboard application could not be hosted in IIS was due to the fact that IServer
was being decorated, causing some IIS startup filter to fail with an exception message along the lines of: "Running in an IIS process but the server is not configured to run in IIS".
The reason IServer
was decorated was to implement a startup task runner that would execute before the web server starts accepting requests.
However, with .NET Core 3, we can use IHostedService
to implement async initialization tasks.
For more information, see Andrew Lock's blog post