MVC Development: Details
Evoq Modules
MVC modules can use all of the standard Evoq module features. All Evoq module types can co-exist on a single page, and the user should not be able to distinguish which framework was used to build the module.
MVC Conventions
The ASP.NET MVC framework relies on the convention over configuration paradigm to simplify development. DNN modules follow all ASP.NET MVC conventions, as well as DNN-specific conventions.
Base Controller Class
MVC controllers must inherit from the DnnController class. Similar to the PortalModuleBase class for Web Forms module developers, this class provides access to the DNN module and portal context objects.
Developing MVC Modules
Visual Studio supports only one project type for MVC projects. However, the Visual Studio MVC project type includes additional scaffolding for creating new controllers and views.