Home Tags Privacy About

All posts tagged with "C#"

C# (C-sharp) is a general-purpose programming language using strong typing, It was developed around 2000 by Microsoft and used on the .Net platform.

← Newer Posts Page 12 of 13 Older Posts →

Why do we use mocking for unit tests? and the use of test-doubles - Updated 2022

In order to understand how and why we use mocks for tests we need to understand different types of test doubles (implementations used for testing) and »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Testing 09 December 2017

Solution for "Invalid return type" from Dapper.Contrib when inserting row

This is another one of those embarrassing moments. I just had this issue for quite some time and I could not figure out what I was »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Dapper 23 October 2017

C# namespaces - What is global:: and when/why to use it?

If you are like me, then you do not care much about namespaces. Hitting alt + enter using resharper gets you what you want most of the »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 21 October 2017

Easy and Simple way to start a new task in C#

I recently look for an easy way to start a new task in C#. Many of the examples that I found required several lines of code. »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Tasks and threads 13 October 2017

C# - Simplest way to turn a List of strings into a comma separated string - updated 2022

What you are looking for is most likely the static method Join from the string class. It is a very smooth way to create a comma »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 04 October 2017

C# MemoryCache - Absolute expiration vs sliding expiration

So you are going to use MemoryCache and you have to choose a way to expire your cache. There are two options: Absolute expiration and sliding »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 02 October 2017

C# - Great and simple implementation of MemoryCache - updated 2020

Years ago I made this blog post on a memorycache implementation done by Falafel software. I had a task where I needed to use caching so »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 24 September 2017

C# - Differences between DataContractSerializer and XmlSerializer

Once again I had this discussion at work. What is the difference between DataContractSerializerand XmlSerializer? Why use one of them over the other? The two serializers »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C# 20 September 2017

Great books for learning or improving C# skills - updated for 2022

Here I have put together a list of C# books that I find worth reading if you are getting into programming and your language of choice »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on C#, Books, Programming in general 30 August 2017

C# - Set a friendly / readable ConnectionName for RabbitMQ connection

I recently looked into this. I did a lot of googling before finding the simplest solution ever. using your ConnectionFactory(or IConnectionFactory) you invoke the method »

Peter Daugaard Rasmussen Peter Daugaard Rasmussen on RabbitMQ, C# 13 July 2017
← Newer Posts Page 12 of 13 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