Wednesday, May 5, 2021

MVC Life-Cycle , wwwroot

1. What is MVC and it's cycle?MVC application life cycle has two main phases first creating the request object and second sending our response to the browser.1. Creating Response Object:The request object creation has major four steps as below:.Fill route:- MVC requests are mapped to route tables which in turn specify which controller and action to be invoked. So if the request is the first request the first thing is to fill the route table with routes collection. This filling of route table happens...