Skip to content
Sven Hübner IT
  • Home
  • Blog

.NET

  • Home
  • Blog
  • .NET
  • Page 3

Be more productive with fewer keystrokes: Access modifiers

Posted by By sven.huebner.it November 10, 2021Posted inGeneral Development1 Comment
Only declare access modifiers if you do not want the default. This makes the code much more readable and succinct.
Read More

How to exclude test categories by default for ‘dotnet test’ CLI

Posted by By sven.huebner.it September 30, 2021Posted inTesting
Exclude test categories from "dotnet test" by default via a TestCaseFilter in your .runsettings file.
Read More

Creating POCOs from XSD with a Source Generator

Posted by By sven.huebner.it August 8, 2021Posted inGeneral Development
How to write a source generator for generating POCOs from XSD files.
Read More

Record type gotcha with FluentAssertions 5

Posted by By sven.huebner.it July 22, 2021Posted inTesting
Use version 6+ of FluentAssertions when asserting equality of record types with collections in them.
Read More

Nuget Packaging Series 1: Including other projects’ output assemblies

Posted by By sven.huebner.it May 1, 2021Posted inUncategorized
How to include output assemblies from referenced projects in the same nuget package.
Read More

Nuget Packaging Series: Introduction

Posted by By sven.huebner.it May 1, 2021Posted inUncategorized
Multifaceted requirements for a nuget package are introduced, leading to a series of posts solving each one.
Read More

Gotcha with XmlDocument.Validate and XDocument.Load

Posted by By sven.huebner.it May 1, 2021Posted inUncategorized
TL;DR: XmlDocument.Validate is not a read-only operation. but changes the document tree. XDocument.Load(XmlReader) adds attributes, even if they are marked as unspecified.
Read More

Performance Optimization Guided By Benchmarks

Posted by By sven.huebner.it August 22, 2020Posted inPerformance
This post is just a summary of a few things I learned about performance optimization of CPU-bound / memory-bound processes in C#/.NET. I was able to accelerate two different low-level image processing algorithms by a factor of 10 while learning a lot and enjoying the process.
Read More

Benchmarking .NET code

Posted by By sven.huebner.it July 1, 2020Posted inPerformance
Benchmarking correctly is hard. BenchmarkDotNet makes it much easier.
Read More

Posts pagination

Previous page 1 2 3
Copyright 2025 — Sven Hübner IT. All rights reserved. Sinatra WordPress Theme
Scroll to Top