NFX.Wave.MVC NamespaceNFX Class Library

[This is preliminary documentation and is subject to change.]

 
Classes

  ClassDescription
Public classActionAttribute
Decorates MVC Actions
Public classActionFilterAttribute
General ancestor for MVC Action Filters - get invoked before and after actions
Public classActionGroupInfo
Provides reflection information about a group of action methods which all share the same action name(invocation name) within controller type. Invocation names are mapped to actual method names, as ActionAttribute may override the name of actual method that it decorates. This is a framework internal method which is not intended to be used by business logic developers
Public classActionInfo
Provides reflection information about a particular action method of a controller type. This is a framework internal method which is not intended to be used by business logic developers
Public classCacheControlAttribute
Decorates controller classes or actions that set NoCache headers in response. By default Force = true
Public classController
Represents controller that all MVC controllers must inherit from
Public classControllerInfo
Provides reflection information about controller type. This is a framework internal method which is not intended to be used by business logic developers
Public classNoCacheAttribute
Decorates controller classes or actions that set NoCache headers in response. By default Force = true
Public classSessionCSRFCheckAttribute
Decorates controller classes or actions that need to check CSRF token on POST against the user session
Structures

  StructureDescription
Public structureClientRecord
Represents MVC action result that returns ROW as JSON object for WV.RecordModel(...) ctor init
Public structureFileDownload
Represents MVC action result that downloads a local file
Public structureHttp403Forbidden
Returns HTTP 403 - forbidden This should be used in place of returning exceptions where needed as it is faster
Public structureHttp404NotFound
Returns HTTP 404 - not found. This should be used in place of returning exceptions where needed as it is faster
Public structureJSONResult
Represents MVC action result that returns JSON object with options. If JSON options are not needed then just return CLR object directly from controller action without this wrapper
Public structurePicture
Represents MVC action result that returns/downloads an image
Public structureRedirect
Represents MVC action result that redirects user to some URL
Interfaces

  InterfaceDescription
Public interfaceIActionResult
Decorates entities that get returned by MVC actions and can get executed to generate some result action (command pattern)