title: There is no registered service of type error in blazor.net when adding a new service
body: <p>I have set up a sample <a href="https://docs.microsoft.com/en-gb/aspnet/core/tutorials/build-your-first-razor-components-app?view=aspnetcore-3.0" rel="noreferrer">blazor.net application</a> as per the Docs. After that I created a new service and hard-coded few data and trying to run the application.</p>
  
  <p>But I'm receiving the following error in the console:</p>
  
  <blockquote>
    <p>There is no registered service of type <code>&lt;applicationName&gt;.App.Services.&lt;serviceName&gt;</code></p>
  </blockquote>
  
  <p>It seems the new service name need to register some where, how can I register the new service?</p>