One of the feature of the C# allows to swap values via deconstruction (without using temporary variable). It was introduced while ago (C# 7.0), but I oversaw it. It's a nice feature that allows to swap values in a very elegant way.
Latest posts
- Charles is a tool that enables to view all HTTP(S) traffic between the current system and the Internet. Here I will show how to setup Charles to catch the localhost traffic with the example of ASP.NET Core and the EPiServer Foundation project.
- Optimizely Search & Navigation (a.k.a. EPiServer Find) is a powerful engine but, as being a black box, it might be difficult to diagnose its behavior when things go wrong. This article describes how to make a deep dive into the search engine and get the insights about the underlying query.
- Using thread to resolve the current language in Optimizely is not recommended. Here is why and how to fix it.
- This is a very simple recipe on how to get content from the entry/node code in the Optimizely. Let's dig in!
- Optimizely allows to obtain the ID of the anonymous user (even if the user is logged in). One of the example of the usage is merging cart when the user logs in.