title: Easiest way to expose a Framework 4.7.2 library as a Web API
body: <p>I have a library created with Visual Studio 2019 and C#, that basically exposes a method that takes a textfile, doing some magic and returning a JSON. Target Framework is 4.7.2, the GUI is WPF. Now I want to expose this method as Web API.</p>
  
  <p>When I started to check the .NET Framework options I totally got confused by Core 3.1, Standard 2.0 and what else. After some readings I guess it would be best to simply wait for .NET 5.0, but I want to do it now. So any suggestions what's the fastest way to get it done? I'm pretty free what to use, but I guess a .NET websomething that can access my library would be the best?</p>
  
  <p>Thanks in advance,<br>
  Frank </p>