Develop RESTful API with .NET C# - up1/training-courses GitHub Wiki

Course :: Develop RESTful API with .NET 8 C#

Software requirements

Check .NET SDK in command line

$dotnet --version

Course Outline

  • Create project with .NET

    • Create solution and project
      • Working with dotnet cli
        • Web API
        • Testing with xunit
      • Basic project structure
      • Download dependency with nuget
  • Essential features of C# to develop REST API

    • Data types
    • Asynchronous Programming (async/await)
    • Null Safety
    • Data Handling and Serialization/Deserialization
      • JSON
      • Object-Relational Mapping (ORM) with Dapper
    • Error Handling and Logging
    • Dependency Injection (DI)
  • Develop REST API with .NET C#

    • Create project with Web API
    • Basic project structure
      • Controller
      • Service/Business
      • Repository
    • RESTful Design
      • Resource-Oriented Design
      • HTTP Methods
      • HTTP Status Codes
      • Input Validation
    • Properties of REST API
      • API documentation with Swagger
      • API Testing
        • xunit
        • postman and newman
      • Observability service
        • Logging with NLog
        • Metric with prometheus
        • Tracing with OpenTelemetry and Jaeger
    • Working with Database
      • ORM with Dapper
      • Working with SQLite