Skip to main content

Posts

Showing posts with the label What Is MVC?

What Is MVC (Model View Controller)?

MVC stands for Model View Controller . The ASP.NET MVC is a framework, standard pattern for developing Web applications. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating Web applications. The ASP.NET MVC framework handled by three objects Model, View and Controller. The MVC framework includes the following components - 1.       Model – Model contains the business logic which is used to retrieve and store model state in a database. Model is a central parts and works between View and Controller. 2.       View – View is a user interfaces ( UI ), look and feel which are used to display the application's user interface ( UI ). 3.       Controller – Controller are components that handles and responds to user input and interactions. The ASP.NET MVC framework is a lightweight, highly testable presentation framework. The MVC framework is d...

What Is ASP.Net MVC Application Life-Cycle?

What Is MVC? The MVC is a framework, standard pattern for developing Web applications, and MVC framework handled by three objects Model, View, and Controller. MVC Application Life-Cycle - In short - MVC application Life Cycle Steps 1.       Creating the request object - a.       Fill route b.       Fetch route 2.       Request context created 3.       Controller instance created 4.       Creating Response object MVC Application Life Cycle Steps - In detail Firstly, I am going to share the MVC process request and after will discuss the process request life cycle. When you send the request to the MVC application that means you are directly calling the controller's ActionMethod i.e. http://localhost:42955/Customers/Index In the above-requested URL, Customers is a controller and Index is an ActionMetho...