.NET 9 & Where It Fits In

Joel Varty
Joel Varty
Jun 4, 2024

ASP.Net has been growing in capability and complexity as a developer offering since version 1. In some ways, the sheer number of those capabilities makes it something that's really scary for developers who are just getting started. Still, I think with the most recent LTS version 8, which is now in production and even more so with 9, now in preview, the barrier to entry is actually much lower than ever to build SIMPLE projects that can serve as jumping-off points to bigger and more complex things.

No Windows? No Problem.

I use MacOS for 99% of my development, and except for a few libraries, I have zero problems running everything on my machine. That goes for many of the Agility APIs and SDKs, but even more so for our recently updated .Net starter.

.NET doesn't need Windows, nor does it need Visual Studio. I do all of my .NET work from the command line inside VS Code.

Simpler than Ever

For those coming from .NET 4.x MVC sites, things look a LOT different now, and in a good way. No longer are things like headers black boxed away in wierd HTTP modules - you have complete control over your pipeline and middleware. I find now that I can move between something like Express.js and a .NET site and find a lot more in common. If you're looking to build a backend project that will scale easily in terms of project size, especially if it's hosted in Azure, I choose .NET for sure.

Where I do NOT choose .NET

I've been an avid supporter of Next.js for years now. While it has become more complex as the framework matured to allow for more options, better caching, I still feel it's a lot easier to work with on a website than .NET. Mostly that's because I've come to appreciate the beauty of React and how it is so much easier and faster to work with - especially for those who are new to development, or who lack back-end experience.

I find creating a .NET project with a React or Angular front-end to be a major pain. I'd rather create a .NET API project and have all the front-end be in Next.js, Astro or Remix, all of which I think do a better job at componentizing front-end concepts.

.NET 9 and the Future of the Framework

Something that I've been following along with is a project called Aspire that proposes an opinionated to build really complex Azure projects that are distributed, observable, have orchestration built-in, and a bunch of other fancy things. This isn't the first place to start with your .NET journey, but it's certainly something you should look at if you have an idea for something that's going to turn into its own platform or SaaS product. Having built a SaaS product on .NET, no other platform will keep you going into the future as well as .NET. Code that my team wrote over a decade ago still trucks along just fine. We have API versions from 2012 running .NET 4 sitting alongside .NET 8 with no problem.

With .NET, I see many incremental fixes and simplifications for things like dependency injection, unit testing, better tokenization with ML.Net, and, generally, stuff you'd expect. C# is the most mature and complete server-side programming language out there, and this next version (13!) looks to continue that trajectory.

Back to All Articles
Back to All Articles
Jun 4, 2024

.NET 9 & Where It Fits In

Joel Varty

ASP.Net has been growing in capability and complexity as a developer offering since version 1. In some ways, the sheer number of those capabilities makes it something that's really scary for developers who are just getting started. Still, I think with the most recent LTS version 8, which is now in production and even more so with 9, now in preview, the barrier to entry is actually much lower than ever to build SIMPLE projects that can serve as jumping-off points to bigger and more complex things.

No Windows? No Problem.

I use MacOS for 99% of my development, and except for a few libraries, I have zero problems running everything on my machine. That goes for many of the Agility APIs and SDKs, but even more so for our recently updated .Net starter.

.NET doesn't need Windows, nor does it need Visual Studio. I do all of my .NET work from the command line inside VS Code.

Simpler than Ever

For those coming from .NET 4.x MVC sites, things look a LOT different now, and in a good way. No longer are things like headers black boxed away in wierd HTTP modules - you have complete control over your pipeline and middleware. I find now that I can move between something like Express.js and a .NET site and find a lot more in common. If you're looking to build a backend project that will scale easily in terms of project size, especially if it's hosted in Azure, I choose .NET for sure.

Where I do NOT choose .NET

I've been an avid supporter of Next.js for years now. While it has become more complex as the framework matured to allow for more options, better caching, I still feel it's a lot easier to work with on a website than .NET. Mostly that's because I've come to appreciate the beauty of React and how it is so much easier and faster to work with - especially for those who are new to development, or who lack back-end experience.

I find creating a .NET project with a React or Angular front-end to be a major pain. I'd rather create a .NET API project and have all the front-end be in Next.js, Astro or Remix, all of which I think do a better job at componentizing front-end concepts.

.NET 9 and the Future of the Framework

Something that I've been following along with is a project called Aspire that proposes an opinionated to build really complex Azure projects that are distributed, observable, have orchestration built-in, and a bunch of other fancy things. This isn't the first place to start with your .NET journey, but it's certainly something you should look at if you have an idea for something that's going to turn into its own platform or SaaS product. Having built a SaaS product on .NET, no other platform will keep you going into the future as well as .NET. Code that my team wrote over a decade ago still trucks along just fine. We have API versions from 2012 running .NET 4 sitting alongside .NET 8 with no problem.

With .NET, I see many incremental fixes and simplifications for things like dependency injection, unit testing, better tokenization with ML.Net, and, generally, stuff you'd expect. C# is the most mature and complete server-side programming language out there, and this next version (13!) looks to continue that trajectory.

About the Author

Joel is CTO at Agility. His first job, though, is as a father to 2 amazing humans.

Joining Agility in 2005, Joel has over 20 years of experience in software development and product management. He embraced cloud technology as a groundbreaking concept over a decade ago, and he continues to help customers adopt new technology with hybrid frameworks and the Jamstack.

Joel holds a degree from The University of Guelph in English and Computer Science. He's led Agility CMS to many awards and accolades during his tenure such as being named the Best Cloud CMS by CMS Critic, as a leader on G2.com for Headless CMS, and a leader in Customer Experience on Gartner Peer Insights.

As CTO, Joel oversees the Product team, as well as working closely with the Growth and Customer Success teams.

Joel also coaches high-school football and directs musical theatre.

Take the next steps

We're ready when you are. Get started today, and choose the best learning path for you with Agility CMS.

Get startedRequest a Demo