Course duration
- 4 days
Course Benefits
- Understand the goals and benefits of the .NET Core platform
- Learn to make good decisions about application architecture and the choice of data access technology
- Use ASP.NET Core's routing system to achieve a REST-style architecture
- Learn how to build a compelling and maintainable HTML user interface using the Razor view engine and client-side JavaScript
- Gain experience using Blazor, Razor Pages, SignalR, and gRPC
- Learn how to extend and modify ASP.NET Core by creating custom components and templates
- Understand the different cross-platform deployment options available including via Docker containers
Course Outline
- Introduction
- What is .NET Core?
- .NET Core vs. Full Framework
- Overview of ASP.NET Core
- .NET Core SDK
- Installation
- Version Management
- Command-Line Interface (CLI)
- Hello World Application
- ASP.NET Core Application Architecture
- NuGet Packages and Metapackages
- Application Startup
- Hosting Environments
- Middleware and the Request Processing Pipeline
- Services and Dependency Injection
- MVC vs. Razor Pages
- Application Configuration
- Configure and ConfigureServices
- Configuration Providers and Sources
- Configuration API
- Options Pattern
- HTTPS and HTTP/2
- Request Routing
- RESTful Services
- Endpoint Routing
- Route Templates
- Route Constraints
- Attribute-Based Routing
- Models
- Persistence Ignorance
- Object-Relational Mapping
- Entity Framework (EF) Core
- Dapper ORM
- Controllers
- Responsibilities
- Requirements and Conventions
- Dependencies
- Action Results
- Views
- Responsibilities
- Conventions
- Razor Syntax
- Layouts
- ViewData and ViewBag
- Strongly-Typed Views
- Partial Views
- HTML and URL Helpers
- Tag Helpers
- View Components
- Client-Side Dependencies
- Razor Pages
- View Models
- HTML Forms
- Form Tag Helper
- Input Tag Helper
- Select Tag Helper
- Form Submissions
- Model Binding
- Data Validation
- Introduction
- Data Annotations
- Model Binding
- Input Tag Helpers
- Validation Tag Helpers
- Application State
- Client-Side vs. Server-Side
- HttpContext.Items
- Session State
- TempData
- Error Handling
- Best Practices
- HTTP Error Status Codes
- Status Code Pages
- Developer Exception Page
- Exception Filters
- Logging
- Configuration
- ILogger
- Serilog and Seq
- Testing
- Unit Testing
- xUnit
- Testing Controllers
- Integration Testing
- Authentication
- Introduction
- ASP.NET Core Identity
- Cookie Middleware
- Authorization
- Claims-Based Authorization
- Web APIs
- API Controllers
- Testing APIs
- CRUD Operations
- OpenAPI (Swagger)
- Cross-Origin Resource Sharing (CORS)
- Remote Procedure Calls (RPC)
- Introduction
- Protobuf
- Server
- Client
- Limitations
- Blazor
- Razon Components
- Blazor Server
- Blazor WebAssembly
- Deployment
- dotnet publish
- Kestrel
- IIS
- Docker
- Conclusion
Class Materials
Each student will receive a comprehensive set of materials, including course notes and all the class examples.
Class Prerequisites
Experience in the following is required for this ASP.NET class:
- Previous experience developing web-based applications with C#.
- Some familiarity with HTML, CSS, and JavaScript.
Since its founding in 1995, InterSource has been providing high quality and highly customized training solutions to clients worldwide. With over 500 course titles constantly updated and numerous course customization and creation possibilities, we have the capability to meet your I.T. training needs.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.