Stop messy Copilot code in .NET with one simple step


Hey friend,

I just released a new video showing a better way to use GitHub Copilot in real .NET projects.

Watch it here 👇

video preview

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 workflow.

You’ll see how it works in a real .NET Web API project and how Copilot changes its behavior right away.

If you're building apps with .NET and you want Copilot to help you instead of confuse you, this video will help a lot.

Take care,

Patrick

P.S. Want to really master .NET web development with AI + Copilot? Click 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 Reader, At lunch the other day, a colleague looked at my Copilot setup and said: "It's basically just a batch file, right? You write a script once and run it on demand." And I had to stop and think. Because that's actually a pretty good analogy. But it's also missing something crucial. A batch file doesn't read your codebase before it runs. It doesn't know your handlers use a custom base class. It doesn't know you're on minimal APIs. AI Skills do. In 13 minutes, you'll see a full vertical...

Hey friend, I realized something recently: AI was slowing me down. I’d send a prompt… and wait. Even though I already knew what to do next. So I changed one thing. I stopped using AI like a tool and started using it like a team. Multiple chats. Multiple tasks. All running at once. Watch it below 👇 Happy prompting! Take care,Patrick P.S. If you want help setting this up for your workflow or your team, click here.

Hey friend, Blazor Server or WebAssembly? Lately, I had a call with a student migrating a desktop app… and this question came up immediately. So I made a quick video to break it down: You'll learn: When Blazor Server is the simplest choice When you actually need WebAssembly And when an API becomes necessary Enjoy! Take care,Patrick P.S. Our next live office hours inside the .NET Web Academy start tomorrow. Join here.