Turnkey MVC Controllers
Line 4: Line 4:
The build in MVC Controller
The build in MVC Controller


===== EcoController =====
===== [[EcoController]] =====
Implements support for a MVC Controller that uses an EcoSpace for persistence.
Implements support for a MVC Controller that uses an EcoSpace for persistence.



Revision as of 21:25, 7 July 2017

ControllerClasses, not streaming.png
Controller

The build in MVC Controller

EcoController

Implements support for a MVC Controller that uses an EcoSpace for persistence.

Includes support for a EcoSpace cache provider and a mechanism that stores the EcoSpace on TempData during redirect.

ModelDrivenControllerBase

ModelDrivenControllerBase is a subclass of EcoController with additions to handle features such as ViewModels, Actions, navigation etc.

Note that function for [HttpPost]-ing writes data to the online viewmodel (and ecospace), other functions don't

OFFLINE VMClass is a VMClass created when a request arrives from the client. It contains values written by the client and is Submitted/Applied to the online VMClass

ONLINE VMClass is a VMClass backed by the persistent storage.

TurnkeyController_Base

Implements support for the MDrivenServer features. This includes connecting to the Admin ecospace of the server, downloading model and view etc.

It also includes using the majority of other features available in the framework, like Bootstrap rendering of viewmodels, databinding serverside using MVC or client-side using AngularJS and the streaming API.

AccountControllerBase

Implements ASP.NET security functions integrating them with a class model inside the running EcoSpace. This makes user information available to the business objects in your model.

Complete controller overview

MVC ControllerClasses.png
ApiController

Built in controller in ASP.NET for API's. That is, responses without user interface.

ValuesController_Base

The upper row (in the image above) supports the MVC (non-streaming) clients with functions "on the side" of the normal page-loading mechanism.

The lower row (in the image above) supports streaming clients with functions to navigate, download objects, opening and closing modal windows etc.

This page was edited 50 days ago on 03/26/2024. What links here