Portoa.Web Signifies that this controller can handle errors that aren't handled by application code Executed when an unknown error occurs Executed when a page is not found Executed when the user is forbidden from seeing the requested page Model binder that uses a service provider to resolve the model binder designated by which will do the action model binding The model binder to resolve Creates a submit button with the specified button text, input name and HTML attributes The text to display on the submit button The name of the input Anonymous object with HTML attribute values Creates a label with the specified text for the specified reference tag The text/HTML to display inside the label The reference ID of the labeled node (e.g. the value of the "for" attribute) The HTML attributes Creates a button with the specified display text and the specified custom HTML attributes The text that the button will display Any additional HTML attributes for the input tag Creates a button with the specified display text and the specified custom HTML attributes The text that the button will display Any additional HTML attributes for the input tag Service for authenticating users Logs in the specified user with the specified username Logs out the currently logged in user Determines if a user identified by the given username and password is a valid user in the system Adapted from http://eliasbland.wordpress.com/2009/08/08/enumeration-model-binder-for-asp-net-mvc/ Sets the HTTP status code on the response object before calling base.ExecuteResult() Handles global application-wide errors that don't get caught by normal means Handles global application errors by invoking the specified error controller Configures interception to occur for any subsequent container registrations that are not part of NHibernate This class exists to get rid of the SessionState and TempData error. Just google it. Don't use this method, it's only here to prevent you from using it. Maps the type to the binder type . Maps the type to the binder type using the given service provider to resolve the binder Logs all interceptable method calls via the Provides an interface for interacting with session data Gets or sets an item from the backing store The key of the item to retrieve Extension methods for UnityContainer Adds an extension if it hasn't already been registered with the container Determines whether any of the given types are registered in the container Determines if all of the given types are registered in the container Session store that uses the current HttpContext Controller for handling and displaying errors that aren't handled by application code Enables you to dynamically add filters to a ControllerActionInvoker. This class will also perform injection on all filters that are annotated with NeedsBuildUpAttribute. Adapted from http://blog.ploeh.dk/2009/12/01/GlobalErrorHandlingInASPNETMVC.aspx Overridden to add the new filters to the default filters Truncates a string to 150 characters in a pretty way, if necessary Gets all model state errors as a line feed-delimited string Sets up the temporary data provider so that it won't barf with Session errors Gets a value from the request and casts it to the specified type Gets a value from the request Adds an error to the model state Uses a container to create controllers Base for an Unity/NHibernate MVC application Handles uncaught application exceptions; default implementation uses and to display errors The uncaught exception Creates the configuration used for NHibernate; default implementation uses the default NHibernate configuration, and sets a custom interceptor. The configuration can be retrieved outside of this method (if needed) via the container. Do not call this method directly. Registers any routes for the application; default implementation registers nothing Registers any applicable areas; default implementations calls AreaRegistration.RegisterAllAreas() Configures the controller factory; default implementation uses Unity to resolve each controller with a custom action invoker Performs any application-specific configuration for Unity; default implementation does nothing IControllerFactory that provides a mechanism to perform injection on the controller after it is instantiated Event that fires after a controller is instantiated Gets the MethodInfo associated with the actual object instance in a CallHandler's method invocation LINQifies an annoying IParameterCollection Reads the app config and applies the Unity configuration, if applicable Controller factory that uses a service provider to resolve controllers Sets the name of the logger to retrieve Configures the application to use log4net