Suoranta.EnterpriseLib.Web - Developer API

MvcServiceConfigurator Class

Loads basic service bindings necessary for proper operation of MVC applications:

Namespace:  Suoranta.EnterpriseLib.Web.Util
Assembly:  Suoranta.EnterpriseLib.Web (in Suoranta.EnterpriseLib.Web.dll)

Syntax


public sealed class MvcServiceConfigurator : NinjectModule, 
	IServiceConfigurator

Remarks


Services and their corresponding mock services must implement an interface defined in the app assembly with name of the service class prefixed by "I". Mock services can have name identical to the implementation, or it can contain string "Mock" within its name, e.g., MockTestService is bound to ITestService. If the interface type is not found, the service class is bound to itself.

Inheritance Hierarchy


Object
  DisposableObject
    BindingRoot
      NinjectModule
        Suoranta.EnterpriseLib.Web.Util..::..MvcServiceConfigurator