ASP.NET: The Next Generation
Tags: aspnetcore, cms, dxp, kenticoxperience
Published: 2020-11-16 20:58:38

>Unless you've been locked away in a dark room for the past six years, you've likely already heard about ASP.NET Core. It is the reimagination of ASP.NET, the web framework we've grown to love, and at times hate 😜, over the past 18 years. With the former framework still being supported and actively worked on, it can be hard to make a case for switching off a framework with such a rich history, like ASP.NET, to a relatively new framework, even if it shares the same name.

In this article, we're going to look at the reasons why the team building the next generation digital experience platform, Kentico Xperience, decided to transition to ASP.NET Core.

##Future Friendly
Let me start by saying, ASP.NET and the .NET Framework are not going anywhere anytime soon. Much of Windows still relies on the .NET Framework and until such time that it doesn't, there will still be support and bug fixes for the .NET Framework. But, and it is a big one, there will be no major updates to the .NET Framework beyond version 4.8.

The future of .NET, and by virtue ASP.NET, is .NET Core. This is where investments are being placed. Which means you'll be able to take advantage of all the improvements being made to the platform and the languages used for development.

As an example, many of the [C# 8.0 features have platform dependencies](https://devblogs.microsoft.com/dotnet/building-c-8-0/#platform-dependencies) which are implemented in .NET Standard 2.1, which .NET Core 3.0 and newer will support, but [.NET Framework 4.8 never will](https://devblogs.microsoft.com/dotnet/building-c-8-0/#platform-dependencies).

 So, in order to stay innovative, competitive, and continue to attract top talent, the team looked for a platform that was familiar and would be supported for the foreseeable future.

##Cross-platform Support
Long gone are the days where clients will meet you where you are. As software creators, we NEED to be meeting our clients where they are and it's no longer exclusively on a dedicated platform, like Windows.

Unlike its predecessor, ASP.NET Core does not require IIS or Windows to develop or run. This means you can use other operating systems, like macOS and Linux, to develop applications and as hosting environments.

![.NET Core cross-platform diagram](https://dev-to-uploads.s3.amazonaws.com/i/4ijhy0mjcxunqcj0xhg1.png)

This may not seem like a huge deal to some, but if you're looking at the cost to run a Windows environment versus a Linux environment, you'll likely start to see a growing difference in cost. This could end up greatly reducing the operating costs of your applications allowing you to adapt quickly to changes happening within your market. 

For development teams, this means we're able to reuse a majority of our code as we expand the reach of our application to other platforms.   

##Performance
Eight seconds. 

No, we're not talking about the movie chronicling the life of PRCA Bull Riding World Champion, Lane Frost, but the average attention span of a website visitor. And if your site takes longer than three seconds to load, there's [a 40% chance they'll abandon their visit](https://www.towermarketing.net/blog/winning-the-fight-against-a-website-users-attention-span/) to your website. So, it's no wonder most clients, partners and users will tell you your site needs to be faster.

This is one of the biggest benefits you'll gain when you switch to using ASP.NET Core and in my opinion, one of the most compelling reasons to make the move to ASP.NET Core.

[Benchmark data](https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=composite) shows ASP.NET core can do approximately 285,000 requests per second, whereas, ASP.NET averages approximately 1500 requests per second.

[Benchmark data](https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=composite) shows ASP.NET core can do approximately 285,000 requests per second, where as, ASP.NET  averages approximately 1500 requests per second.

![Benchmark test results](https://dev-to-uploads.s3.amazonaws.com/i/e7eegwnktlhjkwtkhfkv.png) 

After moving to ASP.NET Core, the Kentico Xperience team ran some preliminary tests on startup times. They found the Dancing Goat starter site was starting up 4 times faster using ASP.NET Core.

![Dancing Goat site startup times](https://dev-to-uploads.s3.amazonaws.com/i/ilx7herytwp4wrgg4yj4.png)

##Summary
Although migrating to a new platform is never fun and almost never easy, the .NET Core teams continue to add APIs and features to help ease migration efforts from the .NET Framework. The Kentico Xperience team also understands this and is currently looking at options to aid clients and partners in their migration efforts.

The Kentico Xperience team found being future friendly, cross-compatible and highly performant compelling reasons to move from ASP.NET to ASP.NET Core. 

What do you think? Are you ready to take the plunge? Something holding you back?

Need a little more convincing? Download [Xperience 13](https://xperience.io/cmsctx/pv/60ad2c50-edc5-46e9-bb28-84bb78f14716/culture/en-US/wg/76d1e68f-ac8a-4011-b409-8a0cb0087da9/readonly/0/pts/637411672826254783/ea/1/h/626941afb2eb1a5ecb5d346e1e35425aa565c1e354fc6d4298ec36e89ef2dd16/-/specials/kx13-trial?uh=186ffaede153c28428f4eb805dac1abb2d3e522de85b3bc58497bd3c31d7f3ed) and see the impact of our transition to ASP.NET Core.