Introduction with Updated ASP.NET Core 3.1

Valiant Technosoft
4 min readFeb 21, 2020

--

Updated ASP.NET Core 3.1

What is ASP.NET Core

ASP.NET core is a cloud-optimized, free, open-source & modular web framework powered by Microsoft and community-based users to create the next-generation asp.net applications. It is a completely improved version of ASP.NET combined with Web APIs and MVC architecture into a single framework. According to the Statista, there are around 27,898,794 live websites, 26 companies, 196 developers using ASP.NET as a robust platform for running framework on windows & several core systems.

A Brief History of ASP.NET Core

Asp.Net Core History
Asp.Net Core History

The above diagram depicts that the first version was .NET Core 1.0, released in 2016 by Microsoft. A Few months later, the company was taken the biggest move to the .NET Core 1.1 along with the Visual Studio 2015, 2017 update. Years passing on, the release of new versions is still going on. It means the platform is wide enough to create interactive, feature-rich dynamic web applications. Even, it is expected that the .NET Core 3.1, which was delivered in 2019, will remain the same for the next three years. The dominating trend of .NET framework is highly impressive and worth for the business-oriented people in 2020.

Introduction with Updated ASP.NET Core 3.1 for Enterprise App Development

Those developers who have proficiency in .NET Core 3.0 can easily understand the .NET Core 3.1 which has become the long-term supported release for the next three years. The best part is the free downloads for .NET Core 3.1 are still available which can be installed on Windows, Linux and MAC OS.

Realted Article :
Top reasons that enterprises are choosing ASP.NET Core for web application development.

Tools Requirement to Run The ASP.NET Core 3.1

Three main tools are essential to run and develop the local ASP.NET Core applications are as follows:

Tools Used for Asp.Net Core Development
Tools Used for Asp.Net Core Development
  • Visual Studio Code : It is the code editor that runs on Linux, Windows & MAC OS.
  • .NET Core SDK : It includes the command-line tools with .NET Core runtime.
  • C# Extension for Visual Studio Code : It provides compatibility to VS code specially for creating .NET-based Core applications.

ASP.NET Core 3.1 Supported Platforms

NET 3.1 is compatible with a wide array of operating systems listed below.

  • Debian 9+
  • Alpine 3.10+
  • RHEL: 6+
  • Ubuntu: 16.04+
  • Fedora: 29+
  • centOS: 7+
  • macOS: 10.13+
  • SUSE Enterprise Linux (SLES): 12 SP2+
  • Windows Server: 2012 R2+
  • Windows Client: 7, 8.1, 10 (1607+)
  • openSUSE: 15+

Important Tip
Do not run the functional both WPF apps and windows forms on other than Windows.

.NET Core 3.1 Chip Supports

  • ARM32 on Windows and Linux
  • x86 on Windows
  • x64 on Windows, macOS, and Linux
  • ARM64 on Linux (kernel 4.14+)

New Features in ASP.NET Core 3.1

Check out the list of new features in ASP.NET Core 3.1 are mentioned below:

1. New Component Tag Helper

Tag helper or new component tag helper is one of the powerful features which is used to include the server-side code for rendering and creating HTML elements. For instance — several in-built tag helpers are needed to create the forms or perform the other basic tasks such as loading assets and links. One can install the NuGet library to use the tag helpers based on personal choices.

2. Partial Class Support for Razor Components

The components of Razor are used to generate the partial classes. There is no need to define all the component code in a single file while writing the code for a Razor component. The code can be simply written with a code-behind file known as partial classes.

3. Pass Parameters to the Top Level Components

It is possible to pass the parameters to top-level components with Blazor Server apps. Previously, it only supported the RenderMode. Static for passing the parameters. Though, the new release gives the option of both RenderModel. Server Prerendered & RenderMode.Server in which parameters can be passed to the top-level component. However, the listed parameterized values are serialized as JSON and can be included in the initial response.

4. Detailed errors during Blazor App Development

It provides detailed information about troubleshooting problems & detailed bug fixing issues to the developers. They can check the errors on the gold bar while using the Blazor apps, which displays the errors at the bottom of the screen.

5. Stop Event Propagation in Blazor Apps

If you want to stop event propagation in Blazor apps, there is a need to use the new @oneventname:stopPropagation directive attribute.

6. Avoids Default Actions for Events in Blazor Apps

The new @oneventname:preventDefault directive attribute can prevent the default actions for handling the events in Razor apps.

The Final Thought

.NET Core 3.1 comes with so many new features, you can start using it by updating Visual Studio or .Net Core SDK. If you are looking for the customized, featured-rich application with .NET Core 3.1, and need any help Hire a Asp.Net Core developer to make your project live.

--

--

Valiant Technosoft

Software development and design company, delivers extraordinary web and mobile apps to businesses all around the world. https://valianttechnosoft.com/