You need to log in to create posts and topics.

Startup.cs Error (line 90) when publishing to production server.

I'm getting an error in Startup.cs (line 90) when publishing the website to a production server and trying to get it running.

It's a null reference error showing this to be null...

var applicationUrl = Configuration["ApplicationUrl"].TrimEnd('/');


Any reason why this is occurring?  I haven't had any trouble with previous .net core versions using your startup template.


look into the appsettings.json if there the entry:

"ApplicationUrl": "http://localhost:5000",