| Action Result | Helper Method | Description |
|---|---|---|
| Renders a view as a Web page. | ||
| Renders a partial view, which defines a section of a view that can be rendered inside another view. | ||
| Redirects to another action method by using its URL. | ||
| Redirects to another action method. | ||
| Returns a user-defined content type. | ||
| Returns a serialized JSON object. | ||
| Returns a script that can be executed on the client. | ||
| Returns binary output to write to the response. | ||
| (None) | Represents a return value that is used if the action method must return a null result (void). |
asp.net mvc3内置action result
最新推荐文章于 2024-03-02 17:41:50 发布
本文介绍了ASP.NET MVC中的ActionResult概念,包括ViewResult、PartialViewResult、RedirectResult等类型的作用及使用方式。这些结果类型帮助开发者实现从控制器到视图的不同形式的数据传递。
1550

被折叠的 条评论
为什么被折叠?



