public override void RegisterArea(AreaRegistrationContext context, IApplicationBus bus)
        {
            // Map embedded resources.
            // NB: Must come before main Area mapping.
            context.MapEmbeddedResource(AreaName, "ResourceContentRoute", AreaName + "/Content/{resourceName}");
            context.MapEmbeddedResource(AreaName, "ResourceImageRoute", AreaName + "/Images/{resourceName}", resourcePath: "Content/Images");
            context.MapEmbeddedResource(AreaName, "ResourceCssRoute", AreaName + "/Css/{resourceName}", resourcePath: "Content/Css");
            context.MapEmbeddedResource(AreaName, "TestHarnessImagesRoute", AreaName + "/TestHarness/Images/{resourceName}", resourcePath: "Content/Images/TestHarness");

            // Script folders:
            context.MapEmbeddedResource(AreaName, "ResourceScriptsRoute", AreaName + "/Scripts/{resourceName}", resourcePath: "Content/Scripts");
            context.MapEmbeddedResource(AreaName, "ResourceScriptsRouteJQuery", AreaName + "/Scripts/JQuery/{resourceName}", resourcePath: "Content/Scripts/JQuery");

            // Map the area.
            context.MapRoute(
                AreaName + "TestHarness",  // Route name
                AreaName,  // URL
                new { controller = TestHarnessController.Name, action = TestHarnessController.ActionPage });

            // Default mapping.
            context.MapRoute(
                AreaName,
                string.Format("{0}/{{controller}}/{{action}}", AreaName));

            // Finish up.
            base.RegisterAreaEmbeddedResources();
        }
        public override void RegisterArea(AreaRegistrationContext context, IApplicationBus bus)
        {
            // Map embedded resources.
            // NB: Must come before main Area mapping.
            context.MapEmbeddedResource(AreaName, "CommonImages", AreaName + "/Images/{resourceName}", resourcePath: "Content/Images");
            context.MapEmbeddedResource(AreaName, "SilkIconRoute", AreaName + "/Icons/Silk/{resourceName}", resourcePath: "Content/Icons/Silk");
            context.MapEmbeddedResource(AreaName, "SilkIconGreyRoute", AreaName + "/Icons/Silk/Greyscale/{resourceName}", resourcePath: "Content/Icons/Silk.Greyscale");
            context.MapEmbeddedResource(AreaName, "IconFlatDarkRoute", AreaName + "/Icons/Flat/Dark/{resourceName}", resourcePath: "Content/Icons/Flat.Dark");
            context.MapEmbeddedResource(AreaName, "IconSundry", AreaName + "/Icons/Sundry/{resourceName}", resourcePath: "Content/Icons/Sundry");
            context.MapEmbeddedResource(AreaName, "IconApi", AreaName + "/Icons/Api/{resourceName}", resourcePath: "Content/Icons/Api");

            // Map the area.
            context.MapRoute(
                            AreaName,
                            string.Format("{0}/{{controller}}/{{action}}", AreaName));

            // Finish up.
            base.RegisterAreaEmbeddedResources();
        }