Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Html.RenderAction create a separate request?

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?

like image 983
user895400 Avatar asked Oct 23 '22 14:10

user895400


1 Answers

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.

like image 174
wsanville Avatar answered Oct 30 '22 20:10

wsanville