摘要: 在 Asp.net MVC 中,开发人员要花费大量的心思在 Controller 的设计上;当用户发起 Http 请求时,Controller 首先获得响应。 试想:用户发出请求 http://hostname:80/AzureApps/BookStore 问自己以下两个问题: 1). MVC 是怎样定位 ZureAppsController 的 ? 2). URI 里确实指明了Controller 为 AzureApps,但命名Controller类时,为什么一定要将其命名为: ZureAppsController ? 阅读全文
posted @ 2009-07-13 18:49 刘先勇 阅读(2935) 评论(7) 推荐(20) 编辑