You need to design a solution for programmatically adding reusable user-interface code to views and allowing the user-interface code to be rendered from the server side.
Which approach should you recommend
A.
Create a jQuery library plug-in.
B.
Create an HtmlHelper extension method.
C.
Create a controller that returns an ActionResult.
D.
Create a WebForm server control that stores values in ViewState.