title: ASP.NET Core Web API Authentication
body: <p>I'm struggling with how to set up authentication in my web service. 
  The service is build with the ASP.NET Core web api.</p>
  
  <p>All my clients (WPF applications) should use the same credentials to call the web service operations. </p>
  
  <p>After some research, I came up with basic authentication - sending a username and password in the header of the HTTP request.
  But after hours of research, it seems to me that basic authentication is not the way to go in ASP.NET Core.</p>
  
  <p>Most of the resources I found are implementing authentication using OAuth or some other middleware. But that seems to be oversized for my scenario, as well as using the Identity part of ASP.NET Core. </p>
  
  <p>So what is the right way to achieve my goal - simple authentication with username and password in a ASP.NET Core web service?</p>
  
  <p>Thanks in advance!</p>