Joanah Fermin
  • Home
  • REST API with .NET
  • AI-Assisted Development
In progress

Build a REST API with C# and .NET

A hands-on tutorial on building a REST API in C# / .NET, with JWT authentication, tests and a vanilla JavaScript frontend. Lessons are written and published as they are finished.

  1. HTTP and REST Concepts
  2. Solution and Project Planning
  3. .NET Project Types
  4. Dependency Injection Basics
  5. Service Lifetimes: Singleton
  6. What Is State, and Why Is Sharing It Dangerous?
  7. Service Lifetimes: Transient
  8. Service Lifetimes: Scoped
  9. JSON
  10. Asynchronous Code: async and await
  11. SQLite: A Database in One File
  12. Unit Testing Basics
  13. A Typical Web App Workflow: Frontend and API
  14. .NET Versions and Why Upgrades Are Routine
  15. Create the Solution and the API Project
  16. The First Endpoint and Swagger
  17. A Data Project and the First Table with EF Core
© 2026 Joanah Fermin. All rights reserved.