ProudCloud Weekly #4


Nick Proud

Microsoft MVP, CTO @ nexbotix.ai and Author at dometrain.com

September 27th, 2025

✉️ ProudCloud Weekly #4

Is C# like python now?

.NET brings a significant change to the way we can execute C# projects. With the new File-Based Apps feature, developers can now ditch the .csproj files if they wish, opting instead for running a single .cs file from the CLI.

This change makes C# more lightweight and approachable, especially for quick prototypes, scripts, or learning scenarios. You no longer need the overhead of project files just to test an idea — it’s as simple as running a single file, much like Python. That means faster iteration, less setup, and a smoother on-ramp for new developers.

Sadly, many .NET developers will ignore this new feature. They’re stuck in muscle memory. They cling to the old way of spinning up bloated project files for every experiment, wasting time and killing momentum. The truth is, .NET has moved on — and if you don’t adapt, you’ll get left behind while others are shipping ideas in the time it takes you to run dotnet new.


C# just went from enterprise heavyweight to scrappy side-hustler — no excuses, just code.

Getting started is as simple as creating a standalone .cs file. Within it, you can write whatever code you would write in a console app, or even a Minimal API.

Taking this further, the new #:package directive allows you to specify NuGet packages to be installed within the app. Let's say you wanted to add the latest version of Polly:

You can also use the #:sdk directive to switch from the regular .NET SDK to the web one, allowing you to add things like Minimal APIs to the app


Speaking of Minimal APIs.......

video preview

Check out my YouTube Channel

I show you how to create Minimal APIs and all sorts of other things in .NET

That's it for this issue. I hope you found the content useful. Stay tuned for more updates, and don't forget to stay in touch with me on LinkedIn. My DMs are open.

Keep learning and growing,

Nick Proud

ProudCloud.dev

Stuff you should deffo check out 😁

The Proud Cloud

Subscribe for deep dives into .NET development, intelligent automation, and practical AI tips. Each edition delivers hands-on insights, industry news, and coding techniques to help developers and tech leaders stay ahead

Read more from The Proud Cloud

Nick Proud Microsoft MVP, CTO @ nexbotix.ai and Author at dometrain.com October 4th, 2025 ✉️ ProudCloud Weekly #5 When C# needs low level interactions, P/Invoke saves the day If you’ve ever hit the limits of what the .NET framework or .NET libraries provide out of the box, Platform Invocation Services (P/Invoke) is your bridge to native code. P/Invoke lets you call unmanaged functions from DLLs (like Windows APIs written in C or C++) directly from your C# code. For example, if you need access...

Nick Proud Microsoft MVP, CTO @ nexbotix.ai and Author at dometrain.com September 20th, 2025 ✉️ ProudCloud Weekly #3 Complacency is easy. With any language, it's easy to become set in your ways and to allow the pressure of shipping fast influence you into cutting corners. I know, because I've done it. In this issue I'm going to run through some common mistakes C# developers make all the time. If you aren't falling into any of these holes, congrats. This issue probably wasn't for you! But I do...

Nick Proud Microsoft MVP, CTO @ nexbotix.ai and Author at dometrain.com September 13th, 2025 ✉️ ProudCloud Weekly #2 Databases. We're updating them, inserting, deleting, querying and modifying them all the time. Queries stand out as one of the most common operations for developers building customer-facing apps, and for C# developers in particular, a significant portion of the community are abstracting the SQL layer away with Entity Framework. But just because we're using an abstraction like...