ASP.NET Core – Building web applications on .NET (ASP2)

Programming, .NET

This practical course teaches developers how to build web applications using ASP.NET Core, covering REST APIs, MVC, Razor Pages and Blazor. You will learn project structure, middleware basics, DI and service lifetimes to design maintainable systems for real projects.

You will explore application lifecycle and the request/response pipeline, working with middleware, routing and error handling. The course covers data access with EF Core, user management via Identity and options for deployment, debugging and developer tools.

THIS TRAINING COURSE WILL HELP YOU:

  • Build MVC, Razor Pages, Blazor and REST API applications
  • Understand request/response pipeline and middleware
  • Use DI and manage service lifetimes effectively
  • Implement auth with Identity and handle errors and logs
  • Deploy apps to IIS, Azure, Docker and other platforms

WHO SHOULD ATTEND?

  • C# developers starting web development with ASP.NET Core
  • Developers experienced with Web Forms or older MVC
  • Engineers wanting to learn Razor Pages or Blazor

COURSE LOCATION AND AVAILABLE DATES



Choose whether to attend in person in our classroom or join online. You can select your preferred format during registration. Learn more about hybrid training.

Public courses are usually delivered in Czech, but this course is also available in English. We can arrange private training for your team online, at your premises or in our classrooms, and tailor the content to your needs.

For groups of around 4 or more participants, private training can already be comparable in price to booking individual places on a public course. Send us your requirements and we’ll recommend the best format and provide an exact quote.

Request training in English

Course content:

Hide details
  • Introduction to ASP.NET Core
    1. Overall architecture and its place in the wider ecosystem
    2. Overview of app types: MVC, Razor Pages, Blazor, REST API, Minimal APIs, gRPC
  • Application lifecycle
    1. How request/response works
    2. ASP.NET Core pipeline
    3. Middleware (using built-in and writing custom)
    4. Controller as the basic organizational unit
  • Dependency Injection & Services
    1. Using and creating services
    2. Scopes and lifetimes (Singleton, Scoped, Transient)
  • Authorization and Authentication with Identity
    1. Use the full template or only parts (e.g., without UI)
    2. Customizing the default UI template
    3. Configuration options and behavior modification
  • Exceptions and logging
    1. Working with exceptions and errors
    2. HTTP response status codes and external communication
    3. Logging errors and custom messages
    4. Popular logging libraries and tools
  • Routing
    1. Ways to map URLs to code (endpoints, function mapping, controllers)
    2. Parameters and binding (constraints, model binding)
    3. Helpers and tag helpers for creating links
  • Data layer
    1. Introduction to Entity Framework Core
    2. How to configure and use EF Core in ASP.NET Core apps
    3. Best practices and practical advice
  • Validation
    1. Principles of validation
    2. User input validation (client vs server)
    3. Database-side validation using EF Core
  • Debugging applications
    1. Stepping through actions and finding bugs
    2. Inspecting values of the current request
  • Building APIs
    1. Choosing an approach: Controllers vs Minimal APIs
    2. Routing and HTTP methods (GET, POST, PUT, DELETE)
    3. Working with data and model binding
    4. Securing APIs
    5. OpenAPI documentation (Swashbuckle / Swagger)
  • Building web applications (MVC and Razor Pages)
    1. Choosing an approach: MVC vs Razor Pages vs Blazor
    2. Project architecture and organization
    3. Views and Razor syntax — embedding C# in HTML
    4. Layer integration and communication
    5. Passing parameters between forms and code
  • Blazor applications
    1. Differences compared to other app types
    2. SignalR and the Blazor lifecycle
    3. Blazor Server vs WebAssembly
    4. SSR (server-side rendering)
    5. Demo of a simple application
  • gRPC applications
    1. Origins and motivation for gRPC
    2. Comparison with REST, WCF, JSON-RPC
    3. Example client and server in ASP.NET Core
  • Deploying web applications (publish, deploy)
    1. To IIS (Windows Server)
    2. To cloud (Azure)
    3. Docker
    4. Hosting in a self-contained process
  • Using Visual Studio
    1. Project navigation
    2. Code generation (scaffolding)
    3. Extensions
    4. Visual Studio vs VS Code
    5. Working with NuGet packages
  • Additional / advanced topics
    1. Synchronous vs asynchronous methods in ASP.NET Core
    2. Background services
    3. Service providers (built-in and custom)
    4. HttpClient and HttpClientFactory
    5. Service scope management
    6. Working with HttpContext
    7. Environments (development vs production)
    8. Handling sensitive data (passwords, connection strings)
Prerequisites:
Required knowledge of C# and the .NET environment.
Recommended previous course:
C# – Fundamentals of Programming (CNET1)
Schedule:
3 days (9:00-17:00)
Price per person:
564.00 € ( 682.44 € incl. 21% VAT)

Training and learning environment