0% found this document useful (0 votes)
3 views

Task1_ Analyzing ASP.NET Core Architecture and Component

The document discusses the core components of ASP.NET Core, including middleware, controllers, models, and views, which are essential for handling requests and implementing the MVC pattern. It highlights the framework's scalability and performance advantages, making it suitable for applications with high traffic demands. Additionally, it emphasizes ASP.NET Core's cross-platform capabilities and open-source nature, providing developers with flexibility and access to numerous libraries.

Uploaded by

gabopik18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Task1_ Analyzing ASP.NET Core Architecture and Component

The document discusses the core components of ASP.NET Core, including middleware, controllers, models, and views, which are essential for handling requests and implementing the MVC pattern. It highlights the framework's scalability and performance advantages, making it suitable for applications with high traffic demands. Additionally, it emphasizes ASP.NET Core's cross-platform capabilities and open-source nature, providing developers with flexibility and access to numerous libraries.

Uploaded by

gabopik18
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Analyzing ASP.

NET Core Architecture and


Component

Core Components

When we are talking about ASP.NET Core components we can’t forget about
Middlewares. The middleware is a type of software that’s assembled into an app
pipeline to handle requests and responses. This happens like a queue of requests,
each middleware in the app receives the request, analyzes it and then decides to
pass the request to the next middleware in the line. In this kind of software we can
find a several types of programmed middlewares like:
●​ Authentication.
●​ Authorization.
●​ ExceptionHandler.
●​ Routing
●​ CORS
●​ and Custom middlewares
The custom middleware is like the name explains it, it’s a middleware made by the
developer that fulfills a common or a complex task in the app and thereby it is
essential for the app itself. Once the request is successfully accepted by the
middleware, this sends a response to the client and shows the expected result, in
many cases it can be data processing, showing a view, validating access and many
other operations.

Other important components in this technology are the controllers, views and
models. These three components are the core of the MVC pattern in ASP.NET Core.
The MVC is a pattern widely used in programming since it allows you to organize the
components so that there are only three important elements in any application that
uses MVC:
●​ Controllers: Controllers are responsible for managing user interactions,
working with models, and displaying the views being requested. These can
contain both the actions to be executed and the direct data management with
the database.
●​ Model: The models are the representation of the data that will be manipulated
in the application. It has all the business logic and how this information will be
used by the controllers and how it will be displayed in the views.
●​ View:The views are as their name says, they are the graphic part of what will
be shown to the user. This is rendered by the controllers who manage the
information and logic that comes from the models and finally displays it
graphically.
Scalability and Performance

At the level of scalability and optimization, .NET Core offers greater performance
than other frameworks. Offering a modular and lightweight architecture makes it
optimal for handling increased traffic. In addition to offering good options in terms of
independence management, middleware, asynchronous programming and code
recycling.
This is good for us when we have an application in which we must provide data, and
clients make constant requests, whether it is an application to buy movie tickets or a
search engine like Bing, which must be able to handle a large number of requests
coming from the same users of the application.

Comparative Advantage

There are many advantages of why we should use ASP.NET Core, the two main
ones that in my opinion are important to take into account is that it is cross-platform,
an example of this is that we can develop applications that can work on both
Windows and MacOS. This comes in handy when we create a Web API and we are
not limited by the operating system where our service will work.

The other advantage that we can find is that it is open source. This offers us many
advantages when looking for a framework in which to create our application, since it
gives us many libraries with which we can work, which can be accessed for free. An
example of non-open code can be found in Java, which is a powerful and easy to
learn language but in practice it offers you certain facilities but at a certain cost.

You might also like