Skip to content

Instantly share code, notes, and snippets.

@jhorsman
Created December 8, 2016 14:06
Show Gist options
  • Save jhorsman/7f27899698dd096b88d413750c9b8684 to your computer and use it in GitHub Desktop.
Save jhorsman/7f27899698dd096b88d413750c9b8684 to your computer and use it in GitHub Desktop.
Minimal DXA 1.6 Core area registration. Without this the DXA webapp cannot use the framework controllers. Those controllers are not in the core module, but are in the ControllerAreaName "Core"
namespace MyWebApp.Web.Site.Areas.Core
{
using Sdl.Web.Common.Models;
using Sdl.Web.Mvc.Configuration;
public class CoreAreaRegistration : BaseAreaRegistration
{
public override string AreaName => "Core";
protected override void RegisterAllViewModels()
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment