mcpField
L
legacy-aspnet

legacy-aspnet

github.com/managedcodeDevelopment49640 installsUpdated today
Repository

About legacy-aspnet

A skill for maintaining classic ASP.NET applications and planning modernization, including Web Forms and legacy MVC. It focuses on preserving existing behavior and moving replaceable parts incrementally rather than rewriting the entire application.

Key features

  1. 01Stabilize routing, session, and auth
  2. 02Review IIS configuration and lifecycle
  3. 03Isolate domain and service logic
  4. 04Migrate incrementally at replaceable seams
  5. 05Validate in an IIS-like environment

Use cases

  1. 01Maintain a Web Forms application
  2. 02Review classic ASP.NET deployment configuration
  3. 03Plan an incremental move to ASP.NET Core

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/managedcode/dotnet-skills --skill legacy-aspnet

After installing, type/legacy-aspnetin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

manifest.json
references/
migration.md
patterns.md

Details

From the project README

Legacy ASP.NET

Trigger On

  • working in Web Forms, legacy MVC, or classic ASP.NET applications
  • reviewing old IIS-centric configuration and lifecycle behavior
  • planning migration toward ASP.NET Core without breaking core business flows

Workflow

  1. Treat classic ASP.NET as a distinct stack with different hosting, lifecycle, and configuration rules from ASP.NET Core.
  2. Stabilize behavior first: routing, session, auth, server controls, configuration transforms, and deployment assumptions.
  3. Plan modernization in seams: isolate domain and service logic, then move replaceable edges instead of rewriting the whole app at once.
  4. Use wcf or entity-framework6 when the legacy app depends on those subsystems rather than flattening them into generic web work.
  5. Be careful with guidance copied from ASP.NET Core because middleware, DI, and hosting assumptions do not transfer directly.
  6. Validate in an environment that resembles real IIS and configuration transforms.

Deliver

  • practical maintenance guidance for classic ASP.NET
  • stabilized legacy behavior and modernization seams
  • a migration path that avoids unnecessary risk

Validate

  • classic and Core guidance are not mixed
  • legacy runtime assumptions are preserved deliberately
  • migration steps are incremental and testable

References

  • Migration Paths: strategies for migrating from ASP.NET to ASP.NET Core, including incremental migration, strangler fig pattern, and component-specific guidance
  • Maintenance Patterns: stabilization and maintenance patterns for legacy ASP.NET code, including abstraction layers, testing seams, and deployment practices

Comments

Markdown supported