title: MVC DisplayTemplate Not Rendering if Named for Interface
body: <p>I have a Model: </p>
  
  <pre><code>public class Dog: IPet
  {
      // IPet Implementation
      public string Name { get; set; }
  }
  </code></pre>
  
  <p>and a DisplayTemplate in <code>DisplayTemplates/Dog.cshtml</code></p>
  
  <pre><code>@model IPet // note this is the interface, not the concrete Dog
  &lt;label&gt;@Model.Name&lt;/label&gt;
  </code></pre>
  
  <p>This works perfectly until I rename the file to <code>IPet.cshtml</code>; then the binding fails.  I want to use the same DisplayTemplate for <code>Dog</code>, <code>Cat</code>, <code>Rat</code>, <code>Goat</code> and <code>Gnu</code>, all of which are implementations of <code>IPet</code>. </p>
  
  <p>How can I get the binding to work? </p>