Skip to content

Finchett.com

A brain dump

  • Home
  • Blog
  • About
  • Kubernetes
  • SQL Server
  • Contact
  • Newsletter
  • Finchett.com Privacy Policy

All posts by Stephen

  • Home
  • Exploring Playwright’s Trace Viewer
13 January 2024

Exploring Playwright’s Trace Viewer

By Stephen in Development Tag playwright, testing

Introduction One of Playwright's most useful features is its Trace Viewer. This blog post explores what Playwright’s Trace Viewer is, how it can be used, and how it can help…

Read More

13 January 2024

The foreach Loop Best Practices and Common Pitfalls

By Stephen in Development Tag c#, foreach

Introduction The foreach loop in .NET is a powerful and commonly used construct that simplifies iterating over collections. While its simplicity and readability are undeniable, there are nuances and potential…

Read More

13 January 2024

HashSet v List

By Stephen in Development Tag c#, hashset, performance

Introduction In .NET, collections are fundamental to data storage and manipulation. While List<T> is a go-to choice for many developers, HashSet<T> is a powerful alternative offering unique performance benefits. This…

Read More

13 January 2024

Asynchronous Task.Delay

By Stephen in Development Tag async, c#

Introduction Task.Delay is a method in the .NET framework that creates a task that completes after a specified time period. Asynchronous programming often uses this method to introduce a delay…

Read More

13 January 2024

Optimising Performance by Defining the Length of a C# List

By Stephen in Development Tag c#, list, performance

Introduction When working with collections in C#, especially List<T>, understanding how they grow and the implications on performance is very important. This blog post looks into the inner workings of…

Read More

12 January 2024

Using Custom ID Classes

By Stephen in Development Tag c#, ID

Introduction Managing identification fields (IDs) is crucial to data integrity and application design. For years, I have done what most people do and defined most IDs as Ints, Longs, Strings,…

Read More

10 January 2024

Guard Clauses

By Stephen in Development Tag c#, guard-clauses, validation

Introduction Ardalis.GuardClauses is a package in .NET created by Steve Smith (also known by his alias, Ardalis), who is an experienced software architect and developer. The package is designed to…

Read More

10 January 2024

The Bulkhead Pattern

By Stephen in Development Tag c#, patterns

Introduction In microservices and distributed systems, resilience and fault tolerance are not just buzzwords but essential components of system design. The Bulkhead Pattern, borrowed from naval architecture, offers an approach…

Read More

9 January 2024

Understanding Task.Yield

By Stephen in Development Tag c#, rabbitmq

Introduction Asynchronous programming has become a cornerstone in modern C# development, especially for applications that require high responsiveness and scalability. Among the plethora of tools and keywords at the disposal…

Read More

9 January 2024

Underused Moq Features

By Stephen in Development Tag c#, moq, unit-testing

Introduction One of the most underused features of Moq, is its ability to handle callbacks and custom method implementations. While many developers are familiar with the basic setup and verification…

Read More

Posts pagination

1 2 3 … 32

Search

Table Of Contents
  1. Introduction
  2. Callbacks in Moq
    • Example Usage:
  3. Custom Method Implementations
    • Example Usage:
  4. Conclusion

Recent Posts

  • Running Proxmox on a Raspberry Pi
  • Honouring .gitignore settings
  • Faker.Net: Data Generation for Developers
  • Exploring MiniExcel: A Lightweight .NET Library for Excel Operations
  • File Path Size Does Matter

apis (4) async (8) c# (103) devops (4) dotnet (5) esp32 (11) git (11) hardware (6) joins (6) kubectl (4) kubernetes (13) logging (4) nanoframework (6) network (8) NFS shares (5) nunit (8) patterns (34) performance (7) pi (8) playwright (7) plugins (8) proxmox (13) serilog (4) setup (16) sql (46) testing (9) tools (6) tslint (4) typescript (23) unit-testing (9) webapi (4)

Archives

Get the Newsletter

Categories

  • Development
  • Infrastructure
  • Other
  • Plugins
  • Raspberry Pi
  • wordpress

Recent Posts

  • Running Proxmox on a Raspberry Pi
  • Honouring .gitignore settings
  • Faker.Net: Data Generation for Developers
  • Exploring MiniExcel: A Lightweight .NET Library for Excel Operations
  • File Path Size Does Matter

Proudly powered by WordPress| Theme: SpicePress Dark by SpiceThemes

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Finchett.com
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.