Category: ASP.NET

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

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;