Is there any performance implication if we move the codes of view to a partial view and render the partial view from the parent view like the following:


The ProcessContent is an MVC UI Extension function.

It is done so that the output of the partial view can be processed only once. Otherwise the processing code had to be placed in multiple lines in the view.

  • You haven't provided enough context for anybody to answer. What is the "performance" now? What performance penalty could you support if there was an improvement in another metric? – BobDalgleish Jan 25 at 14:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.