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 26 of 41 Older Posts →

Why boolean names should be positive and not negative

This post may seem like sub optimization to some, however high readability of code makes code easier to understand and thereby change. In my opinion, great »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Java, Programming in general 08 February 2020

C# HttpClient - how to set content-type for a request

For some reason I can never remember how to make a POST or PUT request with a content-type other than JSON or XML. For JSON and »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on HttpClient, C# 01 February 2020

How to fix a simple Asp.net core controller route that is not working

Once in a while I add a new action to my controller and for some reason it does not work, even though I have a whole »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on ASP.NET 25 January 2020

Why move from the regular .NET Framework to .NET Core?

With Microsoft's announcement to only continue development on .Net Core there is little reason not to start looking at .Net Core. The only reasons »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on .Net 18 January 2020

Why do we have different log severities (levels) for logs?

Over the years I have worked with many different log frameworks, both open source and in house. One of the things that are often not that »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen 11 January 2020

C# - How to read all lines in a file to an array or list

In C# it is quite convenient to read all files to an array. You can use the method ReadAllLines() [https://docs.microsoft.com/en-us/dotnet/api/ »

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

Great programming books that software developers and architects should read in 2020

As I have done for the past 4 years, I will again this year create a list of my favourite books on software development. As seen »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Books, Programming in general 01 December 2019

C# - Trim() String using a string instead of a single char

Today I found that C# does not have a built in method for trimming strings using another string. The built in method for trimming strings [https: »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 31 October 2019

xUnit - How to check if a call does not throw an exception

If you are moving from NUnit to xUnit, you will likely encounter the absence of the DoesNotThrow method in xUnit. At first I believed this did »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Testing 27 October 2019

Microservices - what is a nano service?

I often use the term "nano service", but I figured that I had never defined this, that I will do in this post. In »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Software architecture 14 August 2019
← Newer Posts Page 26 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