Skip to content
  • Home
  • Posts
  • var this = me;
  • Search
MARCOSIKKENS.NL
MARCOSIKKENS.NL
Living. Dreaming. Coding
  • Home
  • Posts
  • var this = me;
  • Search
Category: <span>C#</span>

Category: C#

Home Archive for category "C#"

C#9 Features (part 2)

C#9 Features (part 2)
marcosikkens .Net core / C# August 22, 2020 August 17, 2020 Leave a comment

In my last post I wrote about some cool features of C#9. You can find that post here. However while looking through the list I found some other cool ones. So here is another post with them.

Read more"C#9 Features (part 2)"

C# 9 feature init properties and records

C# 9 feature init properties and records
marcosikkens .Net core / C# August 1, 2020 July 31, 2020 Leave a comment

When listening to a DotNetRocks episode I heard Mads Torgersen say that for C#9 immutability improvements are a large part of the new features. Today we take a look at two of those features “init” properties and “records”. Let’s get started.

Read more"C# 9 feature init properties and records"

Making string dictionary key case insensitive

marcosikkens C# April 9, 2020 April 9, 2020 Leave a comment

A colleague pointed me to a cool way to make dictionary searches case insensitive. So I thought it’d share it with you guys.

Read more"Making string dictionary key case insensitive"

Async loading gridview data in WPF with tasks

marcosikkens C# January 27, 2020 January 27, 2020 1 comment

I wanted to load data on a screen in the background because I was experiencing UI Freezes on screen. After changing the code I found that that drawing to the screen actually takes a long time. So I wanted to update my gridview asynchronously. This seemed simple but quickly became …

Read more"Async loading gridview data in WPF with tasks"

Working with feature branches

Working with feature branches
marcosikkens C# / DevOps May 12, 2019 May 6, 2019 Leave a comment

Most of us live in a GIT world. Most teams use feature branches to develop functionality using GIT. However there are still a lot of people who use TFS, SVN or even SourceSafe and may not know what they are and how to use them. In this post I will …

Read more"Working with feature branches"

A couple of gotcha’s with enums

marcosikkens C# April 29, 2019 April 1, 2019 Leave a comment

Within C# I use enumerations a lot. An enumeration is a distinct type which contains a collection of named constants. It can be a lot of underlying types (byte, sbyte, short, ushort, int, uint, long, or ulong) but i usually see the default which is an int (Int32). You can …

Read more"A couple of gotcha’s with enums"

Creating NuGet packages from Azure Pipelines with .net core

Creating NuGet packages from Azure Pipelines with .net core
marcosikkens C# / DevOps April 14, 2019 April 1, 2019 Leave a comment

After my previous post about using Azure DevOps as a buildserver I am going to show you what else you can do with it. The second thing we are going do with it is create a NuGet package and publish it through Azure Pipelines. Read on if you want to …

Read more"Creating NuGet packages from Azure Pipelines with .net core"

Continuous integration in Azure DevOps

Continuous integration in Azure DevOps
marcosikkens C# / MVC March 26, 2019 March 22, 2019 Leave a comment

Continuous Integration allows a developer to make sure their code builds correctly and that unit tests are run after each check in. There are of course a lot more things you can do with it but on this article I’ll focus on these two first. I’ll be using Azure DevOps …

Read more"Continuous integration in Azure DevOps"

Simulating touch on windows 10 for a WPF application

Simulating touch on windows 10 for a WPF application
marcosikkens C# / XAML August 16, 2018 March 15, 2019 4 Comments

Before UWP apps and XAML we had Silverlight and WPF. WPF applications were intended to replace the old Winforms applications. With .Net core 3 supporting WPF it has extended it’s lifespan once more. For a customer I had a WPF application that was mainly operated using a touch screen so …

Read more"Simulating touch on windows 10 for a WPF application"

Injecting config settings in .NET Core MVC Views

Injecting config settings in .NET Core MVC Views
marcosikkens C# / MVC July 20, 2018 July 20, 2018 Leave a comment

After playing around with MVC on .net core a little i realized I needed to have some maps functionality using static bing maps on my site. So after getting a key and reading through some documentation I found out that i needed to set the license key in the map …

Read more"Injecting config settings in .NET Core MVC Views"

Posts navigation

1 2
Powered by Kahuna & WordPress.
©2018 marcosikkens.nl
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.
Back to Top