title: Blazor: Found markup element with unexpected name 'EditForm' in server side
body: <p>I've asked this question in another forum and didn't get a useful answer.</p>
  <p>Running VS2019 16.8.0, .Net SDK from 3.1.302 to 5.0.100 - Blazor Server project</p>
  <p>I have a razor form and the compiler does not recognize 'EditForm', 'InputText' etc.</p>
  <p>Here is the code:</p>
  <pre><code>page &quot;/GetCustomerProfile&quot;
  @using QuoteBL.Data
  @inject IJSRuntime JSRuntime
  
  &lt;h1&gt;Please fill out form&lt;/h1&gt;
  
  &lt;EditForm Model=&quot;srcfields&quot; OnValidSubmit=&quot;@InvokeGetQuote&quot;&gt;
  
      &lt;p&gt;
          &lt;label for=&quot;age&quot;&gt;Age:&lt;/label&gt;
          &lt;InputText id=&quot;age&quot; @bind-Value=&quot;QuoteBLModel.age1&quot; /&gt;
      &lt;/p&gt;
  
      &lt;p&gt;
          &lt;label for=&quot;smoke&quot;&gt;Do you smoke?&lt;/label&gt;
          &lt;InputCheckbox id=&quot;smoke&quot; @bind-Value=&quot;AllFieldsModel.smoker&quot; /&gt;
      &lt;/p&gt;
  
      &lt;p&gt;
          &lt;label&gt;
              Sex:
              &lt;InputSelect @bind-Value=&quot;QuoteBLModel.sex1&quot;&gt;
                  &lt;option value=&quot;Select Sex&quot;&gt;&lt;/option&gt;
                  &lt;option value=&quot;Male&quot;&gt;Male&lt;/option&gt;
                  &lt;option value=&quot;Female&quot;&gt;Female&lt;/option&gt;
              &lt;/InputSelect&gt;
          &lt;/label&gt;
      &lt;/p&gt;
  
  &lt;/EditForm&gt;
  
  &lt;div&gt;
      &lt;span id=&quot;resultjson&quot;&gt;&lt;/span&gt;
  &lt;/div&gt;
  
  @code {
  
      private AllFieldsModel scrfields = new AllFieldsModel();
  
      private async Task InvokeGetQuote()
      {
  
  // await etc...
  
      }
  }
  </code></pre>
  <p>The model has 2 classes:</p>
  <pre><code>namespace QuoteBL.Models
  {
      public class QuoteBLModel
      {
          public static string productLine = &quot;QoLFlexTerm&quot;;
          public static string display = &quot;101&quot;;
          public static string state = &quot;&quot;;
          public static string sex1 = &quot;&quot;;
          public static string age1 = &quot;&quot;;
          public static string face_Amount = &quot;&quot;;
          public static string premMode = &quot;3&quot;;
          public static string flatAmount1 = &quot;0&quot;;
          public static string tableRating1 = &quot;0&quot;;
          public static string command = &quot;submit&quot;;
      }
      public class AllFieldsModel
      {
          public static string CustPhone = &quot;&quot;;
          public static string CustEmail = &quot;&quot;;
          public static string age1 = &quot;&quot;;
          public static string sex1 = &quot;&quot;;
          public static string state = &quot;&quot;;
          public static bool   smoker = false;
          public static string name = &quot;&quot;;
          public static string address = &quot;&quot;;
          public static string city = &quot;&quot;;
          public static string state = &quot;&quot;;
          public static string zip = &quot;&quot;;
          public static string loan = &quot;&quot;;
          public static string agentPhone = &quot;&quot;;
          public static string agentEmail = &quot;&quot;;
  }
  </code></pre>
  <p>The one answer that I got asked me about the <code>_imports.razor</code> and I already had the <code>@using Microsoft.AspNetCore.Components.Forms</code> in the file.</p>
  <p>Not sure where to go for help. Can't figure out what is wrong.</p>
  <p>If anyone that stumbles here has a suggestion of where I should be posting this. I would appreciate</p>