Dec 132018
 
 December 13, 2018  Posted by at 6:46 am .NET Core, ASP, Not So Stupid Questions No Responses »
(Not so) Stupid Questions 315: Should I use configuration files instead of environment variables?

Fun fact- this video was recorded while I was in prodromal labor, and although you can’t tell- I was in a lot of pain. I recorded this video with Barry at the Öredev conference after my session on ASP.NET Core, and afterwards we drove home. The next day I had to make an emergency visit […]

Sep 182018
 
 September 18, 2018  Posted by at 9:02 am .NET Core, ASP No Responses »

I’m setting up OpenIdConnect authentication for our system and came across a peculiar problem. Although I was able to log in using an external authentication server (for example a Google account) the HttpContext.User.Identity.Name would be null. But looking at the claims I could see a name claim. What was going on? When you authenticate the […]

Sep 132018
 
 September 13, 2018  Posted by at 12:07 pm .NET Core, ASP, Dev Environment No Responses »
ASP.NET Core publish error: project was restored using X version Y would be used instead

A quick post to vent my frustration after spending a few hours trying to deploy a self contained ASP.NET Core app. I was going to deploy a portal for our Konstrukt implementation consultants, but the deploy folder would be empty and I kept getting this error when publishing from the commandline: error : NETSDK1061: The […]