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