Model-View-Controller (MVC) Pattern
Understand the core architectural pattern that separates concerns, making applications more organized and maintainable.
- Clear separation of logic, presentation, and data.
- Enhanced testability and scalability.
- Promotes collaboration among developers.
Razor Pages
A simpler, page-centric approach to building web UI with ASP.NET Core. Ideal for form-based scenarios.
- Simplified handler methods.
- Directly bind properties to the view.
- Reduced boilerplate code.
Dependency Injection (DI)
Built-in support for DI allows for loosely coupled components, easier testing, and better code organization.
- Manage service lifecycles effectively.
- Register and resolve dependencies seamlessly.
- Improve code modularity.
Tag Helpers
Server-side code that lights up your HTML and Razor markup, making it easier to create HTML elements and attributes.
- Reduce reliance on HTML attributes.
- Improve code readability and maintainability.
- Built-in helpers for forms, links, and more.
Model Binding and Validation
Effortlessly bind incoming request data to your models and perform robust validation.
- Automatic binding from form data, route data, and query strings.
- Data Annotations for declarative validation.
- Custom validation logic.
Razor Syntax
A powerful and concise templating engine for creating dynamic HTML content.
- Embed server-side code within HTML.
- Use C# or VB.NET for logic.
- Excellent for rendering dynamic views.
Middleware Pipeline
Configure the request processing pipeline with a series of components (middleware) to handle requests and responses.
- Extensible and configurable.
- Handle cross-cutting concerns like authentication, logging, and routing.
- Order of middleware matters.
Entity Framework Core
A modern, open-source, cross-platform Object-Relational Mapper (ORM) for .NET.
- Simplified database access.
- Code-first, database-first, and model-first approaches.
- Powerful querying capabilities.