You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Michael Ketting edited this page Feb 1, 2023
·
1 revision
.NET Core no longer supports the automatic rethrow of ThreadAbortException. Web Forms uses ThreadAbortExceptions for control flow. Application code that catches these exceptions and fails to rethrow them will not work in these situations. A typical issue would be a catch-all block.
Any code path that may rely on HttpServerUtility.Transfer or ThreadAbortException must be reviewed with respect to the use of catch-all blocks. Catch-all blocks must then be updated to explicitly rethrow ThreadAbortException: