SPA Development: Details
SPA Module Type
DNN's SPA module type simplifies the creation of modules that simulate traditional SPA applications and that use AJAX for all server interactions. The SPA module framework supplements other SPA frameworks, such as AngularJS, Knockout, and React, by providing DNN-specific functionality.
SPA Development
SPA modules can be created in Visual Studio as Web Application Project (WAP) or Web Site Project (WAP) types. Because the presentation layer is created with HTML, JavaScript, and CSS, its components can be built using any code editor.
SPA Projects
You can build SPA modules with all presentation layer code in one project and all server-side code in a separate project. This approach makes it easy to use different development tools that are optimized for server-side or client-side development.
Single Project
Alternatively, you can use Visual Studio to create a single project that includes both server-side and client-side components. This approach leverages the MS Build system to easily package your module as part of your development process. The DNN SPA module template is set up for this approach.