SharePoint Pals
 | Sign In
Quick Introduction To Asp.Net Core And It’s Features
by Krishna KV 10 Jan 2017
Author
Team Leader, Aspire Systems
Visits   
Today  :   89     Total  :    1274

In this article we can have a quick introduction of asp.net core 1.0 and can have an overview of its features. In my subsequent articles, I’ll brief you with examples.

What is Asp.net Core 1.0

Asp.net core is a redesign of Asp.net. It is open source platform to develop the modern internet application. It can execute on the .Net core or full .Net framework. It can be deployed  in cloud or on premises. It no longer uses the System.Web.dll.

clip_image002

.Net Core

· .Net is a subset of the .Net Framework

· Modular based, components are distributed via NuGet

· Cross platform it can deployed and published in MAC, windows and Linux

· The apps can be updated independently

· Open Source

· Performance improvement

Asp.net Features

· Hosting

· Middleware

· Dependency Injection

· StartUp.cs is used to declare the services as a dependency.

· Configuration

· Frameworks

· Unified Framework (MVC and WEBAPI unified into a single package)

Hosting

Asp.net core includes the web server Kestrel. The kestrel is a cross platform web server and it runs on the top of libuv, cross platform asynchronous I/O library. The kestrel is good to run when the application used for the internal project, else it is recommend to use the reverse proxy with the some other web server like IIS, Apache, etc. The request helps us in security and the handle the traffic from internet. Kestrel is new and doesn’t have full complement of defences against attacks

clip_image003

clip_image005

MiddleWare

The components assembled into application pipeline to handle the request and response. The request delegates use to build the request pipeline.

clip_image007

clip_image009

The request delegates configuration using three extension method such as Run, Map and Use, which is the interface called IApplicationBuilder which is executed in the startUp.cs and uses the method Configure.

The request can be specified through an anonymous method or through a custom Class. The custom class can be called as middleware or middleware component. The middleware component in the request pipeline is responsible for invoking the next component in the pipeline.

Run Method

The run method will return to the http response immediately without calling the next pipeline. It is recommend using the last http pipeline

Use Method

It will insert the next middleware into the pipeline which requires you to call the next middleware by calling the method next.Invoke(context).

Map Method

The Map extension method is used to match request delegates based on a request's path. It accepts a path and function that configure a separate middleware pipeline.

Built-in Middleware

Authentication, Cors, Response Caching, Response Compression, Routing, Session, Static Files, URL Rewriting

Tags :  ,

blog comments powered by Disqus

SharePoint Pals

Pals
SharePoint Pals, a community portal for SharePoint developers, Administrators and End Users. Let's join hands and share the point together.
Read this on mobile

Training

Angular Js Training In Chennai
Advanced Angular Js training with real world developer scenarios
Angular Js, Web Api and Ionic for .Net Developers
All in one client side application development for .Net developers
Angular Js For SharePoint Developers
Get ready for the future. Its no more just C#

Get Connected

SharePoint Resources

SharePoint 2013 and 2010 Web Parts
Free Web Parts with Source Code for SharePoint Community




SharePoint 2013 Books and Tutorials
Collection of free SharePoint 2013 books and tutorials (eBooks, pdfs)

Supported By

Contribute your article and be eligible for a one month Free Subscription for Plural Sight. The Author of the most popular New Article (published in the previous month) will be awarded with a Free One month Plural Sight Subscription. Article can be sent to articles@sharepointpals.com in a word document.

Related Resources

Recent Tweets

Twitter January 15, 00:25
How To Enable Target Value And Actual Value In #D3 Gauge Chart https://t.co/VxSi4QnNrC

Twitter January 15, 00:24
How To Open #SharePoint List Hyperlink Column In Modal #Popup Window https://t.co/EQ7HkoZDkX

Twitter January 15, 00:24
Quick Introduction To #Asp.NetCore And It’s Features https://t.co/zAXObHCFpH

Twitter January 15, 00:22
How To Configure #PerformancePoint Services To Use Secure Store In #SharePoint 2013 https://t.co/LEwnUoI7EY

Twitter January 15, 00:21
How To Block Or Disable #Office365 Services https://t.co/Yvp2VPFIRP

Follow us @SharePointPals
Note: For Customization and Configuration, CheckOutRecent Tweets Documentation