New features in ASP.net core 2.0

Posted by Mind Q Online on September 11th, 2017

ASP .Net Core is a giant remodel of ASP .NET. It's miles an open source and cross-platform framework for growing cloud primarily based applications like web applications, IoT applications, and the mobile back end applications.

Razor Pages

It is a brand new feature of ASP.NET with MVC, which makes coding page targeted situations less difficult and greater productive. To work with Razor pages, we need to use .NET core 2.0 or better framework. This feature has delivered many more page directives, which includes @function.

Meta programs

The brand new framework added Meta package that includes all of the packages supported with the aid of ASP.NET core and EF (Entity Framework) core with their inner and third party dependencies. The usage of those meta packages, we want no longer pick individual ASP.net core capabilities by using the package however the assembly Microsoft.aspnetcore. All programs contain all of the features.

.NET trendy 2.0

It also targets .NET popular 2.0. It can be referenced by other .NET standard 2.0 libraries and they could run on its compliant implementations of .net that consist of .net core 2.0 and .net Framework 4.6.1.

Kestrel internet Server upgrades

It has new functions which are appropriate for an internet dealing with Server. In kestrel server options magnificence, able to add a number of server constraint configuration options. This class has new Limits belongings the use of which we are able to restriction -

Maximum request frame size

Maximum client connections

Minimum request body data price

HTTP.sys

It is miles a web server for ASP.net core, and really much like Kestrel web Server. It simplest runs on windows. The core 1.x has packages Microsoft.aspnetcore.Server.weblistener and Microsoft.net.Http.Server which might be merged into a new package "Microsoft.aspnetcore.Server.httpsys".

Replace in Configuration

In core 2.0, iconfiguration interface instance is brought to the service container. This makes it easier for programs to retrieve the configuration values from the service box.

Replace in Logging

Inside the new version of the framework, Logging is introduced into DI (dependency injection) system through default. We want to add providers and configure filtering in foremost feature (program.cs file) as opposed to defining inside the Startup magnificence.

Update in Authentication model

The new authentication model makes it less difficult to configure authentication for an application the usage of dependency injection (DI).

Replace in identity

It is easy to build secure web APIs using identify. MSAL (Microsoft Authentication Library) provides get right of entry to token for having access to the web API.

New SPA (single page application) assignment Templates

SPA project templates for Knockout.js, React.js, React.js with Redux, Aurelia, and Angular are available. The Angular template has been updated with Angular model 4.0. The React and Angular templates are available with the aid of default.

Mind Q Systems is one of the leading institutes for online software testing course. It provides coaching on mvc online training, QA Automation, Salesforce and development, Microsoft technologies and many more. If you looking online pl sql training, visit our site.

Like it? Share it!


Mind Q Online

About the Author

Mind Q Online
Joined: June 9th, 2017
Articles Posted: 9

More by this author