title: HtmlHelper Class Not Found in MVC
body: <p>Hi I want to use HtmlHelper in MVC. But it is not recognized. So I try to add <strong>using System.Web.WebPages.Html</strong>. But After I Add this in my code the <strong>AnonymousObjectToHtmlAttributes</strong> not recognized.  Is it deprecetated or something else?</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Web;
  using System.Web.Mvc;
  using System.Web.WebPages.Html;
  namespace TestFrame
  {
      internal class IframeBuilder
      {
          internal static HtmlString Iframe(object htmlAttributes)
          {
              IDictionary&lt;string, object&gt; parsedHtmlAttributes = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes);
  
              TestFrame.IframeId = GetId(parsedHtmlAttributes);
  
              string parsedIframe = CreateIframeTag(parsedHtmlAttributes);
              parsedIframe += ReceiveMessageScript();
              parsedIframe += SetIframeIdScript();
  
              return new HtmlString(parsedIframe);
          }
      }
  </code></pre>