migrating-mvc-static-files Skill
Migrates ASP.NET MVC static file serving and virtual path providers to ASP.NET Core conventions. Moves Content/, Scripts/, and AppData/ folders into wwwroot/, configures UseStaticFiles middleware, and replaces VirtualPathProvider with IFileProvider and EmbeddedFileProvider. Use when upgrading MVC apps that serve CSS fr Published by microsoft in upgrade-agent-plugins.
What is migrating-mvc-static-files Skill?
Migrates ASP.NET MVC static file serving and virtual path providers to ASP.NET Core conventions. Moves Content/, Scripts/, and AppData/ folders into wwwroot/, configures UseStaticFiles middleware, and replaces VirtualPathProvider with IFileProvider and EmbeddedFileProvider. Use when upgrading MVC apps that serve CSS fr Published by microsoft in upgrade-agent-plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Security review
- Security review use cases
Technical details
- Install or run with Copy skill directory
When to use migrating-mvc-static-files Skill
- Use it for security review.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/upgrade-agent-plugins
- Skill file: plugins/upgrade-agent/extenders/upgrade-dotnet/upgrade/skills/lazy/web/mvc/migrating-mvc-static-files/SKILL.md
What it does
Migrates ASP.NET MVC static file serving and virtual path providers to ASP.NET Core conventions. Moves Content/, Scripts/, and AppData/ folders into wwwroot/, configures UseStaticFiles middleware, and replaces VirtualPathProvider with IFileProvider and EmbeddedFileProvider. Use when upgrading MVC apps that serve CSS fr
Skill instructions
ASP.NET MVC Static Files and Asset Serving Migration Overview ASP.NET Framework serves any file from the project root automatically. ASP.NET Core does not — static files are only served from wwwroot/ by default, and the UseStaticFiles middleware must be explicitly registered. This skill migrates the folder layout, configures the middleware, and replaces VirtualPathProvider with IFileProvider. Related skill: migrating-mvc-bundling handles bundle reference conversion. Complete bundling migration first so the files referenced by <script/<link tags are already in wwwroot/. Workflow Track progress across these steps: Migration Progress: - [ ] Step 1: Audit existing static file locations - [ ] Step 2: Create wwwroot structure and move files - [ ] Step 3: Register static file middleware - [ ] Step 4: Update path references in views and code - [ ] Step 5: Migrate VirtualPathProvider to IFileProvider - [ ] Step 6: Configure files outside wwwroot (if needed) - [ ] Step 7: Remove legacy folder re
Explore related resources
Frequently asked questions
What is migrating-mvc-static-files?
migrating-mvc-static-files is a open-source AI agent skill with Copy skill directory. Migrates ASP.NET MVC static file serving and virtual path providers to ASP.NET Core conventions.
Who is migrating-mvc-static-files best for?
migrating-mvc-static-files is best for reusing agent instructions, scripts, and references, security review workflows.
How do I install migrating-mvc-static-files?
Install or run migrating-mvc-static-files using Copy skill directory. Check migrating-mvc-static-files for the latest setup command.
Is migrating-mvc-static-files actively maintained?
migrating-mvc-static-files may need a closer maintenance check before production use.
Auto-fetched from GitHub.