Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

ASP .Net Core localhost is currently unable to handle this request

$
0
0

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 dependencies, see imageNuget Packages [https://imgur.com/a/HaCQo]. Here's an image of my Startup.cs file Startup [http://imgur.com/a/hHCcY]Lastly, an image of my Program.cs File Program[http://imgur.com/a/cFjE3]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?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>