.NET 9 WebAPI

Programming

COURSE OVERVIEW


This training will focus on building RESTful services in .NET environment both controller-based and minimal approaches.


Prerequisite


Core and Advanced C# 13 and .NET 9 Development Training


Duration:             32 HRS / 4 DAYS

Level:                                Advanced

Delivery Method:         Classroom-based, Virtual Instructor Led Training


black computer keyboard

Description

COURSE OUTLINE


Day 1    Learning the Controller-based WebAPI


·      Creating the WebAPI base project

  • o  Understanding the WebApplication builder and Services
  • o  Understanding the middlewares
  • o  Learning the Filters
  • o  Knowing the correct server (Kestrel by default)
  • o  Managing the CORS


·      The dependency injections

·      Creating the WebAPI controllers

·      Implementing the HTTP methods for API transactions

·      Understanding the JsonResult

·      Managing HTTP response and request headers

 

Day 2     Understanding the core concepts of API development


·      Implementing the JSON and XML content negotiation

·      Exploring the JSON and XML Serializers

·      Building the client applications

·      Error handling approaches

·      Integrating with data sources

  • o  ADO with Dapper
  • o  EF 8
  • o  Connection pooling

·      Man aging session data

 

Day 3    Introduction to .NET Platform


·      Advanced attributes for routing

·      Validating API transactions

·      The CQRS architecture with Mediatr

·      Creating DTOs using AutoMapper

·      Caching stragies

·      Utilizing asynchronous tasks

 

Day 4    Enterprise .NET applications


·      Building GraphQL

·      Implementing OpenAPI using Swagger

·      Testing API endpoints using xUnit and Mok

·      The Minimal API iimlementation

·      Securing API endpoints

·      Deploying WebAPI applications

·      The Clean Architecture