Writing Azure Functions with Function Monkey: Validation
Function Monkey is a framework to define Azure Functions in a fluent way as opposed to using binding attributes on function methods.Other Function Monkey articles:Creating Azure Functions with Function...
View ArticleWriting Azure Functions with Function Monkey: Using Commands Without Handlers
If you’ve read the previous articles on Function Monkey you may be wondering if you always need a command handler. Sometimes you may want to accept a request into the system (for example via HTTP) and...
View ArticleSimplifying Parameter Null and Other Checks with the GuardClauses Library
Often you want to add null checking and other check code at the start of a method to ensure all the values passed into the method are valid before continuing.For example the following method checks the...
View ArticleWriting Azure Functions with Function Monkey: Validation
Function Monkey is a framework to define Azure Functions in a fluent way as opposed to using binding attributes on function methods.Other Function Monkey articles:Creating Azure Functions with Function...
View ArticleWriting Azure Functions with Function Monkey: Using Commands Without Handlers
If you’ve read the previous articles on Function Monkey you may be wondering if you always need a command handler. Sometimes you may want to accept a request into the system (for example via HTTP) and...
View ArticleSimplifying Parameter Null and Other Checks with the GuardClauses Library
Often you want to add null checking and other check code at the start of a method to ensure all the values passed into the method are valid before continuing.For example the following method checks the...
View ArticleSimplifying Parameter Null and Other Checks with the GuardClauses Library
Often you want to add null checking and other check code at the start of a method to ensure all the values passed into the method are valid before continuing.For example the following method checks the...
View ArticleVariables? We Don’t Need No Stinking Variables - C# Discards
C# 7.0 introduced the concept of discards. Discards are intentionally unused, temporarily dummy variables that we don’t care about and don’t want to use.For example, the following shows the result of...
View ArticleAdding Tuple Support to .NET Classes in C#
Tuples in C# are objects that can be created with a specific syntax. You don’t have to declare tuple types first like you do with classes for example, they can instead be created using a lightweight C#...
View ArticleNew Pluralsight Course: Creating Automated Browser Tests with Selenium in C#
My newest Pluralsight course was just published and you can start watching today. Selenium is a tool that allows you to automate a web browser and simulate an end-user interacting with your web app....
View ArticleSynology DiskStation DS1618 Plus Setup And Initial Review
Early this year I tweeted this:Think 2020 is the year to my first NAS. Would you still recommend a @Synology NAS mr @shanselman - if so what CPU/RAM would you recommend so I can run max apps on the NAS...
View ArticleRunning ASP.NET Core Apps on a Synology NAS with Docker
Now I’ve got the Synology NAS up and running, I thought it would be interesting to see what the Docker support is like. You can essentially run Docker container instances on the NAS box which also...
View ArticleYou Can Watch All My Pluralsight Training Videos for Free This April
No credit card needed, sign up for free now and start watching all my Pluralsight training courses for free.Some suggestions:C#C# Attributes: Power and Flexibility for Your CodeWorking with Nulls in...
View ArticleSimplifying Parameter Null and Other Checks with the Pitcher Library
In a previous post I looked at the GaurdClauses library that can simplify the usual guard checks we sometimes need to write. In the comments someone mentioned the Pitcher library that accomplishes the...
View ArticlePretty Method Display in xUnit.net
One little-known feature of the xUnit.net testing framework is the ability to write test method names in a specific way and then have them converted to a ‘pretty’ version for example in Visual Studio...
View ArticleUsing the Microsoft Feature Toggle Library in ASP.NET Core...
This is the first part in a series.As the creator of the open source FeatureToggle library for .NET it was with some interest that I learned about Microsoft’s own offering to the feature toggle/feature...
View ArticleReducing Magic Strings with Microsoft Feature Toggles...
This is the second part in a series.One of the downsides of Microsoft’s feature flags/feature toggle implementation is the reliance on magic strings in code to query the status of features.For example,...
View ArticleUsing C# Source Generators with Microsoft Feature Management Feature Flags
C# Source Generators allow you to generate and compile source code dynamically. You can read more about them in this previous article.In my series on Microsoft Feature Management, part 2 showed how to...
View ArticleMicrosoft Feature Flags: Controlling Features with Feature Filters...
This is the third part in a series.So far in this series, the configured feature flags have either been set to on (true) or off (false):"FeatureManagement": { "Printing": true, "LiveChat": false }In...
View ArticleMicrosoft Feature Flags: Implementing Custom Feature Filters...
This is part four in a series of articles.In part three I introduced the concept of feature filters. These allow features to be enabled/disabled based on more than a simple true/false...
View Article