任何人都可以解释asp.net中的MVC 3应用程序如何工作? [英] How MVC 3 application working in asp.net can anyone explain?
本文介绍了任何人都可以解释asp.net中的MVC 3应用程序如何工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在CP中检查此链接:
面向初学者的ASP.NET MVC3 [ ^ ]
这些链接可能会帮助您:
http://www.asp.net/mvc/tutorials [ http://www.asp.net/mvc/mvc3 [此处上找到更多详细信息.
OR
浏览以下两个链接以获取有关MVC3和MVC4的更多信息:
ASP.NET MVC 4
ASP.NET MVC 3
让我知道您是否需要更多信息:)
Hi,
How MVC 3 application working in asp.net can anyone explain???
解决方案
Check this link in CP:
ASP.NET MVC3 For Beginners[^]
these links might help you:
http://www.asp.net/mvc/tutorials[^]
http://www.asp.net/mvc/mvc3[^]
If you are looking for ASP.NET MVC Request Response processing , please read the following:
ASP.NET MVC(MODEL VIEW CONTROLLER
) is an architecture to develop ASP.NET web applications in a different manner than the traditional ASP.NET web development. The entire ASP.NET MVC architecture is based on Microsoft .NET Framework.
Like a normal web server interaction, MVC application also accepts requests and responds to the web browser in the same way.
Step 1:IIS
takes eachHTTP request
and invokes ASP.NET that invokesUrlRoutingModule
Step 2:UrlRoutingModule
starts routing system. Then routing system parses the incoming Url and constructs aRequest Context
and searchesRouteTable
.MvcRouteHandler
helps for passing theRequest Context
which includes parameters parsed from Url and provides access toRequest
andResponse
objects.
Step 3:MvcRouteHandler
then invokesDefaultControllerFactory
which follows a naming convention to choose the correctController(C)
class for a given request.Controller
invokes the correctAction Method
.
Step 4:Controller
interprets with theModel(M)
which manages the behavior and data of the application domain, responds to requests for information about its state. Then returns anActionResult
object and inform theView(V)
to change as appropriate.
You will find more detail over here .
OR
Navigate the following two links for more on MVC3 and MVC4:
ASP.NET MVC 4
ASP.NET MVC 3
Let me know if you need further information :)
这篇关于任何人都可以解释asp.net中的MVC 3应用程序如何工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文