Creating EPiServer Page Types using ReSharper File Templates

When creating new page types, developers mostly use the EPiServer CMS Visual Studio Extension or copy and paste the code from existing files. In this blog post, I’ll show you how to create EPiServer page types using ReSharper file templates. Once you learn all the shortcuts, it becomes much faster to generate code using ReSharper, rather than copy and pasting.

Retrieving Available Content Types in EPiServer

After a few development iterations it can be difficult to keep an overview of all content types and their properties. We can always look in Visual Studio or click through different menus in edit and admin mode, but that’s just too time-consuming. It would be nice to have all that information in one place, in a user-friendly format, and be able to filter and export the data to a PDF file.

Logging to Console using Log4Net

Logging can be very useful when debugging C# code. ColoredConsoleAppender logs all messages to the console and highlights error, info, and debug messages with different colors, which makes the debugging experience a bit more pleasant.