任何人都可以解释asp.net中的MVC 3应用程序如何工作? [英] How MVC 3 application working in asp.net can anyone explain?

查看:85
本文介绍了任何人都可以解释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 each HTTP request and invokes ASP.NET that invokes UrlRoutingModule
Step 2: UrlRoutingModule starts routing system. Then routing system parses the incoming Url and constructs a Request Context and searches RouteTable. MvcRouteHandler helps for passing the Request Context which includes parameters parsed from Url and provides access to Request and Response objects.
Step 3: MvcRouteHandler then invokes DefaultControllerFactory which follows a naming convention to choose the correct Controller(C) class for a given request. Controller invokes the correct Action Method.
Step 4: Controller interprets with the Model(M) which manages the behavior and data of the application domain, responds to requests for information about its state. Then returns an ActionResult object and inform the View(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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆