AreaRegistration.RegisterAllAreas(); this function does not call this class namespace ArleATPImportWebApp.Areas.ImportNightflight { public class ImportNightflightAreaRegistration : AreaRegistration { public override string AreaName { get { return "ImportNightflight"; } } public override void RegisterArea(AreaRegistrationContext context) { context.MapRoute( "ImportNightflight_default", "ImportNightflight/{controller}/{action}/{id}", new { action = "Index", id = UrlParameter.Optional } ,namespaces: new[] { "ArleATPImportWebApp.Areas.ImportNightflight.Controllers" } ); } } } in _layout.cshtml i write that @Html.ActionLink("Nightflight - Upload and import rows", "Upload", new { controller = "ImportedDocs", area = "ImportNightflight" },null)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)