Tutorials
AI's ability to write code has improved by leaps, and it's tempting a lot of people to just vibe code their software. I believe the developers who will be effective with AI are the ones who really understand the concepts, who know how to implement by hand what they ask the AI to do, and who understand the trade-offs and risks.
AI is strong, but it still needs guidance, and that guidance has to come from a human with real expertise. So as AI gets better, I believe we need to sharpen our programming skills even more, not less.
That's why I prepared the tutorials below for my own learning, and I'm sharing them with other devs who want to learn too.
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.
- HTTP and REST Concepts
- Solution and Project Planning
- .NET Project Types
- Dependency Injection Basics
- Service Lifetimes: Singleton
- What Is State, and Why Is Sharing It Dangerous?
- Service Lifetimes: Transient
- Service Lifetimes: Scoped
- JSON
- Asynchronous Code: async and await
- SQLite: A Database in One File
- Unit Testing Basics
- A Typical Web App Workflow: Frontend and API
- .NET Versions and Why Upgrades Are Routine
- Create the Solution and the API Project