🤖 Blazor + GPT-5 Agent Mode: Does it actually work?


Hey Reader,

I just published a new video where I put GPT-5’s Agent Mode to the test. 🚀

Instead of asking it for something simple, I went all in:

  • A .NET 9 console app calculator
  • A Web API with endpoints and docs
  • A Blazor Server app with extra counter buttons
  • And even a Blazor app that calls a public weather API

🎥 Watch it now:

video preview

In the video, I didn’t just type “make me an app” and hope for the best. I gave GPT-5 very specific prompts, like:

  • “Please create a .NET 9 console application that works like a simple calculator providing addition, subtraction, multiplication, and division.”
  • “Build a .NET 9 Web API with an endpoint that says hello GPT-5 agents. Add Scalar so I can test the API easily.”
  • “Create a Blazor Server app that extends the default counter example with a +5 button and a reset button.”
  • “Make a Blazor Web App using the interactive server render mode that calls a public weather API and shows the current temperature.”

This was a perfect reminder: AI can speed things up, but you still need to know what’s happening under the hood.

If you’re learning .NET, Blazor, or Web APIs, GPT-5 Agent Mode can be a great coding buddy.

But it’s like using a calculator in school - you still need to know the basics first. Otherwise, when something breaks (and it will), you won’t know how to fix it.

That’s why in my upcoming course, .NET with AI, I’ll show you how to work with AI tools the right way - so you stay in control of your code.

👉 Join the waiting list here to be the first to know when it’s live.

Take care,

Patrick

P.S. Want to go deeper into real-world .NET and Blazor projects? Join me inside the .NET Web Academy. Check it out here.


Patrick God

Become a .NET & Blazor expert with weekly tutorials featuring best practices and the latest improvements, right in your inbox.

Read more from Patrick God

Hey friend, I just released a new video and I think you will enjoy this one. In the video, I ask GitHub Copilot to build a real mortgage app in Blazor. The app works. But the code is messy. All the business logic ends up in the UI. Fast results. Bad structure. Then I clean it up properly. Same behavior. Same output. Much better code using services, interfaces, and dependency injection. It shows why Copilot is powerful, but dangerous without rules. Watch the video here 👇 Enjoy the breakdown...

video preview

Hey friend, I just released a new video and I think you’ll enjoy it. In the video, I ask GitHub Copilot to build a .NET Web API using a short, vague prompt. The result works, but the structure feels random and messy. Then I run the same idea again with a stronger prompt that forces a clean structure. Feature folders. Vertical slice. Mediator. Fluent Validation. The difference is night and day. Watch the video here 👇 Enjoy the breakdown and let me know what you think. Take care, Patrick P.S....

video preview

Hey friend, I just released a new video showing a better way to use GitHub Copilot in real .NET projects. Watch it here 👇 If you ever felt like Copilot starts strong but then your code slowly turns into chaos, you’re not alone. It happens to most developers when they start using AI without giving it the right guidance. In the video, I show you one simple file you can add to your project that keeps your code clean, structured, and consistent. No guessing. No random patterns. Just a clear...