Category: Microsoft

Dependency Injection with Unity in an ASP.NET application

You will find lots of articles regarding Dependency Injection and why you should implement this design pattern. While this post is not about the “why” but the “how”, my two cents to “why do it” is below: Code becomes easily testable Components/layers are decoupled Overall promotes maintainability and good software practice This post will guide

Episerver with Azure AD authentication

In this post, I will go through the steps I took to disable the built-in membership provider of Episerver and instead use Azure’s Active Directory authentication. Register your Episerver app within your Azure AD The following steps are the changes you need to make on the Azure portal. Portal > Active Directory > App registrations >

Using XForms in EPiServer 8 MVC

Ha, another milestone for me – I was able to create an XForm in EPiServer and hook it up to a block! First step I took:  Create a Form block, which consists of the following properties: public class FormBlock { public virtual string Heading { get; set; } public virtual XForm Form { get; set;