Life Cycle of the ASP.NET Core MVC part of the application?
When you use the browser to navigate to http://localhost:5000, the HTTP request is passed to the MVC framework, which routes it to the Index action method defined by the Home controller. This action methoduses Entity Framework Core to read the Product data from the SQL Server database using Entity FrameworkCore and uses it as the view model data for the Index.cshtml view.
NET Core request pipeline (and is the reason that it takes the application a while to start up). shows the structure of the ASP.NET Core MVC part of the application.
The structure of the ASP.NET Core MVC part of the application
The ASP.NET Core MVC part of the application is made up of familiar building blocks. A controller, action method, and Razor view work together with Entity Framework Core to generate responses for HTTP requests. The responses sent to the client contain HTML elements that provide everything the browser needs to run the Angular application, but the ASP.NET Core components do not have any knowledge of the Angular application.
(Visited 29 times, 1 visits today)