title: asp.net mvc 4: RenderBody() is writing out Model name to the page
body: <p>i am working/tweaking the default install of asp.net mvc 4 .. added some views .. </p>
  
  <p>and when i try to pass a model to my view, that model (name and namespace) gets written out to page. </p>
  
  <pre><code>@Model Blah.Web.UI.Models.DirectoryModel
  @{
      ViewBag.Title = "Directory";
      Layout = "~/Views/Shared/_Layout.cshtml";
  }
  </code></pre>
  
  <p>when i view my page, i see  </p>
  
  <blockquote>
    <p>Blah.Web.UI.Models.DirectoryModel Blah.Web.UI.Models.DirectoryModel</p>
  </blockquote>
  
  <p>written out twice at the top of the page.. </p>
  
  <p>my controller just initializes the model and passes it inside the view.. </p>
  
  <p>also i noticed that this happens within @RenderBody() called form _layout.. so i am assuming it is done somewhere in my view.. </p>
  
  <p>even if i comment out all code on my view (accept the declaration above) i still see this string written out. </p>