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

Google sheets - How to make a sparkline for a stock using Google Finance

Today I decided to add some sparklines to my personal spreadsheet that I use to keep track of my stocks. These are small graphs that are »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Google sheets 20 November 2021

C# - How to call the Yahoo Finance API in .Net

Yahoo has one of the best free financial APIs [https://www.yahoofinanceapi.com/] out there and in this post you will see an example of how »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 14 November 2021

C# - How to make Newtonsoft serialize enums as strings instead of integers

Using Newtonsoft.Json you might be annoyed that the default way to serialize enums [https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/enum] is serializing »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 13 November 2021

C# - How to use ForEachAsync()

With .Net 6 we got the new Parallel.ForEachAsync method from the parallel library. Previously we had to make do with Parallel.ForEach method which had »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Tasks and threads, C# 13 November 2021

C# - How to return a Task with a named tuple as a result

So you are likely here because you cannot remember the syntax for returning a task with a named tuple, in short you are likely just looking »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Tasks and threads 23 September 2021

C# - How to set priority for wildcard request matching in Wiremock.Net

If you are on this page you likely created a wildcard endpoint and now you want to respond differently to a request, but keep the wildcard »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Wiremock, Testing 12 September 2021

C# - How to set up scenarios with Wiremock - with examples

Sometimes we want more than just a simple stub from wiremock, sometimes we want to create a scenario. We want Wiremock to do something different when »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Wiremock, Testing, C# 08 September 2021

C# - How to match a specific header in Wiremock.Net

Using Wiremock.Net you can set a requestmatcher to only match a request if it contains a specific header with a specific value, in this post »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Wiremock, Testing, C# 07 September 2021

C# HttpClient - How to set request headers per request

I needed to set a header while using the HTTPClient [https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=net-5.0] in C# »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 06 September 2021

C# - How to match a path with a wildcard in Wiremock.Net

In many cases you want some sort of wildcard in your URL matching for Wiremock.Net. Most REST URLs contain an id, especially at the end »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on Wiremock, Testing, C# 05 September 2021
← Newer Posts Page 16 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