Yield return in C#

Hope I'm not the only one that forgets from time to time how yield in C# works. This is a very simple attempt to explain it. Example of regular return »

Disable rendring of a block based on it's content

Let's say we have a block defined like below. The problem that need to be solved occurs when the property ContentBlockLink is pointing to a page that the user does »

Custom validation of properties in EPiServer 7

In EPiServer 7 (and newer versions) developers can easlily validate input from editors and display a message. There are 3 different severities: ValidationErrorSeverity.Info ValidationErrorSeverity.Warning ValidationErrorSeverity.Error (Page cannot »