Section 6: Lab: Service Layer, DTOs and Paging
- Move business logic into services registered through DI
- Send and receive data with DTOs instead of entities
- Search, sort and page data
- Logging and central error handling
- Lab: a product API with search and paging
Section 7: Lab: EF Core with PostgreSQL and MongoDB
- EF Core providers and choosing package versions that match
- Switch to PostgreSQL with Npgsql and a new set of migrations
- Use MongoDB through the MongoDB EF Core Provider, and how it differs from relational databases
- Options for MySQL and checking which provider versions are supported
- Lab: switch the API's database through connection strings and configuration
Section 8: Lab: Getting Started with Angular 22
- Create a project with ng new and explore the files
- Standalone components and template syntax
- signal(), computed() and zoneless change detection
- Control flow with @if, @for and @switch
- Lab: a product list page from mock data
Section 9: Lab: Routing and Layout with Angular Material
- Install Angular Material with ng add and choose a theme
- Layout with a toolbar, sidenav and menus
- Routes, RouterLink and lazy loading
- Route parameters through component inputs
- Lab: an admin layout with menus for every page
Section 10: Lab: Forms with Signal Forms
- Build a form from a signal model with form()
- Built-in validation and custom rules
- Use Angular Material form fields with Signal Forms
- Compare with Reactive Forms, still common in existing systems
- Lab: add and edit product forms with validation