I'm not seeing any extra requests in Fiddler when I have a view that makes RenderAction calls. Is it because it isn't a separate web request, per say, it's all done internally when the controller is rendering its view?

有帮助吗?

解决方案

RenderAction simply invokes the given action on a controller. The result of that action will be written to the current page that's being requested. It does not force the client to make additional requests.

For more info, see Phil Haack's post about Html.RenderAction and Html.Action.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top