title: ASP .Net Core localhost is currently unable to handle this request
body: <p>I created an ASP.NET Core Project and chose an empty project rather than the default template. I use Visual Studio For Mac. I added a few NuGet packages, see image,<a href="https://i.stack.imgur.com/eBjPg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eBjPg.png" alt="enter image description here"></a></p>
  
  <p>Here's an image of my Startup.cs file 
  <a href="https://i.stack.imgur.com/EaZmV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EaZmV.png" alt="enter image description here"></a></p>
  
  <p>Lastly, an image of my Program.cs File
  <a href="https://i.stack.imgur.com/RafxC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RafxC.png" alt="enter image description here"></a></p>
  
  <p>When i run the project I get this error "localhost is currently unable to handle this request. Http Error 500". Since I can't configure IIS on a Mac (Unless there's a way?) I can't seem to figure out what's causing this error. Maybe I'm missing something on the Startup.cs File? What might be cause? </p>