Captivix

What’s new in ASP.NET 5.0?

ASP.NET 5.0 is a new open-source and cross-platform framework for building modern cloud-based web applications using.NET. The ASP.NET 5.0 technology is built from the ground up to provide app developers with an optimized development framework designed to be implemented as a cloud service or on premises. As with previous versions of the technology, ASP.NET 5.0 provides developers with modular components and minimal overhead, which maximizes flexibility and now also offers the ability to operate on the cloud and across different platforms.

Improvements of ASP.NET 5.0 Over Its Predecessors

ASP.NET 5.0 offers a number of significant enhancements over the previous versions of the technology:

New lightweight and modular HTTP request pipeline


Unlike previous versions of the technology, ASP.NET 5.0 decouples the request pipeline from System.Web and IIS. This means that instead of a pre-defined path, it uses the concept of middleware. The basics of this technology are that middleware components are registered, and then requests pass through them in the order that they are registered.

Ability to host on IIS or self-host in your own process

ASP.NET 5.0 provides developers with the flexibility to host applications on IIS or self-host them in their own process. This means that when users build the application targeting the Core CLR, they can deploy it with every dependency bundled within the deployment package, leaving the application and its dependencies completely self-contained and independent of system installation of.NET. This new function allows users to host their apps on any type of device or hosting platform by simply deploying projects to that host.

Built on.NET Core, which supports true side-by-side app versioning

This feature allows developers to run their apps with this deployed version of runtime rather than the version of runtime installed on the host’s operating system. Effectively, the developer’s version of runtime runs side-by-side with the runtime version running other apps. This allows users to update the runtime or continue app development without substantially interfering with other apps running on the system.

Ships entirely as NuGet packages and has integrated support for creating and using NuGet packages

As its commitment to open-source functionality grows, ASP.NET 5.0 offers significant integration with NuGet packages. This allows for unprecedented connectivity with the newest versions of Visual Studio, which allows developers to take full advantage of Microsoft’s latest programming and developer tools and technology.

Single-aligned web stack for Web UI and Web APIs

ASP.NET 5.0 features a single-aligned web stack for web UI and web APIs. Because the web stack for MVC 5.0 and the Web API were not the same, this new facet of the technology eases and streamlines many aspects of web development.

Built-in support for dependency injection

ASP.NET 5.0 is designed from the ground up to support and leverage dependency injection. This means that ASP.NET 5.0 applications can leverage built-in framework services by injecting these services or application services into methods in the Startup class.

New tooling that simplifies modern web development

The developers of ASP.NET 5.0 are committed to the idea that web and mobile technology development is the foundation of modern software development and have built ASP.NET 5.0 with that philosophy in mind. As a result, ASP.NET 5.0 contains numerous tools that simplify web development and make it accessible to developers of all different skill levels and experiences.

Multi-platform functionality

While previous versions of ASP.NET were tied to Windows and Visual Studio, ASP.NET 5.0 is built with multi-platform functionality, which allows developers who use Mac and Linux to take advantage of its wide range of tools and functions.

Open source technology

As a significant portion of the web is trending toward open source technology in order to maximize innovation through collaboration, the developers of ASP.NET 5.0 designed it with the same philosophy. As a result, ASP.NET 5.0 is an entirely open-source technology. Developers can visit the ASP.NET home website to see what projects the team is working on, watch pull requests, and see comments from the team as people submit issues and questions. Documentation is open source as well, and developers can also download source code for frameworks and change framework code as they desire.

Cloud computing

With the new ASP.NET 5.0, the entire development process can take place in the cloud. Developers no longer need to install software on their machines but can simply visit Azure.com and use its free cloud-based technology to build and develop their web applications.

Community standup

One of the most defining new features of ASP.NET 5.0 is its commitment to community and collaboration as a way to solve problems and maximize individual ingenuity. As a result, ASP.NET 5.0 will allow developers to attend weekly web meetings with the ASP.NET 5.0 team to ask any questions or address any issues they may be experiencing. Such a team-oriented approach will both allow developers using the technology to maximize its potential and also help the ASP.NET team build on the current version of the technology and make future versions better and more efficient.

Summary

While ASP.NET 5.0 provides many of the same useful features that developers have come to expect from previous ASP.NET frameworks, it builds on its predecessors in several important ways. Most noteworthy, its focus on open source and cloud-based technology allows for more flexibility and innovation than previous versions have been able to tap into. This allows ASP.NET 5.0 to provide developers with the same quality and service they have come to expect, while also allowing for more growth and community support.

Request your free consultation and demo today!

Looking for expert DOT NET 5.0 developers? Our highly experienced team is here to help. Use the form below to start the discussion.

Share this Blog