Skip to content
T

thread-abort-migration

Guides migration of .NET Framework Thread.Abort usage

by dotnetFree

#4367in AI Skills
0In stores

Description

thread-abort-migration is an agent skill that moves .NET Framework code off Thread.Abort. Thread.Abort throws PlatformNotSupportedException…

Highlights

  • Replaces Thread.Abort with cooperative cancellation
  • Handles ThreadAbortException catch blocks and ResetAbort calls
  • Fixes ASP.NET Response.End and Redirect aborts
  • Clears PlatformNotSupportedException and SYSLIB0006 warnings

Ratings & Reviews

No ratings yet

Be the first to rate thread-abort-migration.

People also visit

M

migrate-dotnet10-to-dotnet11

Migrate a .NET 10 project or solution to .NET 11

AI Skills
Get
M

migrate-dotnet8-to-dotnet9

Migrate a .NET 8 project to .NET 9 and resolve all breaking changes

AI Skills
Get
M

migrate-dotnet9-to-dotnet10

Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes

AI Skills
Get
D

dotnet-upgrade

Comprehensive prompts for analyzing, planning

AI Skills
Get
D

dotnet-skills

.NET skills and sub-agents for developer workflows

AI Skills
Get
D

dotnet-aot-compat

Make .NET projects compatible

AI Skills
Get

thread-abort-migration FAQ

Why do I need to migrate?

Thread.Abort throws PlatformNotSupportedException in .NET 6 and later, so code that calls it has to move to cooperative cancellation.

Does it cover ASP.NET?

Yes. It covers ASP.NET code that uses Response.End or Response.Redirect with the end-response flag, which call Thread.Abort internally.

Will it change code that does not need it?

No. If the code only uses Thread.Join, Thread.Sleep or Thread.Start, the skill says no migration is required.

How do I install it?

Run npx skills add https://github.com/dotnet/skills --skill thread-abort-migration in a terminal.

Which security audits has it passed?

Gen Agent Trust Hub Pass, Socket Pass, Snyk Pass.

What are the best thread-abort-migration alternatives?

Popular alternatives to thread-abort-migration include migrate-dotnet10-to-dotnet11, migrate-dotnet8-to-dotnet9 and migrate-dotnet9-to-dotnet10. See all thread-abort-migration alternatives

Developer Stuff

Badges