a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

migrating-mvc-filters

Migrates ASP.NET MVC global filters and custom AuthorizeAttribute subclasses to ASP.NET Core middleware, authorization policies, and filters. Use for GlobalFilterCollection, FilterConfig, HandleErrorAttribute, IActionFilter/IExceptionFilter conversion, or overrides of AuthorizeCore, OnAuthorization, and HandleUnauthorizedRequest. Covers inherited…

Full publisher description

Migrates ASP.NET MVC global filters and custom AuthorizeAttribute subclasses to ASP.NET Core middleware, authorization policies, and filters. Use for GlobalFilterCollection, FilterConfig, HandleErrorAttribute, IActionFilter/IExceptionFilter conversion, or overrides of AuthorizeCore, OnAuthorization, and HandleUnauthorizedRequest. Covers inherited controller authorization, role/claim equivalence, TempData redirects, response headers, and explicit challenge schemes. Also triggers for MVC-to-Core filter conversion, custom authorization filter migration, global error handling, and UseExceptionHandler setup.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

microsoft/upgrade-agent-plugins

plugins/upgrade-agent/upgrade/dotnet/skills/lazy/web/mvc/migrating-mvc-filters/SKILL.md

Pinned revision cede9dcfbc09a06f0e63652e64fc7545ce5fe1df

Source checked

Reviewed licence: LicenseRef-Microsoft-Copilot-Modernization-Preview
Repository default at the reviewed revision: Visual Studio development/testing only; preview expiry, confidentiality and no-sharing/distribution restrictions apply. Copilot access has separate terms.

Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.

This skill page is available in English. Publisher instructions stay in their original language.