title: Cannot perform runtime binding on a null reference error
body: <p>In my project, I have got a partial view with the following block of code doing some conditions like this:</p>
  
  <pre><code>@if (!string.IsNullOrEmpty(Model.FirstName)) {
      &lt;h3&gt;  @Model.FirtsName &lt;/h3&gt;
  }
  </code></pre>
  
  <p>Just as simple as that. When I run my project, a null model is returned. I get the following error:</p>
  
  <p><code>Cannot perform runtime binding on a null reference</code></p>
  
  <p>I thought I had already defined this in my <code>if</code> statement.</p>
  
  <p>Is there anything that I am missing?</p>