Created
December 8, 2016 14:06
-
-
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"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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