Skip to content
Discussion options

You must be logged in to vote

If an exception is not handled, the runtime gets a chance to deal with this. What happens is implementation defined.

With a console application you'll see the application to stop and to show the exception.
With background services, there's a breaking change with .NET 6 to also stop the application - more information on this:

Unhandled exceptions from a BackgroundService

Does this help?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by christiannagel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #111 on July 02, 2022 17:18.