Home Tags Privacy About
Peter Daugaard Rasmussen's Picture

Peter Daugaard Rasmussen

Programmer, Developer, Consultant.

Randers - Denmark https://peterdaugaardrasmussen.com 403 posts
← Newer Posts Page 24 of 41 Older Posts →

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

In this post I will present the different HTTP status code groups, which are the groups 1xx (100-199), 2xx (200-299), 3xx (300-399), 4xx (400-499) and 5xx »

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

What is the lock statement (monitor) in C#? and what you should look out for

In this post I will show how the lock statement in C# works and what you should look out for when using it. It is well »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Tasks and threads 25 April 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