• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc
Show / Hide Table of Contents

Unsupported MVC Features

DNN Version: 09.02.00
12/08/2019 • 1 minute to read
Contributors  david-poindexter
12/08/2019  • 1 minute to read  • Contributors  david-poindexter

Some MVC features were not fully implemented in DNN 8 due to the differences between ASP.NET MVC and ASP.NET Web Forms frameworks.

  • HTML Helpers
    • FormExtensions (BeginForm, BeginRouteForm, EndForm)
    • Html.RouteLink
    • All ChildActionExtensions (e.g., Html.Action, Html.RenderAction)
  • URL Helpers
    • Url.Action(string actionName, string controllerName, RouteValueDictionary routeValues, string protocol)
    • Url.Action(string actionName, string controllerName, object routeValues, string protocol)
    • Url.Action(string actionName, string controllerName, RouteValueDictionary routeValues, string protocol, string hostName)
    • Url.RouteUrl
    • Url.HttpRouteUrl
  • Controller Action Return Types. DNN 8 expects actions to return an ActionResult. All other result types are currently unsupported:
    • ContentResult
    • EmptyResult
    • FileResult
    • FileStreamResult
    • RedirectResults
    • RedirectToRouteResult
  • AsyncControllers
  • Attribute Routing
  • Bundles. DNN implements a different minification-and-bundling API for MVC modules.

The following features are expected in a future release:

  • AJAX Helpers
MVC Module Project OverviewMVC ControllerMVC ViewsCreate a Unit Test for an MVC module
Back to top by the community, for the community... #DNNCMS