Monday, July 1, 2019

ASP.NET Core

ASP.NET Core is a cross-paltform, high-performance, open-source framework for building modern, cloud-based, internet-connected applications.

ASP.NET Core is a redesign of ASP.NET 4.x

Benefits and Features of ASP.NET Core
1) ASP.NET Core applications can be developed and run across different platforms like
   Windows, macOS and Linux
2) ASP.NET Core applications can be hosted on
   IIS, Apache, Docker
3) One Unified Programming Model for MVC and Web API
4) Built-In support for Dependency Injection
5) Testability, Unit Test is Easy
6) Open-Source
7) ASP.NET Core provides Modularity with Middleware Components

  • What is Middleware Components
    • The Middleware components are the components which we use to set up the request processing pipeline in the ASP.NET Core application
    • Each middleware component in ASP.NET Core
      • Chooses whether to pass the HTTP Request to the next component in the pipeline.
      • Can perform work before and after the next component in the pipeline.
      • In ASP.NET Core there are so many built-in Middleware components are already available that you can directly use. If you want then you can also create your own Middleware components.  
    • Some of middleware components
      • Authenticating the user
      • Log the request and response
      • Handle the static files such as Images, Javascript or CSS Files etc
      • Authorize the users while accessing a specific resource
      • MVC Middleware

No comments:

Post a Comment