Home Tags Privacy About

Peter Daugaard Rasmussen

A personal blog on thoughts, ideas and solutions in the world of software development, programming, web development and software architecture.

← Newer Posts Page 24 of 41 Older Posts →

C# - How to convert a list of tuples into a dictionary using the ToDictionary method

There is a built-in method in C# where you can create a dictionary from a list - it is called ToDictionary [https://docs.microsoft.com/en-us/ »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 04 July 2020

How to lazy load Disqus using vanilla/native javascript! - Updated 2022

I recently found out that my blog was slow according to google pagespeed. I scored below 50, but I could have sworn that when I created »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Javascript, HTML and CSS 27 June 2020

I now have a Twitter account for my blog!

I have now created a twitter account for my blog. Perhaps I should have done this years ago but I have always been against sharing my »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Blogging 20 June 2020

What is software architecture? with definitions and examples - updated for 2022

It can be hard to grasp what software architecture is as it encompasses a wide range of theoretical and practical disciplines. It ranges from describing how »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Software architecture 13 June 2020

Software architecture - defining what is a monolith?

There are not many definitions of monoliths out there and they are often portrayed as the opposite of a microservice architecture or what not to do. »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Software architecture 06 June 2020

C# - How to easily create and start a new thread

It is quite easy to start a new thread in C#. All you need is to instantiate a new object of the type Thread and call »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Tasks and threads 30 May 2020

The Arrange, Act and Assert structure for unit tests

The Triple A (AAA) abbreviation: Arrange, Act and Assert is a way to structure your unit tests into 3 sections: * Arrange: Assign variables, setup stubs, mocks »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Testing 23 May 2020

C# - how to inject, mock or stub DateTime for unit tests

In this post I will demonstrate how you can stub the DateTime [https://docs.microsoft.com/en-us/dotnet/api/system.datetime?view=netcore-3.1] struct in »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Testing 16 May 2020

How to redirect HTTP put, post or delete requests and why you may end up with a GET request upon redirection

I will start with a small disclaimer: it is always up to the client how to handle redirects. Most of the time they handle status codes »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Web and HTTP 09 May 2020

List of HTTP status response code group meanings, such as 200, 400 and 500

Understanding HTTP Status Codes When you interact with a website or application, your browser and the server communicate using HTTP (Hypertext Transfer Protocol). An important part »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Web and HTTP 02 May 2020
← Newer Posts Page 24 of 41 Older Posts →
  • Rss
  • Twitter
  • LinkedIn
  • profile for Peter Rasmussen at Stack Overflow, Q&A for professional and enthusiast programmers
Peter Daugaard Rasmussen - developer, Consultant, Blogger © 2025 Privacy policy