What problem does it solve?
This Skill helps developers build robust and efficient ASP.NET Core Razor Pages applications by providing best practices and code examples for common scenarios.
Core Features & Use Cases
- Page Model Structure: Demonstrates effective organization of PageModel classes.
- Form Handling: Illustrates handling forms with multiple submit actions and validation.
- Input Models: Shows how to create and validate input models for forms.
- Razor View Best Practices: Provides examples of Razor syntax, partial views, and layout usage.
- View Components & Tag Helpers: Guides on creating reusable UI and logic components.
- Use Case: A developer needs to create a new feature in an existing ASP.NET Core application that involves editing complex data through a web form. This Skill provides the patterns and code snippets to implement this efficiently and securely.
Quick Start
Use the razor-pages-expert skill to generate a C# PageModel for managing user profiles with fields for name, email, and role.