Skip to content

Instantly share code, notes, and snippets.

@mortenbock
mortenbock / ConfigFactory.cs
Created June 1, 2015 11:49
Generic Ditto take 2
using Our.Umbraco.Ditto;
using Umbraco.Core;
using Umbraco.Core.Models.PublishedContent;
namespace MappingDemo.Custom.Mvc
{
public class ConfigFactory : ApplicationEventHandler
{
protected override void ApplicationStarting(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
{