Quantcast
Channel: Don't Code Tired
Browsing all 207 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Managing Microsoft Feature Flags with Azure App Configuration...

This is part five in a series of articles.So far in this series the feature flags in the application have been managed via the appsettings.json file, for example:{ "Logging": { "LogLevel": { "Default":...

View Article


Preventing Inconsistent Feature Flag Values During a Single Request...

This is part six in a series of articles.If you check a feature flag multiple times during a single HTTP request in ASP.NET Core, the feature can return a different results for each check.For example,...

View Article


Conditional HTML Rendering with Microsoft Feature Flags...

This is part seven in a series of articles.You can render HTML in your views based on whether or not a feature flag is enable or disabled. To do this you can make use of the FeatureTagHelper.For...

View Article

Maintaining Feature Flag Values Across Multiple Requests...

This is part eight in a series of articles.In part six of this series, we saw how to prevent a feature flag from changing during processing of a single request.In this article we’re going to look at...

View Article

Gradually Rollout New Features with Targeting Feature Flags...

This is part nine in a series of articles.One of the feature filters that Microsoft Provides is the targeting feature filter. This allows you to gradually rollout a feature to make sure it’s working...

View Article


Image may be NSFW.
Clik here to view.

Configuring Custom Feature Filters with Azure App Configuration...

This is part ten in a series of articles.In part 4 we looked at creating custom feature filters and in part 5 we looked at configuring features with Azure App Configuration. We can combine these...

View Article

Prevent Procrastination With This One Simple Tip

I’m currently reading Limitless by Jim Kwik and there’s an excellent  method that he outlines if you struggle with getting stuff done due to procrastination. So I though I’d share.Generally I am fairly...

View Article

Running xUnit.net Tests on Specific Threads for WPF and Other UI Tests

Sometimes when you write a test with xUnit.net (or other testing frameworks) you may run into problems if UI technologies are involved. This usually relates to the fact that the test must execute using...

View Article


Image may be NSFW.
Clik here to view.

Simplify and Reduce Test Code with AutoFixture

AutoFixture is a library that you can use alongside your testing framework to reduce the amount of boilerplate test code you need to write and thus improve your productivity. At its core, AutoFixture...

View Article


Image may be NSFW.
Clik here to view.

Approval Tests: Write Tests More Quickly

Sometimes assert code in tests gets big and messy and complicated when the output we’re testing is complex.Approval Tests is a library that can help simplify assert code. The library has other...

View Article

Image may be NSFW.
Clik here to view.

Approval Tests: Assert With Human Intelligence

In the previous article I described how the Approval Tests library can help reduce the amount of assert code that needs to be written. The second benefit of using Approval Tests is the ability to use...

View Article

Image may be NSFW.
Clik here to view.

New Pluralsight Course: Feature Flag Fundamentals with Microsoft Feature...

My latest Pluralsight video training course was just published just in time for some holiday season learning! :)From the description: “Releasing software to production can be hard, risky, and...

View Article

Goodbye 2020, Hello 2030

It has felt like a looong year. We have been relatively lucky here in Australia and especially so in Western Australia. We still went through the toilet paper panic, the handwash shortages, and the...

View Article


How to Make 2021 Your Best Year Ever

Happy New Year!I think we can all agree that 2020 was one of the most challenging years any of us have experienced. Even though here in Western Australia we have been relatively lucky due to our...

View Article

No App Is An Island

No app is an island entire of itself; every app is a piece of the continent, a part of the main(Apologies to John Donne)It’s very easy to be so focussed (either as a developer/team/department) on a...

View Article


Image may be NSFW.
Clik here to view.

ICYMI C# 8 New Features: Switch Expressions

In the first part of this series on what was introduced in C# 8, we’re going to take a look at switch expressions.Switch expressions allow you to write fewer lines of code when making use of switch...

View Article

Image may be NSFW.
Clik here to view.

ICYMI C# 8 New Features: Write Less Code with Using Declarations

This is part 2 in a series of articles.One nice little enhancement introduced in C# 8 helps to simplify code that uses disposable objects.For example consider the following:class MyDisposableClass :...

View Article


Image may be NSFW.
Clik here to view.

ICYMI C# 8 New Features: Simplify If Statements with Property Pattern Matching

This is part 3 in a series of articles.In the first part of this series we looked at switch expressions.When making use of switch expressions, C# 8 also introduced the concept of property pattern...

View Article

Image may be NSFW.
Clik here to view.

ICYMI C# 8 New Features: Nested Switch Expressions

This is part 4 in a series of articles.In this series we’ve already covered switch expressions and one little-known feature is the ability to nest switch expressions.Suppose we have the following 3...

View Article

Image may be NSFW.
Clik here to view.

ICYMI C# 8 New Features: Simplify Array Access and Range Code

This is part 5 in a series of articles.One of the new features that C# 8 introduced was the ability to work more simply with arrays and items within arrays.Take the following code that uses various...

View Article
Browsing all 207 articles
Browse latest View live