Aug 082019
 
 August 8, 2019  Posted by at 8:04 am Not So Stupid Questions No Responses »
(Not so) Stupid Question 327: What is MQTT?

Another question, and another beautiful hike in Norway! This time the question is about ptotocols, in particular MQTT. MQTT stands for Message Queuing Telemetry Transport and it has been around for a while, but with IoT growing in popularity both on consumer and developer side it has become more relevant and gained more traction. Watchthe […]

Jul 312019
 
 July 31, 2019  Posted by at 11:05 am Not So Stupid Questions No Responses »
(Not so) Stupid Question 326: Should I avoid storing passwords and secrets in version control?

I’m back! Today is the last day of my summer vacation and tomorrow its back to work. I’m excited and eager to start work again, and that’s a good indication that I have an awesome workplace! I’ve spent the last few weeks in the Norwegian mountains and in south of Sweden, as well as training […]

Jun 192019
 
 June 19, 2019  Posted by at 8:12 am Not So Stupid Questions No Responses »
(Not so) Stupid Question 325: Should I use test coverage & use thresholds to pass builds?

A few months back we had a conference with work, and we discussed the upcoming year and how we could improve the system from a customer perspective. A recurrent problem of ours, is that we lack good test coverage, and as a result – unfortunately- some bugs are discovered late in the deployment process. I […]

May 202019
 
ASP.NET Core and .NET Core and the Web Development Stack Timeline

Hello and happy Monday! I’ve had an intense weekend with a sick 5-month-old, but I finally got around to buying a stroller for running and if feels great to run at a decent pace again! Loke is yet to crawl, and has been kind enough to let me sneak him in to work so I […]

May 142019
 
 May 14, 2019  Posted by at 6:47 am Dev Environment, Windows Comments Off on Unlink of file X failed
Unlink of file X failed

Today, as I was switching branches, I came across a problem with several of the project files. Git let me know that several files could not be unlinked, and even after making sure I had closed all processes (mainly VS) were closed. When I tried using the files, I realized they were locked by another […]

Feb 032019
 
 February 3, 2019  Posted by at 12:32 pm Not So Stupid Questions, Visual Studio No Responses »
(Not so) Stupid Question 321: Where does the Maintainability Index calculation come from?

I don’t know if you’ve ever noticed, but in Visual Studio you can you can analyze a project and get a Maintainability Index score. The score, presented as a value between 0 and 100 in Visual Studio, is supposedly a way to calculate how maintainable a piece of code is. I say supposedly, has this […]

Jan 262019
 
 January 26, 2019  Posted by at 10:14 am Not So Stupid Questions 4 Responses »
(Not so) Stupid Question 320: How much time do you spend each week to stay current with .NET & Microsoft technologies?

Earlier this week I had the pleasure of delivering two lectures at a local school for 50 students (approx.). Loke (7 weeks) joined me for the two talks, and although my back was aching from carrying him for four hours straight, I was very thankful he slept through most of it. He usually isn’t a […]

Jan 132019
 
 January 13, 2019  Posted by at 12:58 pm Not So Stupid Questions No Responses »
(Not so) Stupid Question 318: Does ASP.NET Core support the full .NET Framework?

My first week back at work (25%), and also my first week alone with five-week-old Loke. It has been hectic, but it has also been fun and challenging. I’ve kept recording (Not so) Stupid Question videos. Here is one from today with the following question: Does ASP.NET Core support the full .NET Framework? This question […]

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 […]

Dec 092018
 
 December 9, 2018  Posted by at 10:56 am Not So Stupid Questions No Responses »
(Not so) Stupid Questions 314: Should the header be Referrer or Referer?

Well, I’m at the hospital and waiting for the second dose of morphine. It’s a long story therefore question first, short personal update afterwards 🙂 When we do requests and responses using the HTTP protocol, we send headers as key-value pairs. While you can define any header, there are a few standard headers that you […]

Oct 302018
 
 October 30, 2018  Posted by at 11:19 am Not So Stupid Questions No Responses »
(Not so) Stupid Questions 312-313: What is request throttling and why use it?

Last week I attended a user group where Maarten Balliauw did two talks, one on Application Insights and one on request throttling. I made sure to ask him some questions afterwards and record a ‘Stupid Question’ of the day video. Here are the questions asked: 312: What is request throttling? 313: Why/when would you want […]

Oct 182018
 
 October 18, 2018  Posted by at 10:05 am .NET Core, Not So Stupid Questions, Visual Studio No Responses »
(Not so) Stupid Questions 307-311:.NET Core and .NET Standard, unit testing and SpanT

As you know, I’m a big fan of .NET Core. Turns out Mark Rendle also is! I had the pleasure of meeting this lovely programmer and his daughter at LeetSpeak last weekend when they did a session together. Rendle is one of my favorite people in the developer community, besides being very skilled, funny and […]

Oct 102018
 
Microsoft Ignite 2018 recap part 2: Artificial Intelligence

Welcome to the second part of my Microsoft Ignite series! In this blog post I’ll cover news regarding Artificial Intelligence! To read more about the blog post series, and where you can find all the videos: Microsoft Ignite 2018 recap part 1: About MS Ignite and where to watch the sessions online Azure AI consists […]

Sep 272018
 
 September 27, 2018  Posted by at 5:07 am MicrosoftAnnouncements No Responses »
Microsoft Ignite 2018 recap part 1: About  MS Ignite and where to watch the sessions online

It’s hard to stay up do date with all the constant changes and announcements, and as a Microsoft MVP I would like to make this easier for you. Therefore, I’ve decided to write a blogpost series that recaps announcements and news from Microsoft Ignite 2018. I’ve done this before with Microsoft BUILD (this year I […]

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 […]