Posts Tagged: dotnet
Stay up-to-date with the latest news, tips, and insights on the .NET Framework and learn how to build, deploy, and manage your applications.
- Using The Factory Design Pattern in .NET
May 9
Discover how to use the Factory design pattern in .NET applications to create objects in a flexible and maintainable way. It provides examples of real-world scenarios where the pattern could be used to improve code quality, and demonstrates how to implement the Factory pattern in C# code.
- Using The Decorator Design Pattern in .NET
May 8
Discover how to use the Decorator design pattern in C#/.NET to add new behaviours to an object dynamically without changing its underlying structure. See how you can make your code more maintainable and extensible, and see step-by-step instructions for implementing it in C#. Find out how to use the Decorator pattern with dependency injection.
- Using The Singleton Design Pattern in .NET
May 7
Discover how to use the Singleton design pattern in C#/.NET to create a single instance of an object that is globally accessible throughout your application. Learn about the benefits and drawbacks of the Singleton pattern, how to implement it using Lazy<T> for thread-safety, and its role in modern .NET development and Dependency Injection.
- Using the Builder Design Pattern in .NET
Mar 14
Discover how to use the Builder pattern in C#/.NET to create more maintainable and flexible code. Learn implementation tips and answers to FAQs in this comprehensive guide. Improve your .NET development skills and create reusable code today.
- .NET Serialization Benchmarks - Feb 2023
Feb 26
What is the fastest .NET Serialization framework in February 2023? I've updated my benchmarks to find out.
- ASP.NET Core Versioning: Minimal APIs
Oct 4
Learn how to setup ASPNET Core Versioning for Minimal APIs
- ASP.NET Core Versioning: MVC APIs
Sep 30
Learn how to setup ASPNET Core Versioning for MVC APIs
- Pro Testing with Xunit & Localstack
Sep 25
Learn how to setup Xunit with any docker image using localstack as our example
- Video Content Round Up: June 2022
Jun 30
Update on the Youtube channel reboot and details on the 4 new videos that I've posted!
- 3 Ways To Increase App Reliability With Polly
Feb 3
Learn how to use retries with decorrelated jitter, bulkhead and circuit breaker patterns to increase reliability in your applications with Polly
- Extending the AWS SDK for .Net
Jan 8
In this article we're taking a look at how to extend the AWS SDK for .NET, which can be useful for various tasks like adding in some custom observability components into the request pipeline.
- Things you might not know about CSharp - Duck Typing Jan 7
- Things you might not know about CSharp - Using Params with Indexers
Jan 2
In the first part of this series, we are going to take a look at a little known feature with index parameters. See how to pass multiple arguments to a custom indexer.
- Using Certificates From AWS Private Certificate Authority in .NET
Jan 17
As companies grow, moving to a zero-trust architecture is majorly important. This article explores how to build it in AWS.
- Blending Metrics Using EventCounters In C#
Dec 27
As companies grow, moving to a zero-trust architecture is majorly important. This article explores how to build it in AWS.
- Publish Metrics to Cloudwatch in .NET Core
Dec 13
As companies grow, moving to a zero-trust architecture is majorly important. This article explores how to build it in AWS.
- Using Moq with ref, in and out parameters in C#
Nov 28
A look into how we can use Moq with ref, in and out parameters in C#
- Setting Up A Repository Template In Github For .Net
Oct 10
A look into how we can create a Github repository to automatically have our core files in it.
- Implementing Simple Feature Toggles In AspNetCore Using IConfiguration
Aug 29
A look into how we implement simple feature toggles using IConfiguration
- Diagnostics in .Net Core 3: An alternative approach to using dotnet-counters with Docker
Jun 25
A look into the EventCounters API in .Net Core 3, and seeing how we can capture inbound HTTP Requests.
- Diagnostics in .Net Core 3: Listening to inbound HTTP requests
Jun 19
A look into the EventCounters API in .Net Core 3, and seeing how we can capture inbound HTTP Requests.
- Diagnostics in .Net Core 3: Listening to outbound HTTP requests
Jun 18
A look into the EventCounters API in .Net Core 3, and seeing how we can capture outbound HTTP Requests.
- Diagnostics in .Net Core 3: Using dotnet-counters with Docker
Jan 25
A look into how we can use dotnet-counters with a docker container
- Diagnostics in .Net Core 3: Event Counters
Jan 5
A look into the EventCounters API in .Net Core 3
- Utf8Json Media Formatters for ASP.Net Core
Jul 29
An updated sample of the input/output media formatters which use Utf8Json as the serialisation library
- Building Service Fabric Apps With VSTS YML Build Definitions
Jun 30
Publish an Service Fabric application using a VSTS YML build definition.
- Automated Builds in VSTS with YML Build Definitions
Jun 17
Publish an ASPNET Core website using a VSTS YML build definition.
- Talks: Episerver Content Providers & Lightening Talk Apr 4
- OpenMessage 2017 Roadmap
Feb 11
OpenMessage originally started out as a replacement for an internal library that was used across teams. Now i'm looking at the future of the project and what is next.
- OpenMessage 1.1 Released
Feb 5
OpenMessage 1.1 released
- DevOps
Jan 24
I have recently been getting to grips with the build and deployment features of both Teamcity and Octopus Deploy. This has been making me think about the industry buzz word DevOps and exactly what that means.
- Dev Lunches: What, Why, How
Dec 17
Here I explain what a dev lunch is, and how to get started.
- Message Queue Fundementals: MSMQ
Sep 28
This article describes the fundamentals of MSMQ. MSMQ is Microsoft's Message Queuing service that can be used to implement both synchronous and asynchronous solutions.
- Message Queue Fundementals: Introduction
Sep 7
Message queues are a substantial part of modern day enterprise architectures and a vital part of providing scalable solutions. Here I walk you through some of the basic patterns.
- Finding Reducible Expressions
Jun 24
This post details the Expressions that can be reduced in the System.Linq.Expressions namespace.
- How your binary search implementation is broken and how to fix it
Jun 20
This post describes how a bug exists in most implementations of a binary search algorithm and how to fix it
- Unit Testing Equals The Forgotten Tests
Jun 18
This post demonstrates often overlooked tests when unit testing an object.
- Enabling HTTP Strict Transport Security HSTS via Web Config
Jun 10
This post describes how to enable HTTP Strict Transport Security (HSTS) via a web configuration file
- Enabling HTTP Strict Transport Security HSTS via ASP Net MVC ActionFilters
Apr 21
This post describes how to enable HSTS in ASP.Net MVC using an ActionFilter
- SAP Business One V9 Version Strings Mar 15
- Becoming An MCP
Jun 10
A bit about how I managed to pass the 70-483 Programming in C# exam to offically become a Microsoft Certifed Professional.
- Using IDisposible correctly
May 6
A demonstration of how to use IDisposable correctly.
- Semaphore vs SeamphoreSlim Micro Benchmark
Mar 11
A micro-benchmark to demonstrate the performance difference between the Semaphore and SemaphoreSlim classes in C#
- Flicker free forms and listview in .Net
Dec 30
Just one solution to a flicker problem I encountered when developing a windows form application.
- Extension methods in dotnet
Dec 1
An introduction into .Net's extension methods, how to create them and how to use them.