migrating-mvc-static-files

Official

Streamline MVC static file migration to ASP.NET Core conventions

Authormicrosoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the migration of ASP.NET MVC applications to ASP.NET Core by reorganizing static files and configuring middleware for efficient asset serving.

Core Features & Use Cases

  • Static File Reorganization: Moves Content/, Scripts/, and App_Data/ folders into wwwroot/ and configures UseStaticFiles middleware.
  • VirtualPathProvider Replacement: Transitions from VirtualPathProvider to IFileProvider and EmbeddedFileProvider.
  • Use Case: Ideal for upgrading MVC apps that serve CSS from ~/Content/, JS from ~/Scripts/, use VirtualPathProvider, serve embedded resources, or store files in App_Data/.

Quick Start

Migrate your MVC static files to ASP.NET Core by running the migrating-mvc-static-files skill.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: migrating-mvc-static-files
Download link: https://github.com/microsoft/upgrade-agent-plugins/archive/main.zip#migrating-mvc-static-files

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.