Spring.Web An implementation backed by ASP.NET Cache (see ). Because ASP.NET Cache uses strings as cache keys, you need to ensure that the key object type has properly implemented ToString method. Despite the shared underlying , it is possible to use more than one instance of without interfering each other. Aleksandar Seovic Erich Eichinger Initializes a new instance of Initializes a new instance of with the specified implementation. Retrieves an item from the cache. Item key. Item for the specified , or null. Removes an item from the cache. Item key. Inserts an item into the cache. Items inserted using this method have default and default Item key. Item value. Item's time-to-live (TTL). Inserts an item into the cache. Item key. Item value. Item's time-to-live. Flag specifying whether the item's time-to-live should be reset when the item is accessed. Inserts an item into the cache. Item key. Item value. Item's time-to-live. Flag specifying whether the item's time-to-live should be reset when the item is accessed. Item priority. Generate a key to be used for the underlying implementation. Gets/Sets a flag, whether to use sliding expiration policy. Gets/Sets a default priority to be applied to all items inserted into this cache. Gets a collection of all cache item keys. Abstracts the underlying runtime cache Insert an item into the cache. Removes an item from the cache. The key of the item to remove The object that has been removed from the cache Retrieve an item with the specified key from the cache. The key of the item to be retrieved The item, if found. null otherwise Actually delegates all calls to the underlying Erich Eichinger Holds shared application Template Holds shared modules Templates Configures the instance and its modules. When called, configures using the instance provided in and the templates available in and . the application context instance to be used for resolving object references. the instance to be configured. Gets or Sets the shared application template Gets the dictionary of shared module templates to synchronize access to the dictionary, use property. Web application context, taking the context definition files from the file system or from URLs. Treats resource paths as web resources, when using IApplicationContext.GetResource. Resource paths are considered relative to the virtual directory. Note: In case of multiple config locations, later object definitions will override ones defined in earlier loaded files. This can be leveraged to deliberately override certain object definitions via an extra XML file. Aleksandar Seovic Create a new WebApplicationContext, loading the definitions from the given XML resource. Names of configuration resources. Create a new WebApplicationContext, loading the definitions from the given XML resource. The application context name. Flag specifying whether to make this context case sensitive or not. Names of configuration resources. Create a new WebApplicationContext, loading the definitions from the given XML resource. The application context name. Flag specifying whether to make this context case sensitive or not. Names of configuration resources. Configuration resources. Create a new WebApplicationContext with the given parent, loading the definitions from the given XML resources. The application context name. Flag specifying whether to make this context case sensitive or not. The parent context. Names of configuration resources. Initializes a new instance of the class. The args. returns detailed instance information for debugging Since the HttpRuntime discards it's configurationsection cache, we maintain our own context cache. Despite it really speeds up context-lookup, since we don't have to go through the whole HttpConfigurationSystem EventHandler for ContextRegistry.Cleared event. Discards webContextCache. Returns the root context of this web application Returns the web application context for the given (absolute!) virtual path Initializes object definition reader. Reader to initialize. Creates web object factory for this context using parent context's factory as a parent. Web object factory to use. Returns the application-relative virtual path of this context (without leading '~'!). Create a reader instance capable of handling web objects (Pages,Controls) for importing o bject definitions into the specified . Returns the web application context for the current request's filepath An array of resource locations, referring to the XML object definition files with which this context is to be built. An array of resource locations, or if none. An array of resources instances with which this context is to be built. An array of s, or if none. Encapsulates arguments to the class. Initializes a new instance of the WebApplicationContextArgs class. Initializes a new instance of the WebApplicationContextArgs class. The name. The parent context. The configuration locations. The configuration resources. Initializes a new instance of the WebApplicationContextArgs class. The name. The parent context. The configuration locations. The configuration resources. if set to true [case sensitive]. Creates an instance using context definitions supplied in a custom configuration and configures the with that instance. This class extends ContextHandler with web specific behaviour. It uses WebApplicationContext as default Context-Type. Erich Eichinger Gets the context name from the given Throws a configuration exception, if child contexts are specified. Nesting contexts in webapplications is done by explicitly declaring spring context sections for each directory. Handles web specific details of context instantiation. Sets default context type to Sets default case-sensitivity to 'false' for web-applications Provides various support for proper handling requests. Erich Eichinger Identifies the Objectdefinition used for the current IHttpHandler instance in TLS For webapplications always
  • convert IResources using the current context.
  • use "web" as default resource protocol
  • use as default threading storage
Registers this module for all events required by the Spring.Web framework Configures the current IHttpHandler as specified by . If the is not executed for the current request and an instance of is served revalidate if the instance should be configured. Configures the specified handler instance using the object definition . TODO TODO TODO Disposes this instance Holds the handler configuration information. implementation specifically for resources served up from a web server.

Uses the System.Web.HttpContext.Current.Server.MapPath method to resolve the file name for a given resource.

Aleksandar Seovic
Creates a new instance of the class. The name of the file system resource (on the server). Resolves the handle for the supplied . The name of the file system resource. The handle for this resource. Resolves the root location for the supplied . The name of the file system resource. The root location of the resource. Resolves the path for the supplied . The name of the file system resource. The current path of the resource. Resolves the presence of the value in the supplied into a path. The name of the resource. The string that is a placeholder for a base path. The name of the resource with any value having been resolved into an actual path. Does the supplied relative ? The name of the resource to test. if resource name is relative; otherwise . Factory Method. Create a new instance of the current resource type using the given resourceName The ResourceLoader to be used for resolving relative resources Gets those characters that are valid path separators for the resource type. Those characters that are valid path separators for the resource type. This formatter acts as an adapter to a datasource. It parses a given datasource into a table to allow converting back and forth between objects and their keys during formatting. The DataSourceItemFormatter expects the "source" to have 2 properties named "DataSourceField" and "DataValueField". Sets the binding context of this formatter. Clears the binding context of this formatter. Initialize this instance. The name of the "source"s property containing the dataSource The name of the "source"s property containing the name of the key property Sets the bindingContext for the current thread. The source object The target object Variables to be used during binding The current binding's direction Reset the current thread's binding context. Initialize a new instance. The datasource containing list items The name of the listitem's property that evaluates to the item's key The direction of the current binding Returns the key of the specified value object. The value to extract the key from. Key extracted from . Return the object with the specified key from the datasource. The key of the object. Parsed . Binds agroup of HTTP request multi-valued items to the data model. Due to the fact, that browsers don't send the values of unchecked checkboxes, you can't use for binding to checkboxes. Aleksandar Seovic Creates a new instance of . Comma separated list of multi-valued request parameters that should be used to create a target item. Expression that identifies a target list items should be added to. The type of the target item. Adds the binding. This is a convinience method for adding SimpleExpressionBinding, one of the most often used binding types, to the bindings list. The source expression. The target expression. Binding direction. to use for value formatting and parsing. Added instance. Binds source object to target object. The source object. The target object. Validation errors collection that type conversion errors should be added to. Variables that should be used during expression evaluation. Binds target object to source object. The source object. The target object. Validation errors collection that type conversion errors should be added to. Variables that should be used during expression evaluation. A page or control must implement this interface to support spring's databinding infrastructure. Return the UniqueID of this page or control. Return the where instances should be optained from. This event is raised to initialize bindings for . Handles binding of a multiple selection ListControl to a target's IList property. Creates a new instance of this binding. The expression that will evaluate to the acting as the source The expression that will evaluate to an property acting as the target Binding's direction An optional formatter converting target items into and back If no formatter is specified, a will be used. Actually performs unbinding the ListControl's selected values into the target's Actually performs binding the targetlist to the ListControl. Setting source value is not allowed in this bindingType. Setting target value is not allowed in this bindingType. Culture resolver that uses cookie to store culture information. Aleksandar Seovic Default culture resolver for web applications. Contains some common utility methods for web culture resolvers. Aleksandar Seovic Returns default culture. If property is not set, it tries to get culture from the request headers and falls back to a current thread's culture if no headers are available. Default culture to use. Extracts the users favorite language from "accept-language" header of the current request. a language string if any or null, if no languages have been sent with the request Resolves a culture by name. the name of the culture to get a (possible neutral!) or null, if culture could not be resolved Resolves the culture from the context. Culture that should be used to render view. Not supported for this implementation. The new culture or null to clear the culture. Resolves the culture from the request. If the culture cookie doesn't exist, this method will return the value of the 'Accept-Language' request header, or if no headers are specified, the culture of the current server thread. Culture that should be used to render view. Sets the culture. The new culture or null to clear the culture. Creates cookie for the specified culture. Culture to store in a cookie. Created cookie. Culture resolver that uses request headers to determine culture. If no languages are specified in the request headers, it returns default culture specifed, and if no default culture was specifed it returns current culture for the executing server thread. Note: This culture resolver cannot be used to change the culture because request headers cannot be modified. In order to change the culture when using this culture resolver user has to change language settings in the web browser. Aleksandar Seovic Tries to determine culture from the request headers. If no languages are specified in the request headers, it returns default culture specifed, and if no default culture was specifed it returns current culture for the executing server thread. Culture that should be used to render view. Not supported for this resolver implementation The new culture or null to clear the culture. Culture resolver that uses HTTP session to store culture information. Aleksandar Seovic Resolves the culture from the request. If culture information doesn't exist in the session, it will be created and its value will be set to the value of the 'Accept-Language' request header, or if no headers are specified to the culture of the current server thread. Culture that should be used to render view. Sets the culture. The new culture or null to clear the culture. Gets/Sets the current session's culture. Resource cache implementation that uses ASP.NET to cache resources. Aleksandar Seovic Gets the list of resources from cache. Cache key to use for lookup. A list of cached resources for the specified target object and culture. Puts the list of resources in the cache. Cache key to use for the specified resources. A list of resources to cache. Web object definitions extend by adding scope property.

This is the most common type of object definition in ASP.Net web applications

Aleksandar Seovic
Defines additional members web object definitions need to implement. Aleksandar Seovic Gets or sets scope for the web object (application, session or request) Returns true if web object is .aspx page. Gets the rooted url of the .aspx page, if object definition represents page. Creates a new instance of the class for a singleton, providing property values and constructor arguments. Name of the parent object definition. The class of the object to instantiate. The to be applied to a new instance of the object. The to be applied to a new instance of the object. Creates a new instance of the class for a singleton, providing property values and constructor arguments. Name of the parent object definition. The class name of the object to instantiate. The to be applied to a new instance of the object. The to be applied to a new instance of the object. Creates a new instance of the class for an .aspx page, providing property values. Name of the parent object definition. Name of the .aspx page to instantiate. The to be applied to a new instance of the object. Overrides this object's values using values from other argument. The object to copy values from. A that represents the current . A that represents the current . Object scope. Returns true if web object is .aspx page. Gets the rooted url of the .aspx page, if object definition represents page. Forces ASP pages to be treated as prototypes all the time inorder to comply with ASP.Net requirements. Erich Eichinger Web object definitions extend by adding scope property.

This is the most common type of object definition in ASP.Net web applications

Aleksandar Seovic
Creates a new instance of the class for a singleton, providing property values and constructor arguments. The type of the object to instantiate. The to be applied to a new instance of the object. The to be applied to a new instance of the object. Creates a new instance of the class for a singleton, providing property values and constructor arguments. The assembly qualified of the object to instantiate. The to be applied to a new instance of the object. The to be applied to a new instance of the object.

Takes an object class name to avoid eager loading of the object class.

Creates a new instance of the class for an .aspx page, providing property values. Name of the .aspx page to instantiate. The to be applied to a new instance of the object. Creates a new instance of the class The definition that is to be copied.

Deep copy constructor.

Overrides this object's values using values from other argument. The object to copy values from. A that represents the current . A that represents the current . Object scope. Returns true if web object is .aspx page. Gets the rooted url of the .aspx page, if object definition represents page. Forces ASP pages to be treated as prototypes all the time inorder to comply with ASP.Net requirements. Object instantiation strategy for use in .

This strategy checks if objects id ASP.Net page and if it is uses PageParser to compile and instantiate page instance. Otherwise it delagates call to its parent.

Aleksandar Seovic
Creates a new instance of the class. Instantiate an instance of the object described by the supplied from the supplied . The definition of the object that is to be instantiated. The name associated with the object definition. The name can be the null or zero length string if we're autowiring an object that doesn't belong to the supplied . The owning An instance of the object described by the supplied from the supplied . Custom implementation of for web applications.

This implementation adds support for .aspx pages and scoped objects.

Aleksandar Seovic
Factory style method for getting concrete instances. If no parent is specified, a RootWebObjectDefinition is created, otherwise a ChildWebObjectDefinition. The of the defined object. The name of the parent object definition (if any). The against which any class names will be resolved into instances. An instance. Concrete implementation of that knows how to handle s.

This class should only be used within the context of an ASP.NET web application.

Aleksandar Seovic
Holds the virtual path this factory has been created from. Holds the handler reference for creating an object dictionary matching this factory's case-sensitivity Registers events handlers with to ensure proper disposal of 'request'- and 'session'-scoped objects Creates a new instance of the class. The virtual path resources will be relative resolved to. Flag specifying whether to make this object factory case sensitive or not. Creates a new instance of the class. The virtual path resources will be relative resolved to. Flag specifying whether to make this object factory case sensitive or not. The parent object factory. Creates a dictionary matching this factory's case sensitivity behaviour. Creates the root object definition. The template definition. Root object definition. Tries to find cached object for the specified name. This implementation tries to find object first in the Request scope, then in the Session scope and finally in the Application scope. Object name to look for. Cached object if found, null otherwise. Looks up an in the specified cache dictionary. the name to lookup. the cache dictionary to search the found instance. null otherwise Creates a singleton instance for the specified object name and definition. The object name (will be used as the key in the singleton cache key). The object definition. The arguments to use if creating a prototype using explicit arguments to a static factory method. It is invalid to use a non-null arguments value in any other case. The created object instance. Creates a singleton instance for the specified object name and definition and caches the instance in the specified dictionary The object name (will be used as the key in the singleton cache key). The object definition. The arguments to use if creating a prototype using explicit arguments to a static factory method. It is invalid to use a non-null arguments value in any other case. the dictionary to be used for caching singleton instances The created object instance. If the object is successfully created, contains the cached instance with the key . We need this override so that Web Scoped Singletons are not registered in general DisposalObjectRegister Add the created, but yet unpopulated singleton to the singleton cache to be able to resolve circular references the name of the object to add to the cache. the definition used to create and populated the object. the raw object instance. Derived classes may override this method to select the right cache based on the object definition. Remove the specified singleton from the singleton cache that has been added before by a call to the name of the object to remove from the cache. the definition used to create and populated the object. Derived classes may override this method to select the right cache based on the object definition. Configures object instance by injecting dependencies, satisfying Spring lifecycle interfaces and applying object post-processors. The name of the object definition expressing the dependencies that are to be injected into the supplied instance. An object definition that should be used to configure object. A wrapped object instance that is to be so configured. Disposes all 'request'-scoped objects at the end of each Request Disposes all 'session'-scoped objects at the end of a session Creates a case insensitive hashtable instance Creates a case sensitive hashtable instance Returns the virtual path this object factory is associated with. Convinience accessor for HttpContext Get the table of 'request'-scoped objects. Get the table of 'session'-scoped objects. Returns null, if Session is disabled. Miscellaneous utility methods to support web functionality within Spring.Objects Aleksandar Seovic Creates a new instance of the class.

This is a utility class, and as such exposes no public constructors.

Creates an instance of the ASPX page referred to by the supplied . The URL of the ASPX page. Page instance. If this method is not called in the scope of an active web session (i.e. the implementation this method depends on this code executing in the environs of a running web server such as IIS); or if the page could not be instantiated (for whatever reason, such as the ASPX not actually existing). Creates the raw handler instance without any exception handling Returns the of the ASPX page referred to by the supplied .

As indicated by the exception that can be thrown by this method, the ASPX page referred to by the supplied does have to be instantiated in order to determine its see cref="System.Type"/>

The filename of the ASPX page. The of the ASPX page referred to by the supplied . If the supplied is or contains only whitespace character(s). If this method is not called in the scope of an active web session (i.e. the implementation this method depends on this code executing in the environs of a running web server such as IIS); or if the page could not be instantiated (for whatever reason, such as the ASPX not actually existing).
Calls the underlying ASP.NET infrastructure to obtain the compiled page type relative to the current . The filename of the ASPX page relative to the current The of the ASPX page referred to by the supplied . Gets the controls type from a given filename An capable of handling web objects (Pages,Controls). Erich Eichinger Creates an instance for the given and element. An capable of handling web objects (Pages,Controls) Erich Eichinger Initializes a new instance of the class. used for generating object definition names from web object types (page, control) The reader context. The root element of the xml document to parse Gets the scope out of the supplied .

If the supplied is invalid (i.e. it does not resolve to one of the values), then the return value of this method call will be ; no exception will be raised (although the value of the invalid scope will be logged).

The string containing the scope name. The scope.
An capable of handling web object definitions (Pages, Controls) Erich Eichinger Creates a new instance of the class. the (rooted) virtual path to resolve relative virtual paths. The instance that this reader works on. the to use for resolving entities. Creates the to use for actually reading object definitions from an XML document. Create an object definition name for the given control path Create an object definition name for the given page path A custom implementation of the interface that properly handles web application specific attributes, such as object scope.

Parses object definitions according to the standard Spring.NET schema.

Aleksandar Seovic
Creates a new instance of the class. Implements by using . Erich Eichinger Retrieves an object with the specified name. The name of the item. The object in the context associated with the specified name or null if no object has been stored previously Stores a given object and associates it with the specified name. The name with which to associate the new item. The object to store in the call context. Empties a data slot with the specified name. The name of the data slot to empty. Implements by using both and and choosing dynamically between them. In web applications a single Request may be executed on different threads. In this case HttpContext.Current is the only invariant.
This implementation dynamically chooses between System.Runtime.Remoting.Messaging.CallContext and System.Web.HttpContext to store data.
Erich Eichinger
Retrieves an object with the specified name. The name of the item. The object in the context associated with the specified name or null if no object has been stored previously Stores a given object and associates it with the specified name. The name with which to associate the new item. The object to store in the call context. Empties a data slot with the specified name. The name of the data slot to empty. Performs a . Original path will be restored on Rewrites the current HttpContext's filepath to <directory>/currentcontext.dummy.
This affects resolving resources by calls to and
Original path is restored during .
using( new HttpContextSwitch( "/path" ) ) { Response.Write( Request.FilePath ); // writes "/path/currentcontext.dummy" to response. } // Request.FilePath has been reset to original url here Erich Eichinger
Performs an immediate call to a directory path (without trailing filename!) Restores original path if necessary Abstracts HttpSession Abstracts the underlying infrastructure of a HttpRequest Maps a virtual path to it's physical location Rewrites the , thus also affecting Get the compiled type for the given virtual path the absolute (=rooted) virtual path Creates an instance from the given virtual path the absolute (=rooted) virtual path the required base type The virtual (rooted) path of the current Application with trailing slash For the site rooted applications, "/" will be returned, for all others "/..someappdir../" The virtual (rooted) path of the current Request including The virtual (rooted) path of the current Request without trailing The virtual (rooted) path of the currently executing script Normally this property is the same as . In case of , this property returns the current script whereas CurrentVirtualPath returns the original script path. The query parameters Returns the current Session's variable dictionary Returns the current Request's variable dictionary Returns the current Request's parameter dictionary Utility class to be used from within this assembly for executing security critical code NEVER EVER MAKE THIS PUBLIC! Erich Eichinger Provides platform independent access to HttpRuntime methods For e.g. testing purposes, the default environment implementation may be replaced using . Erich Eichinger Replaces the current enviroment implementation. the new environment implementation to be used the previously set environment instance Maps a virtual path to it's physical location Rewrites the , thus also affecting Returns an instance of the specified file. Returns an the compiled type of the specified file. Receives EndRequest-event from an instance and dispatches it to all handlers registered with this module. the HttpApplication instance sending this event always Receives the EndSession-event and dispatches it to all handlers registered with this module. Signals, that VirtualEnvironment is ready to accept handler registrations for EndRequest and EndSession events Ensures, that WebSupportModule has been initialized. Otherwise an exception is thrown. The virtual (rooted) path of the current Application containing a leading '/' as well as a trailing '/' The virtual (rooted) path of the current Request including The virtual (rooted) path of the current Request including The virtual (rooted) path of the current Request without trailing The virtual (rooted) path of the currently executing script The query parameters Returns the current Request's variable dictionary () Returns the current Request's parameter dictionary () Register with this event to receive any EndRequest event occuring in the current AppDomain. Register with this event to receive any EndSession event occuring in the current AppDomain This event may be raised asynchronously on it's own thread. Don't rely on e.g. being available. Is this VirtualEnviroment ready to accept handler registrations for EndRequest and EndSession events ? Represents a method that handles Request related events Represents a method that handles Session related events Implementation for running within HttpRuntime Miscellaneous web utility methods. Aleksandar Seovic Creates a new instance of the class.

This is a utility class, and as such exposes no public constructors.

Default protocol used for resolving resources in web applications Extracts the bare ASPX page name without any extension from the supplied .

Examples of what would be returned from this method given a url would be:

'Login.aspx' => 'Login' '~/Login.aspx' => 'Login' '~/B2B/SignUp.aspx' => 'SignUp' 'B2B/Foo/FooServices.aspx' => 'FooServices'

The full URL to the ASPX page. The bare ASPX page name without any extension. If the supplied is or contains only whitespace character(s).
Returns only the directory portion of a virtual path The returned path is guaranteed to always have a leading and a trailing slash.
If a path does not end with a file-extension it is assumed to be a directory
Returns absolute path that can be referenced within plain HTML.

If relative path starts with '/' (forward slash), no concatenation will occur and it will be assumed that the relative path specified is indeed the absolute path and will be returned verbatim.

Otherwise, relative path will be appended to the application path, while making sure that path separators are not duplicated between the paths.

Application path. Relative path to combine with the application path. Absolute path.
Combines a rooted base path with a relative path. Must be a path starting with '/' the path to be combined. May start with basepath Placeholder '~' the combined path If relativePath starts with '~', rootPath is ignored and '~' resolves to the current AppDomain's application virtual path
If relativePath start with '/', rootPath is ignored and relativePath is returned as-is.
Gets the application-relative virtual path portion of the given absolute URL. the absolute url the url relative to the current application's virtual path Gets a normalized application-relative virtual path of the given virtual path.

Examples of what would be returned from this method given a virtual path would be:

'Login.aspx' => 'Login.aspx' '~/Login.aspx' => '/Login.aspx' '~/B2B/SignUp.aspx' => '/B2B/SignUp.aspx' 'B2B/Foo/FooServices.aspx' => 'B2B/Foo/FooServices.aspx'

the virtual path. the normalized virtual path
Gets the virtual path portion of the given absolute URL relative to the given base path. Base path comparison is done case insensitive. the absolute base path the absolute url the url relative to the given basePath Returns the 'logical' parent of the specified control. Technically when dealing with masterpages and control hierarchy, the order goes controls->masterpage->page. But one often wants the more logical order controls->page->masterpage. the control, who's parent is to be determined. the logical parent or null if the top of the hierarchy is reached. if is null Encode for use in URLs. the text to be encoded. the url-encoded This method may be used outside of a current request. If executed within a request, is used. will be used otherwise. A spring configurable version of Erich Eichinger An Interface for class. Damjan Tomic Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. The providerId attribute is mandatory. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. Adds a new membership user to the data source. A object populated with the information for the newly created user. Whether or not the new user is approved to be validated. The password answer for the new user The user name for the new user. The unique identifier from the membership data source for the user. The password for the new user. The password question for the new user. The e-mail address for the new user. A enumeration value indicating whether the user was created successfully. Processes a request to update the password question and answer for a membership user. true if the password question and answer are updated successfully; otherwise, false. The new password question for the specified user. The new password answer for the specified user. The user to change the password question and answer for. The password for the specified user. Gets the password for the specified user name from the data source. The password for the specified user name. The user to retrieve the password for. The password answer for the user. Processes a request to update the password for a membership user. true if the password was updated successfully; otherwise, false. The new password for the specified user. The current password for the specified user. The user to update the password for. Resets a user's password to a new, automatically generated password. The new password for the specified user. The user to reset the password for. The password answer for the specified user. Updates information about a user in the data source. A object that represents the user to update and the updated information for the user. Verifies that the specified user name and password exist in the data source. true if the specified username and password are valid; otherwise, false. The name of the user to validate. The password for the specified user. Clears a lock so that the membership user can be validated. true if the membership user was successfully unlocked; otherwise, false. The membership user to clear the lock status for. Gets information from the data source for a user based on the unique identifier for the membership user. Provides an option to update the last-activity date/time stamp for the user. A object populated with the specified user's information from the data source. The unique identifier for the membership user to get information for. true to update the last-activity date/time stamp for the user; false to return user information without updating the last-activity date/time stamp for the user. Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user. A object populated with the specified user's information from the data source. The name of the user to get information for. true to update the last-activity date/time stamp for the user; false to return user information without updating the last-activity date/time stamp for the user. Gets the user name associated with the specified e-mail address. The user name associated with the specified e-mail address. If no match is found, return null. The e-mail address to search for. Removes a user from the membership data source. true if the user was successfully deleted; otherwise, false. The name of the user to delete. true to delete data related to the user from the database; false to leave data related to the user in the database. Gets a collection of all the users in the data source in pages of data. A collection that contains a page of pageSize objects beginning at the page specified by pageIndex. The total number of matched users. The index of the page of results to return. pageIndex is zero-based. The size of the page of results to return. Gets the number of users currently accessing the application. The number of users currently accessing the application. Gets a collection of membership users where the user name contains the specified user name to match. A collection that contains a page of pageSize objects beginning at the page specified by pageIndex. The total number of matched users. The index of the page of results to return. pageIndex is zero-based. The user name to search for. The size of the page of results to return. Gets a collection of membership users where the e-mail address contains the specified e-mail address to match. A collection that contains a page of pageSize objects beginning at the page specified by pageIndex. The total number of matched users. The index of the page of results to return. pageIndex is zero-based. The e-mail address to search for. The size of the page of results to return. Gets the friendly name used to refer to the provider during configuration. The friendly name used to refer to the provider during configuration. Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). A brief, friendly description suitable for display in administrative tools or other UIs. Indicates whether the membership provider is configured to allow users to retrieve their passwords. true if the membership provider is configured to support password retrieval; otherwise, false. The default is false. Indicates whether the membership provider is configured to allow users to reset their passwords. true if the membership provider supports password reset; otherwise, false. The default is true. Gets a value indicating whether the membership provider is configured to require the user to answer a password question for password reset and retrieval. true if a password answer is required for password reset and retrieval; otherwise, false. The default is true. The name of the application using the custom membership provider. The name of the application using the custom membership provider. Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out. The number of invalid password or password-answer attempts allowed before the membership user is locked out. Gets the number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out. The number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out. Gets a value indicating whether the membership provider is configured to require a unique e-mail address for each user name. true if the membership provider requires a unique e-mail address; otherwise, false. The default is true. Gets a value indicating the format for storing passwords in the membership data store. One of the values indicating the format for storing passwords in the data store. Gets the minimum length required for a password. The minimum length required for a password. Gets the minimum number of special characters that must be present in a valid password. The minimum number of special characters that must be present in a valid password. Gets the regular expression used to evaluate a password. A regular expression used to evaluate a password. Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. Values may be overridden by specifying them in list. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. The ConnectionString to be used A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. Erich Eichinger An Interface for class.

Configuration for this provider requires providerId element set in web.config file, as the Id of wrapped provider (defined in the Spring context).

Damjan Tomic
Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. The providerId attribute is mandatory. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. Returns the collection of settings property values for the specified application instance and settings property group. A containing the values for the specified settings property group. A describing the current application use. A containing the settings property group whose values are to be retrieved.2 Sets the values of the specified group of property settings. A describing the current application usage. A representing the group of property settings to set.2 When overridden in a derived class, deletes profile properties and information for the supplied list of profiles. The number of profiles deleted from the data source. A of information about profiles that are to be deleted. When overridden in a derived class, deletes profile properties and information for profiles that match the supplied list of user names. The number of profiles deleted from the data source. A string array of user names for profiles to be deleted. When overridden in a derived class, deletes all user-profile data for profiles in which the last activity date occurred before the specified date. The number of profiles deleted from the data source. One of the values, specifying whether anonymous, authenticated, or both types of profiles are deleted. A that identifies which user profiles are considered inactive. If the value of a user profile occurs on or before this date and time, the profile is considered inactive. When overridden in a derived class, returns the number of profiles in which the last activity date occurred on or before the specified date. The number of profiles in which the last activity date occurred on or before the specified date. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. A that identifies which user profiles are considered inactive. If the of a user profile occurs on or before this date and time, the profile is considered inactive. When overridden in a derived class, retrieves user profile data for all profiles in the data source. A containing user-profile information for all profiles in the data source. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. When this method returns, contains the total number of profiles. The index of the page of results to return. The size of the page of results to return. When overridden in a derived class, retrieves user-profile data from the data source for profiles in which the last activity date occurred on or before the specified date. A containing user-profile information about the inactive profiles. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. A that identifies which user profiles are considered inactive. If the of a user profile occurs on or before this date and time, the profile is considered inactive. When this method returns, contains the total number of profiles. The index of the page of results to return. The size of the page of results to return. When overridden in a derived class, retrieves profile information for profiles in which the user name matches the specified user names. A containing user-profile information for profiles where the user name matches the supplied usernameToMatch parameter. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. When this method returns, contains the total number of profiles. The index of the page of results to return. The user name to search for. The size of the page of results to return. When overridden in a derived class, retrieves profile information for profiles in which the last activity date occurred on or before the specified date and the user name matches the specified user name. A containing user profile information for inactive profiles where the user name matches the supplied usernameToMatch parameter. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. A that identifies which user profiles are considered inactive. If the value of a user profile occurs on or before this date and time, the profile is considered inactive. When this method returns, contains the total number of profiles. The index of the page of results to return. The user name to search for. The size of the page of results to return. Gets the friendly name used to refer to the provider during configuration. The friendly name used to refer to the provider during configuration. Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). A brief, friendly description suitable for display in administrative tools or other UIs. Gets or sets the name of the currently running application. A that contains the application's shortened name, which does not contain a full path or extension, for example, SimpleAppSettings. 2 Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. Values may be overridden by specifying them in list. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. The ConnectionString to be used A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. A spring-configurable version of Erich Eichinger An Interface for class.

Configuration for this provider requires providerId element set in web.config file, as the Id of wrapped provider (defined in the Spring context).

Damjan Tomic
Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. The providerId attribute is mandatory. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. Gets a value indicating whether the specified user is in the specified role for the configured applicationName. true if the specified user is in the specified role for the configured applicationName; otherwise, false. The user name to search for. The role to search in. Gets a list of the roles that a specified user is in for the configured applicationName. A string array containing the names of all the roles that the specified user is in for the configured applicationName. The user to return a list of roles for. Adds a new role to the data source for the configured applicationName. The name of the role to create. Removes a role from the data source for the configured applicationName. true if the role was successfully deleted; otherwise, false. If true, throw an exception if roleName has one or more members and do not delete roleName. The name of the role to delete. Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName. true if the role name already exists in the data source for the configured applicationName; otherwise, false. The name of the role to search for in the data source. Adds the specified user names to the specified roles for the configured applicationName. A string array of the role names to add the specified user names to. A string array of user names to be added to the specified roles. Removes the specified user names from the specified roles for the configured applicationName. A string array of role names to remove the specified user names from. A string array of user names to be removed from the specified roles. Gets a list of users in the specified role for the configured applicationName. A string array containing the names of all the users who are members of the specified role for the configured applicationName. The name of the role to get the list of users for. Gets a list of all the roles for the configured applicationName. A string array containing the names of all the roles stored in the data source for the configured applicationName. Gets an array of user names in a role where the user name contains the specified user name to match. A string array containing the names of all the users where the user name matches usernameToMatch and the user is a member of the specified role. The user name to search for. The role to search in. Gets the friendly name used to refer to the provider during configuration. The friendly name used to refer to the provider during configuration. Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). A brief, friendly description suitable for display in administrative tools or other UIs. Gets or sets the name of the application to store and retrieve role information for. The name of the application to store and retrieve role information for. Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. Values may be overridden by specifying them in list. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. The ConnectionString to be used A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. A spring-configurable version of Erich Eichinger An Interface for class.

Configuration for this provider requires providerId element set in web.config file, as the Id of wrapped provider (defined in the Spring context).

Damjan Tomic
Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. The providerId attribute is mandatory. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. Retrieves a object that represents the currently requested page using the specified object. A that represents the currently requested page; otherwise, null, if no corresponding can be found in the or if the page context is null. The used to match node information with the URL of the requested page. Retrieves a object based on a specified key. A that represents the page identified by key; otherwise, null, if no corresponding is found or if security trimming is enabled and the cannot be returned for the current user. The default is null. A lookup key with which a is created. When overridden in a derived class, retrieves a object that represents the page at the specified URL. A that represents the page identified by rawURL; otherwise, null, if no corresponding is found or if security trimming is enabled and the cannot be returned for the current user. A URL that identifies the page for which to retrieve a . When overridden in a derived class, retrieves the child nodes of a specific . A read-only that contains the immediate child nodes of the specified ; otherwise, null or an empty collection, if no child nodes exist. The for which to retrieve all child nodes. Provides an optimized lookup method for site map providers when retrieving the node for the currently requested page and fetching the parent and ancestor site map nodes for the current page. A that represents the currently requested page; otherwise, null, if the is not found or cannot be returned for the current user. The number of ancestor site map node generations to get. A value of -1 indicates that all ancestors might be retrieved and cached by the provider. upLevel is less than -1. Provides an optimized lookup method for site map providers when retrieving the node for the currently requested page and fetching the site map nodes in the proximity of the current node. A that represents the currently requested page; otherwise, null, if the is not found or cannot be returned for the current user. The number of ancestor generations to fetch. 0 indicates no ancestor nodes are retrieved and -1 indicates that all ancestors might be retrieved and cached by the provider. The number of child generations to fetch. 0 indicates no descendant nodes are retrieved and a -1 indicates that all descendant nodes might be retrieved and cached by the provider. upLevel or downLevel is less than -1. When overridden in a derived class, retrieves the parent node of a specific object. A that represents the parent of node; otherwise, null, if the has no parent or security trimming is enabled and the parent node is not accessible to the current user. The for which to retrieve the parent node. Provides an optimized lookup method for site map providers when retrieving an ancestor node for the currently requested page and fetching the descendant nodes for the ancestor. A that represents an ancestor of the currently requested page; otherwise, null, if the current or ancestor is not found or cannot be returned for the current user. The number of descendant node levels to retrieve from the target ancestor node. The number of ancestor node levels to traverse when retrieving the requested ancestor node. walkupLevels or relativeDepthFromWalkup is less than 0. Provides an optimized lookup method for site map providers when retrieving an ancestor node for the specified object and fetching its child nodes. A that represents an ancestor of node; otherwise, null, if the current or ancestor is not found or cannot be returned for the current user. The number of descendant node levels to retrieve from the target ancestor node. The that acts as a reference point for walkupLevels and relativeDepthFromWalkup. The number of ancestor node levels to traverse when retrieving the requested ancestor node. The value specified for walkupLevels or relativeDepthFromWalkup is less than 0. node is null. Provides a method that site map providers can override to perform an optimized retrieval of one or more levels of parent and ancestor nodes, relative to the specified object. The number of ancestor generations to fetch. 0 indicates no ancestor nodes are retrieved and -1 indicates that all ancestors might be retrieved and cached. The that acts as a reference point for upLevel. upLevel is less than -1. node is null. Provides a method that site map providers can override to perform an optimized retrieval of nodes found in the proximity of the specified node. The number of ancestor generations to fetch. 0 indicates no ancestor nodes are retrieved and -1 indicates that all ancestors (and their descendant nodes to the level of node) might be retrieved and cached. The number of descendant generations to fetch. 0 indicates no descendant nodes are retrieved and -1 indicates that all descendant nodes might be retrieved and cached. The that acts as a reference point for upLevel. upLevel or downLevel is less than -1. node is null. Retrieves a Boolean value indicating whether the specified object can be viewed by the user in the specified context. true if security trimming is enabled and node can be viewed by the user or security trimming is not enabled; otherwise, false. The that contains user information. The that is requested by the user. context is null.- or -node is null. Gets the friendly name used to refer to the provider during configuration. The friendly name used to refer to the provider during configuration. Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). A brief, friendly description suitable for display in administrative tools or other UIs. Gets the object that represents the currently requested page. A that represents the currently requested page; otherwise, null, if the is not found or cannot be returned for the current user. Gets or sets the parent object of the current provider. The parent provider of the current . Gets the root object in the current provider hierarchy. An that is the top-level site map provider in the provider hierarchy that the current provider belongs to. There is a circular reference to the current site map provider. Gets the root object of the site map data that the current provider represents. The root of the current site map data provider. The default implementation performs security trimming on the returned node. Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. Values may be overridden by specifying them in list. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. The XML file to be used for reading in the sitemap A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. Wrapper for class.

Configuration for this provider requires providerId element set in web.config file, as the Id of wrapped provider (defined in the Spring context).

Damjan Tomic
Reference to wrapped provider (defined in Spring context). Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. The providerId attribute may be used to override the name being used for looking up an object definition. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. Adds a new membership user to the data source. A object populated with the information for the newly created user. Whether or not the new user is approved to be validated. The password answer for the new user The user name for the new user. The unique identifier from the membership data source for the user. The password for the new user. The password question for the new user. The e-mail address for the new user. A enumeration value indicating whether the user was created successfully. Processes a request to update the password question and answer for a membership user. true if the password question and answer are updated successfully; otherwise, false. The new password question for the specified user. The new password answer for the specified user. The user to change the password question and answer for. The password for the specified user. Gets the password for the specified user name from the data source. The password for the specified user name. The user to retrieve the password for. The password answer for the user. Processes a request to update the password for a membership user. true if the password was updated successfully; otherwise, false. The new password for the specified user. The current password for the specified user. The user to update the password for. Resets a user's password to a new, automatically generated password. The new password for the specified user. The user to reset the password for. The password answer for the specified user. Updates information about a user in the data source. A object that represents the user to update and the updated information for the user. Verifies that the specified user name and password exist in the data source. true if the specified username and password are valid; otherwise, false. The name of the user to validate. The password for the specified user. Clears a lock so that the membership user can be validated. true if the membership user was successfully unlocked; otherwise, false. The membership user to clear the lock status for. Gets information from the data source for a user based on the unique identifier for the membership user. Provides an option to update the last-activity date/time stamp for the user. A object populated with the specified user's information from the data source. The unique identifier for the membership user to get information for. true to update the last-activity date/time stamp for the user; false to return user information without updating the last-activity date/time stamp for the user. Gets information from the data source for a user. Provides an option to update the last-activity date/time stamp for the user. A object populated with the specified user's information from the data source. The name of the user to get information for. true to update the last-activity date/time stamp for the user; false to return user information without updating the last-activity date/time stamp for the user. Gets the user name associated with the specified e-mail address. The user name associated with the specified e-mail address. If no match is found, return null. The e-mail address to search for. Removes a user from the membership data source. true if the user was successfully deleted; otherwise, false. The name of the user to delete. true to delete data related to the user from the database; false to leave data related to the user in the database. Gets a collection of all the users in the data source in pages of data. A collection that contains a page of pageSize objects beginning at the page specified by pageIndex. The total number of matched users. The index of the page of results to return. pageIndex is zero-based. The size of the page of results to return. Gets the number of users currently accessing the application. The number of users currently accessing the application. Gets a collection of membership users where the user name contains the specified user name to match. A collection that contains a page of pageSize objects beginning at the page specified by pageIndex. The total number of matched users. The index of the page of results to return. pageIndex is zero-based. The user name to search for. The size of the page of results to return. Gets a collection of membership users where the e-mail address contains the specified e-mail address to match. A collection that contains a page of pageSize objects beginning at the page specified by pageIndex. The total number of matched users. The index of the page of results to return. pageIndex is zero-based. The e-mail address to search for. The size of the page of results to return. Gets the friendly name used to refer to the provider during configuration. The friendly name used to refer to the provider during configuration. Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). A brief, friendly description suitable for display in administrative tools or other UIs. Indicates whether the membership provider is configured to allow users to retrieve their passwords. true if the membership provider is configured to support password retrieval; otherwise, false. The default is false. Indicates whether the membership provider is configured to allow users to reset their passwords. true if the membership provider supports password reset; otherwise, false. The default is true. Gets a value indicating whether the membership provider is configured to require the user to answer a password question for password reset and retrieval. true if a password answer is required for password reset and retrieval; otherwise, false. The default is true. The name of the application using the custom membership provider. The name of the application using the custom membership provider. Gets the number of invalid password or password-answer attempts allowed before the membership user is locked out. The number of invalid password or password-answer attempts allowed before the membership user is locked out. Gets the number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out. The number of minutes in which a maximum number of invalid password or password-answer attempts are allowed before the membership user is locked out. Gets a value indicating whether the membership provider is configured to require a unique e-mail address for each user name. true if the membership provider requires a unique e-mail address; otherwise, false. The default is true. Gets a value indicating the format for storing passwords in the membership data store. One of the values indicating the format for storing passwords in the data store. Gets the minimum length required for a password. The minimum length required for a password. Gets the minimum number of special characters that must be present in a valid password. The minimum number of special characters that must be present in a valid password. Gets the regular expression used to evaluate a password. A regular expression used to evaluate a password. Wrapper for class.

Configuration for this provider requires providerId element set in web.config file, as the Id of wrapped provider (defined in the Spring context).

Damjan Tomic
Reference to wrapped provider (defined in Spring context). Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. The providerId attribute may be used to override the name being used for looking up an object definition. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. Returns the collection of settings property values for the specified application instance and settings property group. A containing the values for the specified settings property group. A describing the current application use. A containing the settings property group whose values are to be retrieved.2 Sets the values of the specified group of property settings. A describing the current application usage. A representing the group of property settings to set.2 When overridden in a derived class, deletes profile properties and information for the supplied list of profiles. The number of profiles deleted from the data source. A of information about profiles that are to be deleted. When overridden in a derived class, deletes profile properties and information for profiles that match the supplied list of user names. The number of profiles deleted from the data source. A string array of user names for profiles to be deleted. When overridden in a derived class, deletes all user-profile data for profiles in which the last activity date occurred before the specified date. The number of profiles deleted from the data source. One of the values, specifying whether anonymous, authenticated, or both types of profiles are deleted. A that identifies which user profiles are considered inactive. If the value of a user profile occurs on or before this date and time, the profile is considered inactive. When overridden in a derived class, returns the number of profiles in which the last activity date occurred on or before the specified date. The number of profiles in which the last activity date occurred on or before the specified date. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. A that identifies which user profiles are considered inactive. If the of a user profile occurs on or before this date and time, the profile is considered inactive. When overridden in a derived class, retrieves user profile data for all profiles in the data source. A containing user-profile information for all profiles in the data source. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. When this method returns, contains the total number of profiles. The index of the page of results to return. The size of the page of results to return. When overridden in a derived class, retrieves user-profile data from the data source for profiles in which the last activity date occurred on or before the specified date. A containing user-profile information about the inactive profiles. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. A that identifies which user profiles are considered inactive. If the of a user profile occurs on or before this date and time, the profile is considered inactive. When this method returns, contains the total number of profiles. The index of the page of results to return. The size of the page of results to return. When overridden in a derived class, retrieves profile information for profiles in which the user name matches the specified user names. A containing user-profile information for profiles where the user name matches the supplied usernameToMatch parameter. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. When this method returns, contains the total number of profiles. The index of the page of results to return. The user name to search for. The size of the page of results to return. When overridden in a derived class, retrieves profile information for profiles in which the last activity date occurred on or before the specified date and the user name matches the specified user name. A containing user profile information for inactive profiles where the user name matches the supplied usernameToMatch parameter. One of the values, specifying whether anonymous, authenticated, or both types of profiles are returned. A that identifies which user profiles are considered inactive. If the value of a user profile occurs on or before this date and time, the profile is considered inactive. When this method returns, contains the total number of profiles. The index of the page of results to return. The user name to search for. The size of the page of results to return. Gets the friendly name used to refer to the provider during configuration. The friendly name used to refer to the provider during configuration. Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). A brief, friendly description suitable for display in administrative tools or other UIs. Gets or sets the name of the currently running application. A that contains the application's shortened name, which does not contain a full path or extension, for example, SimpleAppSettings. 2 Wrapper for class.

Configuration for this provider requires providerId element set in web.config file, as the Id of wrapped provider (defined in the Spring context).

Damjan Tomic
Reference to wrapped provider (defined in Spring context). Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. The providerId attribute may be used to override the name being used for looking up an object definition. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. Gets a value indicating whether the specified user is in the specified role for the configured applicationName. true if the specified user is in the specified role for the configured applicationName; otherwise, false. The user name to search for. The role to search in. Gets a list of the roles that a specified user is in for the configured applicationName. A string array containing the names of all the roles that the specified user is in for the configured applicationName. The user to return a list of roles for. Adds a new role to the data source for the configured applicationName. The name of the role to create. Removes a role from the data source for the configured applicationName. true if the role was successfully deleted; otherwise, false. If true, throw an exception if roleName has one or more members and do not delete roleName. The name of the role to delete. Gets a value indicating whether the specified role name already exists in the role data source for the configured applicationName. true if the role name already exists in the data source for the configured applicationName; otherwise, false. The name of the role to search for in the data source. Adds the specified user names to the specified roles for the configured applicationName. A string array of the role names to add the specified user names to. A string array of user names to be added to the specified roles. Removes the specified user names from the specified roles for the configured applicationName. A string array of role names to remove the specified user names from. A string array of user names to be removed from the specified roles. Gets a list of users in the specified role for the configured applicationName. A string array containing the names of all the users who are members of the specified role for the configured applicationName. The name of the role to get the list of users for. Gets a list of all the roles for the configured applicationName. A string array containing the names of all the roles stored in the data source for the configured applicationName. Gets an array of user names in a role where the user name contains the specified user name to match. A string array containing the names of all the users where the user name matches usernameToMatch and the user is a member of the specified role. The user name to search for. The role to search in. Gets the friendly name used to refer to the provider during configuration. The friendly name used to refer to the provider during configuration. Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). A brief, friendly description suitable for display in administrative tools or other UIs. Gets or sets the name of the application to store and retrieve role information for. The name of the application to store and retrieve role information for. Wrapper for class.

Configuration for this provider requires providerId element set in web.config file, as the Id of wrapped provider (defined in the Spring context).

Damjan Tomic
Reference to wrapped provider (defined in Spring context). Initializes the provider. A collection of the name/value pairs representing the provider-specific attributes specified in the configuration for this provider. The providerId attribute may be used to override the name being used for looking up an object definition. The friendly name of the provider. The or is null. An attempt is made to call on a provider after the provider has already been initialized. The has a length of zero or providerId attribute is not set. Retrieves a object that represents the currently requested page using the specified object. A that represents the currently requested page; otherwise, null, if no corresponding can be found in the or if the page context is null. The used to match node information with the URL of the requested page. Retrieves a object based on a specified key. A that represents the page identified by key; otherwise, null, if no corresponding is found or if security trimming is enabled and the cannot be returned for the current user. The default is null. A lookup key with which a is created. When overridden in a derived class, retrieves a object that represents the page at the specified URL. A that represents the page identified by rawURL; otherwise, null, if no corresponding is found or if security trimming is enabled and the cannot be returned for the current user. A URL that identifies the page for which to retrieve a . When overridden in a derived class, retrieves the child nodes of a specific . A read-only that contains the immediate child nodes of the specified ; otherwise, null or an empty collection, if no child nodes exist. The for which to retrieve all child nodes. Provides an optimized lookup method for site map providers when retrieving the node for the currently requested page and fetching the parent and ancestor site map nodes for the current page. A that represents the currently requested page; otherwise, null, if the is not found or cannot be returned for the current user. The number of ancestor site map node generations to get. A value of -1 indicates that all ancestors might be retrieved and cached by the provider. upLevel is less than -1. Provides an optimized lookup method for site map providers when retrieving the node for the currently requested page and fetching the site map nodes in the proximity of the current node. A that represents the currently requested page; otherwise, null, if the is not found or cannot be returned for the current user. The number of ancestor generations to fetch. 0 indicates no ancestor nodes are retrieved and -1 indicates that all ancestors might be retrieved and cached by the provider. The number of child generations to fetch. 0 indicates no descendant nodes are retrieved and a -1 indicates that all descendant nodes might be retrieved and cached by the provider. upLevel or downLevel is less than -1. When overridden in a derived class, retrieves the parent node of a specific object. A that represents the parent of node; otherwise, null, if the has no parent or security trimming is enabled and the parent node is not accessible to the current user. The for which to retrieve the parent node. Provides an optimized lookup method for site map providers when retrieving an ancestor node for the currently requested page and fetching the descendant nodes for the ancestor. A that represents an ancestor of the currently requested page; otherwise, null, if the current or ancestor is not found or cannot be returned for the current user. The number of descendant node levels to retrieve from the target ancestor node. The number of ancestor node levels to traverse when retrieving the requested ancestor node. walkupLevels or relativeDepthFromWalkup is less than 0. Provides an optimized lookup method for site map providers when retrieving an ancestor node for the specified object and fetching its child nodes. A that represents an ancestor of node; otherwise, null, if the current or ancestor is not found or cannot be returned for the current user. The number of descendant node levels to retrieve from the target ancestor node. The that acts as a reference point for walkupLevels and relativeDepthFromWalkup. The number of ancestor node levels to traverse when retrieving the requested ancestor node. The value specified for walkupLevels or relativeDepthFromWalkup is less than 0. node is null. This method is marked as protected and should never be called. A that represents the root node of the set of nodes that the current provider manages. Provides a method that site map providers can override to perform an optimized retrieval of one or more levels of parent and ancestor nodes, relative to the specified object. The number of ancestor generations to fetch. 0 indicates no ancestor nodes are retrieved and -1 indicates that all ancestors might be retrieved and cached. The that acts as a reference point for upLevel. upLevel is less than -1. node is null. Provides a method that site map providers can override to perform an optimized retrieval of nodes found in the proximity of the specified node. The number of ancestor generations to fetch. 0 indicates no ancestor nodes are retrieved and -1 indicates that all ancestors (and their descendant nodes to the level of node) might be retrieved and cached. The number of descendant generations to fetch. 0 indicates no descendant nodes are retrieved and -1 indicates that all descendant nodes might be retrieved and cached. The that acts as a reference point for upLevel. upLevel or downLevel is less than -1. node is null. Retrieves a Boolean value indicating whether the specified object can be viewed by the user in the specified context. true if security trimming is enabled and node can be viewed by the user or security trimming is not enabled; otherwise, false. The that contains user information. The that is requested by the user. context is null.- or -node is null. Gets the friendly name used to refer to the provider during configuration. The friendly name used to refer to the provider during configuration. Gets a brief, friendly description suitable for display in administrative tools or other user interfaces (UIs). A brief, friendly description suitable for display in administrative tools or other UIs. Gets the object that represents the currently requested page. A that represents the currently requested page; otherwise, null, if the is not found or cannot be returned for the current user. Gets or sets the parent object of the current provider. The parent provider of the current . Gets the root object in the current provider hierarchy. An that is the top-level site map provider in the provider hierarchy that the current provider belongs to. There is a circular reference to the current site map provider. Gets the root object of the site map data that the current provider represents. The root of the current site map data provider. The default implementation performs security trimming on the returned node. Exports an object as a web service.

The exporter will create a web service wrapper for the object that is to be exposed and additionally enable its configuration as a web service.

The exported object can be either a standard .NET web service implementation, with methods marked using the standard , or it can be a plain .NET object.

Aleksandar Seovic
Holds EXPORTER_ID to WebServiceExporter instance mappings. Returns the target object instance exported by the WebServiceExporter identified by . The name of the object in the factory. The owning factory. The generated web service wrapper type. Creates a new instance of the class. Cleanup before GC Disconnect the remote object from the registered remoting channels. Stops exporting the object identified by . true to release both managed and unmanaged resources; false to release only unmanaged resources. Exports specified object as a web service. In the event of misconfiguration (such as failure to set an essential property) or if initialization fails. Returns the Web Service wrapper type for the object that is to be exposed. Validates the configuration. Generates the web service wrapper type. Gets or Sets the Web Services Interoperability (WSI) specification to which the Web Service claims to conform. Default is Gets or sets the base type that web service should inherit. Default is Gets or sets the name of the target object that should be exposed as a web service. The name of the target object that should be exposed as a web service. Gets or sets the description of the web service (optional). The web service description. Gets or sets the name of the web service (optional).

Defaults to the value of the exporter's object ID.

The web service name.
Gets or sets the web service namespace. The web service namespace. Gets or sets the list of interfaces whose methods should be exposed as web services. If not set, all the interfaces implemented or inherited by the target type will be used. The interfaces. Gets or sets a list of custom attributes that should be applied to a proxy class. Gets or sets a dictionary of custom attributes that should be applied to web service members. Dictionary key is an expression that members can be matched against. Value is a list of attributes that should be applied to each member that matches expression. Callback that supplies the owning factory to an object instance. Owning (may not be ). The object can immediately call methods on the factory.

Invoked after population of normal object properties but before an init callback like 's method or a custom init-method.

In case of initialization errors.
Set the name of the object in the object factory that created this object. The name of the object in the factory.

Invoked after population of normal object properties but before an init callback like 's method or a custom init-method.

Implements constructors for the proxy class. This implementation generates an empty noop default constructor The builder to use. An implementation that retrieves configured WebService objects from the Spring.NET web application context. This handler factory uses web service name from the URL, without the extension, to find web service object in the Spring context. Aleksandar Seovic Retrieves instance of the page from Spring web application context. current HttpContext type of HTTP request (GET, POST, etc.) requested page URL translated server path for the page instance of the configured page object Provides base functionality for Spring.NET context-aware implementations.

Provides derived classes with a default implementation of method.

Aleksandar Seovic
Holds all handlers having == true. Holds an instance of the instrinsic System.Web.UI.SimpleHandlerFactory Holds the shared logger for all factories. Creates a new instance of the class. Returns an appropriate implementation. An instance of the class that provides references to intrinsic server objects. The HTTP method of the request. The request URL. The physical path of the requested resource. A new object that processes the request. Enables a factory to release an existing instance. The object to release. Create a handler instance for the given URL. the application context corresponding to the current request The instance for this request. The HTTP data transfer method (GET, POST, ...) The requested . The physical path of the requested resource. A handler instance for processing the current request. Get the application context instance corresponding to the given absolute url and checks it for contract and being not null. the absolute url if no context is found if context is not an teh application context instance corresponding to the given absolute url. Calls to obtain a context instance. Returns the unchecked, raw application context for the given virtual path. the virtual path to get the context for. the context or null. Subclasses may override this method to change the context source. By default, is used for obtaining context instances. DO NOT USE - this is subject to change! This method requires registrars to follow the convention of registering web object definitions using their application relative urls (~/mypath/mypage.aspx). Resolve an object definition by url. Apply dependency injection stuff on the handler. the handler to be intercepted the context responsible for configuring this handler Get the global instance of System.Web.UI.SimpleHandlerFactory This factory is a plaform version agnostic way to instantiate arbitrary handlers without the need for additional reflection. Holds a named Erich Eichinger Creates a new name/objectdefinition pair. Get the name of the attached object definition Get the . implementation that allows users to monitor state of the Spring.NET web application context.

Aleksandar Seovic
Initializes a new instance of the class. Processes HTTP request. An object that provides references to the intrinsic server objects (for example, , , , and ) used to service HTTP requests. Gets a value indicating whether another request can use this instance. True if this handler is reusable, False otherwise. Helper class for easier access to reflected Control members. Erich Eichinger Instantiates a new Accessor. Returns the underlying ControlCollection instance. Gets or sets the ControlCollection of the target without accessing the target's property. If the underlying collection is null, it is automatically created. Helper class for easier access to reflected ControlCollection members. Erich Eichinger Returns the underlying ControlCollection instance. Returns the type of the underlying ControlCollection instance. Creates a new Accessor for a given . The to be accessed Gets or sets the owner of the underlying ControlCollection. Support Class providing a method to ensure a control has been intercepted Erich Eichinger Holds all available interception strategies The last resort interception strategy... Holds a control.GetType()->IInterceptionStrategy table. Holds well-known Type/Strategy mappings. Ensures, a control has been intercepted to support Web-DI. If not, the control will be intercepted. Any concrete interception strategy must implement this interface Erich Eichinger Any implementation must never throw an exception from this method. Instead false must be returned to indicate interception failure. true, if interception succeeded. false otherwise. SimpleHandlerFactory is used to wrap any arbitrary to make it "Spring-aware". By default, an instance of is used as underlying factory. Erich Eichinger Creates a new instance, using a as underlying factory. Create a new instance, using an instance of as underlying factory. a type that implements Create a new instance, using as underlying factory. the factory to be wrapped. Create a handler instance for the given URL. the application context corresponding to the current request The instance for this request. The HTTP data transfer method (GET, POST, ...) The requested . The physical path of the requested resource. A handler instance for processing the current request. Enables a factory to release an existing instance. The object to release. This result factory implementation creates instances from a given string representation. For a larger example illustrating the customization of result processing, . Erich Eichinger A result factory is responsible for create an instance from a given string representation. For a larger example illustrating the customization of result processing, . Erich Eichinger Create an instance from the given string representation. the resultMode that caused triggering this factory. the remainder string to be interpreted and converted into an . An instance. Must never be null! Note to implementors: This method must never return null. Instead exceptions should be thrown. Create a new from the specified . the result mode. the string representation of the result. the instance created from . The default implementation of the interface. Defines the interface, all hierarchical navigators capable of dealing with instances must implement. An extension of that must be implemented by navigators that can be part of a hierarchy. Erich Eichinger Any component capable of navigating and participating in the navigation logic must implement this interface. Erich Eichinger Determines, whether this navigator or one of its parents can navigate to the destination specified in . the name of the navigation destination true, if this navigator can navigate to the destination. Instruct the navigator to navigate to the specified navigation destination. the destination to navigate to. the sender that issued the navigation request. the context to evaluate this navigation request in. if this navigator cannot navigate to the specified (). Creates an uri poiniting to the specified navigation destination. the destination to navigate to. the sender that issued the navigation request. the context to evaluate this navigation request in. if this navigator cannot navigate to the specified (). If any, get the parent navigator of the current navigator instance. May be null. Contains the mappings of navigation destination names to instances or their corresponding textual representations.
See for more information on how textual representations are resolved.
Creates and initializes a new instance. Creates and initializes a new instance. the parent of this instance. May be null. a dictionary of result name to result mappings. May be null. sets, how this navigator treats case sensitivity of result names Create the dictionary instance to be used by this navigator component. a dictionary of intitial result mappings the dictionary, that will be used by this navigator. Implementors may override this for creating custom dictionaries. Determines, whether this navigator or one of its parents can navigate to the destination specified in . the name of the navigation destination true, if this navigator can navigate to the destination. Redirects user to a URL mapped to specified result name. Name of the result. the instance that issued this request The context to use for evaluating the SpEL expression in the Result. Returns a redirect url string that points to the defined by this result evaluated using this Page for expression Name of the result. the instance that issued this request The context to use for evaluating the SpEL expression in the Result A redirect url string. Obtain the named result instance from the dictionary. If necessary, the actual representation of the result will be converted to an instance by this method. Handle an unknown result object. the name of the result the result instance obtained from the dictionary By default, this method throws a . Handle an unknown destination. the destination that could not be resolved. the sender that issued the request the context to be used for evaluating any dynamic parts of the destination the uri as being returned from By default, this method throws a . Indicates, whether result names are treated case sensitive by this navigator. Get/Set the parent of this navigator. if this navigator already has a parent. Gets or sets map of result names to instances or their textual representations. See for information on parsing textual representations. Holds a list of url expressions and their corresponding names of responsible or objects managed by the container. Erich Eichinger Maps the specified url pattern expression to an object name denoting a or object. the string pattern (see conform to syntax) an object name denoting the spring-managed handler definition Maps the specified url pattern expression to an object name denoting a or object. the url pattern an object name denoting the spring-managed handler definition Maps the to a handler object name by matching against all registered patterns. the virtual path the object name Add a new mapping an url pattern string a handler object name string Clear the mapping table. Copies all entries to the specified array. Get an enumerator for iterating over the list of registered mappings. Not supported by this implementation. Not supported by this implementation. Not supported by this implementation. Add or replace a mapping Getter will throw a ! an url pattern string Always returns false. Gets a value indicating whether the object has a fixed size. true if the object has a fixed size; otherwise, false. 2 Get the number of registered mappings. Gets an object that can be used to synchronize access. Always returns false. Not supported by this implementation. Not supported by this implementation. Holds pairs of (url pattern, handler object name). Erich Eichinger Create a new instance. Create a new instance Return a string representation of this entry. Get the url pattern Get the handler object name This strategy replaces the original collection's owner with an intercepting proxy Erich Eichinger This strategy enhances a ControlCollection's type by dynamically implementing ISupportsWebDependencyInjection on this type Erich Eichinger The list of methods to be intercepted for a ControlCollection Holds a table of already known intercepted ControlCollection types Intercepts the given by dynamically deriving the original type and let it implement . the ApplicationContext to be set on the collection instance. a wrapper around the owner control instance. a wrapper around the collection instance. true, if interception was successful. false otherwise Holds a reference to the static(!) callback-method to be used during generation of intercepted ControlCollection-Types An encapsulates concrete navigation logic. Usually executing a result will invoke or . For a larger example illustrating the customization of result processing . Erich Eichinger Execute the result logic within the given . the context to evaluate this request in. Returns an url representation of the result logic within the given . the context to evaluate this request in. the url corresponding to the result instance. The returned url is not necessarily fully qualified nor absolute. Returned urls may be relative to the given context.
To produce a client-usable url, consider applying e.g. or before writing the result url to the response.
"Contract"-interface of the Web-DI infrastructure. This interface supports Spring's DI infrastructure and normally doesn't need to be implemented

Any Page, Control or ControlCollection implementing this interface guarantees to call on any control being added before it is actually added to the child-collection.

The following example shows, how to make a Control support the DI-infrastructure:

class MyControl : Control, ISupportsWebDependencyInjection { private IApplicationContext _defaultApplicationContext; public IApplicationContext DefaultApplicationContext { get { return _defaultApplicationContext; } set { _defaultApplicationContext = value; } } override protected AddedControl( Control control, int index ) { WebUtils.InjectDependenciesRecursive( _defaultApplicationContext, control ); base.AddedControl( control, index ); } }

The following example shows, how to make a ControlCollection support the DI-infrastructure:

Note, that you MUST implement the single-argument constructor ControlCollection( Control owner )!

class MyControlCollection : ControlCollection, ISupportsWebDependencyInjection { private IApplicationContext _defaultApplicationContext; public MyControlCollection( Control owner ) : base( owner ) {} public IApplicationContext DefaultApplicationContext { get { return _defaultApplicationContext; } set { _defaultApplicationContext = value; } } override public Add( Control child ) { WebUtils.InjectDependenciesRecursive( _defaultApplicationContext, child ); base.Add( child ); } override public AddAt( int index, Control child ) { WebUtils.InjectDependenciesRecursive( _defaultApplicationContext, child ); base.AddAt( index, child ); } }
Erich Eichinger
Holds the default instance to be used during injecting a control-tree. Any component participating in the navigation infrastructure must implement this interface. Erich Eichinger Return the associated with this component. This ResourceManager implementation swallows s and simply returns null from if no resource is found. Erich Eichinger Avoid beforeFieldInit Returns the value of the specified resource. The value of the resource localized for the caller's current culture settings. If a match is not possible, null is returned. The resource value can be null. The name of the resource to get. The name parameter is null. Gets the value of the resource localized for the specified culture. The value of the resource, localized for the specified culture. If a "best match" is not possible, null is returned. The object that represents the culture for which the resource is localized. Note that if the resource is not localized for this culture, the lookup will fall back using the culture's property, stopping after checking in the neutral culture.If this value is null, the is obtained using the culture's property. The name of the resource to get. The name parameter is null. Returns the value of the specified resource. The value of the resource localized for the caller's current culture settings. If a match is not possible, null is returned. The resource value can be null. The name of the resource to get. The name parameter is null. Gets the value of the resource localized for the specified culture. The value of the resource, localized for the specified culture. If a "best match" is not possible, null is returned. The object that represents the culture for which the resource is localized. Note that if the resource is not localized for this culture, the lookup will fall back using the culture's property, stopping after checking in the neutral culture.If this value is null, the is obtained using the culture's property. The name of the resource to get. The name parameter is null. MappingHandleryFactory allows for full Spring-managed <httpHandlers> configuration. It uses regular expressions for url matching. The example below shows, how to map all url requests to spring and let resolve urls to container-managed or objects. // web.config <httpHandlers> <!-- map all requests to spring (just for demo - don't do this at home!) --> <add verb="*" path="*.*" type="Spring.Web.Support.MappingHandlerFactory, Spring.Web" /> </httpHandlers> // spring-objects.config <object type="Spring.Web.Support.MappingHandlerFactoryConfigurer, Spring.Web"> <property name="HandlerMap"> <dictionary> <entry key="\.ashx$" value="standardHandlerFactory" /> <!-- map any request ending with *.whatever to standardHandlerFactory --> <entry key="\.whatever$" value="specialHandlerFactory" /> </dictionary> </property> </object> <object name="standardHandlerFactory" type="Spring.Web.Support.DefaultHandlerFactory, Spring.Web" /> <object name="specialHandlerFactory" type="MySpecialHandlerFactoryImpl" /> Erich Eichinger Holds the cache of handler/factory pairs handed out by this factory. This is required for proper handling of . Create a handler instance for the given URL. Will try to find a match of onto patterns in . If a match is found, delegates the call to the matching method. the application context corresponding to the current request The instance for this request. The HTTP data transfer method (GET, POST, ...) The requested . The physical path of the requested resource. A handler instance for processing the current request. Obtains a handler by mapping to the list of patterns in . the application context corresponding to the current request The instance for this request. The HTTP data transfer method (GET, POST, ...) The requested . The physical path of the requested resource. A handler instance for processing the current request. Enables a factory to release an existing instance. The object to release. Removes the handler from the handler/factory dictionary and releases the handler. the handler to be released a dictionary containing (, ) entries. Holds the global list of mappings from url patterns to handler names. Configures . Erich Eichinger Contains mappings of url patterns to handler objects. Represents a MIME media type as defined by http://www.iana.org/assignments/media-types/ Erich Eichinger Parses a string into a instance. a valid string representation of a mediaType a new instance Creates a new media type instance representing a generic "application/octet-stream" Creates a new media type instance representing a generic content type with an unspecified subtype (e.g. "text/*") Creates a new media type instance representing a particular media type Returns a string representation of this instance. Compares this instance to another another instance Determines whether the specified is equal to the current . true if the specified is equal to the current ; otherwise, false. The to compare with the current . Serves as a hash function for a particular type. is suitable for use in hashing algorithms and data structures like a hash table. A hash code for the current . Gets the content type of this media type instance Gets the subtype of this media type instance Predefines common application media types Represents "application/octet-stream" Represents "application/pdf" Represents "application/rtf" Represents "application/soap+xml" Represents "application/zip" Predefines common image media types Represents "image/gif" Represents "image/jpeg" Represents "image/tiff" Predefines common text media types Represents "text/html" Represents "text/plain" Represents "text/richtext" Represents "text/xml" Represents "text/javascript" Represents "text/css" Implementation of that retrieves configured instances from Spring web application context. This handler factory uses the page name from the URL, without the extension, to find the handler object in the Spring context. This means that the target object definition doesn't need to resolve to an .aspx page -- it can be any valid object that implements interface. If the specified page is not found in the Spring application context, this handler factory falls back to the standard ASP.NET behavior and tries to find physical page with a given name. In either case, handlers that implement and will be provided with the references to appropriate Spring.NET application context (based on the request URL) and a that should be used to store the information that needs to be shared by all instances of the handler. Aleksandar Seovic Retrieves instance of the configured page from Spring web application context, or if page is not defined in Spring config file tries to find it using standard ASP.Net mechanism. Current HttpContext Type of HTTP request (GET, POST, etc.) Requested page URL Translated server path for the page Instance of the IHttpHandler object that should be used to process request. Create a handler instance for the given URL. the application context corresponding to the current request The instance for this request. The HTTP data transfer method (GET, POST, ...) The requested . The physical path of the requested resource. A handler instance for the current request. Represents the ASPX result page that an operation maps to.

Parameters can reference variables accessible from the page using the standard NAnt style property notation, namely ${varName}.

The result that is passed as the sole parameter to the parameterized constructor () must adhere to the following format:

[<mode>:]<targetPage>[?param1,param2,...,paramN]

Only the targetPage is mandatory.

Examples of valid values that can be passed to the the parameterized constructor () include:

Login.aspx ~/Login.aspx redirect:~/Login.aspx transfer:~/Login.aspx transfer:Services/Register.aspx Login.aspx?username=springboy,password=7623AAjoe redirect:Login.aspx?username=springboy,password=7623AAjoe

Aleksandar Seovic Matan Shapira
The default .

Currently defaults to .

Creates a new instance of the class. Creates a new instance of the class.

See both the class documentation () and the reference documentation for the Spring.Web library for a discussion and examples of what values the supplied can have.

The result descriptor. If the supplied is or contains only whitespace character(s). if the result mode is unknown.
Creates a new instance of the class.

See both the class documentation () and the reference documentation for the Spring.Web library for a discussion and examples of what values the supplied can have.

The desired result mode. May be null to use default mode. The result descriptor (without resultMode prefix!). If the supplied is or contains only whitespace character(s). if the result mode is unknown.
Navigates to the defined by this result. The context object for parameter resolution. This is typically a . Performs a server-side transfer to the defined by this result. The context object for parameter resolution. This is typically a . Resolves transfer parameters and stores them into instance. Performs a redirect to the defined by this result. The context object for parameter resolution. This is typically a . Returns a redirect url string that points to the defined by this result. A redirect url string. Construct the actual url to be executed or returned. the already evaluated the already evaluated parameters. the url to be returned by Append the url parameter to the url being constructed. the containing the url constructed so far. the parameter key the parameter value the to use for further url construction. Evaluates within and returns the evaluation result. the context to be used for evaluation. the string that might need evaluation the evaluation result. Unodified if no evalution occured. Checks, if value is a SpEL expression ${expression} or %{expression}. If is a SpEL expression (${expression} or %{expression}), evaluates the value against . Extracts and sets this instance's property from the supplied descriptor.

The supplied descriptor is typically something like /Foo.aspx or redirect:http://www.springframework.net/.

The result descriptor. The supplied without the result mode prefix (if any). If the supplied starts with an illegal result mode (see ).
Set the actual from the parsed string. the parsed result mode Resolves dynamic expression contained in if any by calling . the context to be used for evaluating the expression the evaluated expression Parses query parameters from the supplied . The query string (may be ). The . Defines which method will be used to navigate to the . The target page.

This is the (relative) path to the target page.

Examples of valid values would be:

Login.aspx ~/Login.aspx ~/B2B/SignUp.aspx B2B/Foo/FooServices.aspx

The parameters thar are to be passed to the upon navigation. Indicates, if should be called with preserveForm='true' | 'false'. Only relevant for ResultMode.TransferXXXX modes. Indicates, if should be called with endResponse='true' | 'false'. Only relevant for ResultMode.RedirectXXXX modes. A result factory is responsible for create an instance from a given string representation. Factories get registered with the for a certain resultMode string. uses for converting strings into instances implementing the corresponding navigation logic. Result string representations are always of the form:
"<resultmode>:<textual result representation>"
Calling on the registry will cause the registry to first extract the leading resultmode to obtain the corresponding instance and handle the actual instantiation by delegating to .
The following example illustrates the usual flow: class MySpecialResultLogic : IResult { ... } class MySpecialResultLogicFactory : IResultFactory { IResult Create( string mode, string expression ) { /* ... convert 'expression' into MySpecialResultLogic */ } } // register with global factory ResultFactoryRegistry.RegisterResultFactory( "mySpecialMode", new MySpecialResultLogicFactory ); // configure your Results <object type="mypage.aspx"> <property name="Results"> <dictionary> <entry key="continue" value="mySpecialMode:<some MySpecialResultLogic string representation>" /> </dictionary> </property> // on your page call myPage.SetResult("continue");
Erich Eichinger
Resets the factory registry to its defaults. Mainly used for unit testing. Set a new default factory the new default factory instance. Must not be null. the previous default factory. Registers a for the specified . the resultMode. Must not be null. the factory respponsible for handling results. Must not be null. the factory previously registered for the specified , if any. See overview for more information. Creates a result from the specified by extracting the result mode from the text and delegating to a corresponding , if any. the 'resultmode'-prefixed textual representation of the result instance to create. the instance corresponding to the textual represenation, created by the if either is null or returned null. This method guarantees that the return value will always be non-null.
must always be of the form "<resultmode>:<textual result representation>". The resultmode will be extracted and the corresponding (previously registered using ) is called to actually create the instance. If no factory matches resultmode, the call is handled to the .
Returns the current set by . Will never be null. The default factory is responsible for handling any unknown result modes. The various result modes. Aleksandar Seovic A server-side transfer.

Issues a server-side transfer using the method.

A redirect.

Issues a redirect (to the user-agent - typically a browser) using the method.

A server-side transfer.

Issues a server-side transfer using the method with parameter 'preserveForm=false'.

A redirect.

Issues a redirect (to the user-agent - typically a browser) using the method.

Base class that describes client side script block or file.

Classes that extend this class are used by Spring.Web client-side scripting support.

Aleksandar Seovic
Initialize a new Script object of the specified language Script language. Initialize a new script object of the specified type a Gets or sets script language. Gets or sets script mime type Class that describes client side script block.

Script blocks are used to insert script code directly into the page, without references to an external file.

Aleksandar Seovic
Default constructor. Script language. The script text. Initialize a new script block instance. the script language's the script body Gets or sets the script text. The script text. Class that describes client side script file.

Script file references script code in the external file.

Aleksandar Seovic
Initialize a new instance. Script language. The name of the script file. Initialize a new instance. the script language's the (virtual) path to the script Gets or sets the name of the script file. The name of the script file. Class that describes client side script file.

Script file references script code in the external file.

Aleksandar Seovic
Initialize a new instance. Script language. Element ID of the event source. Name of the event to handle. Script text. Initialize a new instance. the script language's Element ID of the event source. Name of the event to handle. Script text. Gets or sets the element ID. The element ID. Gets or sets the name of the event. The name of the event. Resource cache implementation that uses Spring.NET page/handler state to cache resources. Aleksandar Seovic Creates a new cache instance and attaches it to the given the holder of the shared state dictionary to be used for caching. Gets the list of resources from cache. Cache key to use for lookup. A list of cached resources for the specified target object and culture. Puts the list of resources in the cache. Cache key to use for the specified resources. A list of resources to cache. This MethodBuilder emits a Callback-call before calling the base method Erich Eichinger Initializes a new instance of a SupportsWebDependencyInjectionMethodBuilder Inserts a call to a callback-method before actually calling the base-method. The IL generator to use The method to proxy The interface definition of this method, if applicable Emits the callback invocation. Wraps a ControlCollection.Owner control to make it DI aware Erich Eichinger Wraps a control to make it DI aware Performs DI before adding the control to it's parent Delegates call to decorated control Wraps a ControlCollection.Owner control implementing INamingContainer to make it DI aware Erich Eichinger This TypeBuilder dynamically implements the contract on a given type. Erich Eichinger Creates a new TypeBuilder instance. The base type the proxy shall be derived from The methods to be injected with a call to staticCallbackMethod The static callback method to be injected into methodsToIntercept Creates a proxy that inherits the proxied object's class. The generated proxy type. Actually implements the interface. Declares field that holds the . Determines if the specified is one of those generated by this builder. The type to check. if the type is a SpringAwareControl-based proxy; otherwise . Utilities for dependency injection in the web tier. Injects dependencies into all controls in the hierarchy based on template definitions in the Spring config file. ApplicationContext to be used Control to inject dependencies into. Aquires an ApplicationContext according to a Control's TemplateSourceDirectory if availabe, the control's IApplicationContext instance - defaultContext otherwise An implementation of specific for s. The navigator hierarchy equals the control hierarchy when using a . This implementation supports 2 different navigator hierarchies:
  • The default hierarchy defined by
  • The hierarchy defined by a web form's hierarchy.
This implementation always checks the standard hierarchy first and - if a destination cannot be resolved, falls back to the control hierarchy for resolving a specified navigation destination.
Finds the next up the control hierarchy, starting at the specified . This method checks both, for controls implementing or . In addition when MasterPages are used, it interprets the control hierarchy as control->page->masterpage. (). the control to start the search with. include checking the control itself or start search with its parent. requires s to hold a valid instance. If found, the next or . null otherwise Creates a new instance of a for the specified control. the control to be associated with this navigator. the direct parent of this navigator a dictionary containing results specifies how to handle case for destination names. Determines, whether this navigator or one of its parents can navigate to the destination specified in . the name of the navigation destination true, if this navigator can navigate to the destination. Check, whether this navigator can navigate to the specified . the destination name to check. whether the check shall include the control hierarchy or the standard hierarchy only. Returns a redirect url string that points to the defined by this result evaluated using this Page for expression Name of the result. the instance that issued this request The context to use for evaluating the SpEL expression in the Result A redirect url string. Redirects user to a URL mapped to specified result name. Name of the result. the instance that issued this request The context to use for evaluating the SpEL expression in the Result. The that this is associated with. Return the next available within this control's parent hierarchy. Holds the result match from . The matching control The instance associated with the control. May be null. Initializes the new match instance. the matching control. Must not be null! Adapts a concrete instance as a . Erich Eichinger Create a new adapter instance, wrapping the specified into a interface. the instance to be adapted. May be null. Returns the wrapped that was passed into . Provides functions required for implementing validators but are unfortunately not accessible from Erich Eichinger Registers a javascript-block to be rendered. Checks, if a certain javascript-block is already registered. Adds an attribute to be rendered for clientside validation. Is "XHTML 1.0 Transitional" rendering allowed? Provides common functionality to all validation renderer controls. Erich Eichinger Create the default for this ValidationControl if none is configured. Gets the MessageSource to be used for resolve error messages By default, returns 's MessageSource. the to resolve message texts. May be null Gets the list of validation errors to render the to render. May be null Gets the , who's shall be rendered by this control. First, it tries to resolve the specified , if any. If no explicit name is set, will probe the control hierarchy for controls implementing . Resolves the list of validation errors either explicitely specified using or obtained from the containing resolved by to a list of elements containing the error messages to be rendered. The list of validation errors may either be explicitely specified using or will automatically be obtained from the containing resolved by . Error Messages are resolved using either an explicitely specified or the obtained from the validation container. a list containing elements. May return null Renders error messages using the specified . Set a particular message source to be used for resolving error messages to display texts. If not set, the control will probe the control hierarchy for containing controls implementing and use the container's . Allows to set a particular instance of the validation errors collection to render. If not set, the control will probe the control hierarchy for containing controls implementing and use the container's If set, will resolve to the named control specified by this property. The behavior of name resolution is identical to , except that if the name starts with "::", the resolution will start at the page level instead of relative to this control Gets or sets the provider. The provider. Gets or sets the validation errors renderer to use. If not explicitly specified, defaults to . The validation errors renderer to use. Displays a pop-up DHTML calendar.

Credit: this control uses a slightly modified version of the Dynarch.com DHTML Calendar, written by Mihai Bazon.

Aleksandar Seovic
Registers necessary scripts and stylesheet. An object that contains the event data. Renders a hidden input field that stores the value for the radio button group. to use for rendering. Raises the SelectionChanged event. Loads postback data into the control. The key that should be used to retrieve data. The postback data collection. if data has changed. The method that is called on postback if the date has changed. The event argument (empty and unused). Gets a reference to the instance that contains the server control. A reference to the instance that contains the server control. The selected date. The selected date. The date format that is to be used. A valid date format string. Is direct editing of the date allowed? if direct editing of the date is allowed? The (CSS) style. The style for the calendar. Occurs when the value of the radio button group changes between postbacks to the server. Adds the property to the framework's control. When using Spring.Web's DataBinding, you should use this control for easier binding declaration. Erich Eichinger Gets or Sets the list of selected values and checks the es accordingly This validator allows for validating a CheckBox's "Checked" state. Erich Eichinger Validates this validator's properties are set correctly. Returns the state of the checkbox's Checked property Adds attributes required for clientside validation Ensures the evaluation javascript functionblock is registered Represents Content control that can be used to populate or override placeholders within the master page. Any content defined within this control will override default content in the matching control within the master page Aleksandar Seovic Represents ContentPlaceHolder control that can be used to define placeholders within the master page. Any content defined within this control will be treated as a default content for the placeholder and will be rendered unless the child page overrides it by defining matching control. Aleksandar Seovic Represents Content control that can be used to populate or override placeholders anywhere within the page. Any content defined within this control will override default content in the matching control specified by anywhere within the page. In contrast to control, ContentReplacer can replace the content of any control within the current page - it is not limited to replacing ContentPlaceholders on master pages. This technique is useful if you want to group e.g. rendering navigation elements on 1 ascx control, but your design requires navigation elements to be distributed across different places within the HTML code. Erich Eichinger Overriden to correctly redirect rendermethod calls. Renders child controls Render nothing. Specifies the unique id of the control, who's content is to be replaced. May be used to wrap controls for databinding that don't accept unknown attributes. Overridden to ensure only 1 control is wrapped by this adapter Overridden to render wrapped control only. Returns the control wrapped by this adapter or null. Any WebControl placed on a DataBindingPanel may be bound to a model by adding an attribute "BindingTarget" Erich Eichinger This panel provides the same features as , but provides additional means with regards to Spring. In some cases, automatic dependency injection can cause performance problems. In this case,you can use a Panel for finer-grained control over which controls are to be injected or not. Erich Eichinger Overridden to set according to if necessary. Renders the HTML opening tag of the control to the specified writer. An that represents the output stream to render HTML content on the client. Renders the HTML closing tag of the control to the specified writer. An that represents the output stream to render HTML content on the client. This method is invoked right before InitRecursive() is called for this Panel and ensures, that dependencies get injected on child controls before their Init event is raised. Injects dependencies into control before adding it. Overridden to automatically aquire a reference to root application context to use for DI. An optional SpEL expression to control this Panel's state. This panel instance is the context for evaluating the given expression. If no expression is specified, visibility behavior reverts to standard behavior. This flag controls, whether DI on child controls will be done or not By default, DI will be done This flag controls, whether this Panel's tag will be rendered. Expose the context of this panel for medium trust safe access in e.g. . Sets / Gets the ApplicationContext instance used to configure this control Registers this control for the event of it's container. Overridden to remove custom binding attributes before rendering. Overriden to suppress rendering this control's tag Called by the containing if bindings must be initialized. Adds all controls on this panel to the containing 's binding collection. the usercontrol containing this panel the of controls to be bound action to be performed on matching controls Retrieves custom binding attributes from a webcontrol and adds a new binding instance to the container's if necessary. Removes custom binding attributes from a webcontrol to avoid them being rendered. Probe for bindingType of know controls the control, who's bindingType is to be determined null, if standard binding is to be used or the fully qualified typename of the binding implementation Probes for a few know controls and their properties. The 'BindingSource' expression to be used for binding this control. This control allows for suppressing output of the 'action' attribute. the 'action' attribute rendered by the default control causes troubles in case of URL-rewriting. See e.g. 'thescripts.com' forum and also JIRA SPRNET-560 for more info. Erich Eichinger Renders attributes but performs 'action' suppressing logic. Sets or Gets a value indicating if the 'action' attribute shall be rendered. Defaults to 'false' The following possibilites are available: If is 'true', rendering of the 'action' attribute is suppressed. If is 'false' and is not set, 'action' attribute will.be rendered to If is 'false' and is set, 'action' attribute will.be rendered to Sets or Gets an explicit url to be rendered The url specified here is only rendered, if is true. This wrapper suppresses output of 'action' attributes. This control should be used instead of standard HTML head tag in order to render dynamicaly registered head scripts and stylesheets. If you need to use ASP.NETs built-in <head> tag, you should nest Spring's within ASP.NET's: <html> <head> <title>Some Title</title> <spring:head> <-- will render styleblocks etc. here --> </spring:head> </head> </html> Aleksandar Seovic Sends server control content to a provided object, which writes the content to be rendered on the client. The object that receives the server control content. Gets or sets the default mimetype for the <style> element's 'type' attribute Defaults to "text/css" Gets a reference to the instance that contains the server control. This control should be used instead of standard HTML head tag in order to render dynamicaly registered head scripts and stylesheets. Aleksandar Seovic Tries to determine full URL for the localized image before it's rendered. Name of the image file. Gets a reference to the instance that contains the server control. Groups radio button controls and returns the value of the selected control This control alows radio buttons to be data-bound to a data model of the page. Aleksandar Seovic Overloaded to track addition of contained controls. Overloaded to track removal of a RadioButton Registers the RadioButtonGroup for PostBack. Renders only children of this control. HtmlTextWriter to use for rendering. Loads postback data into the control. Key that should be used to retrieve data. Postback data collection. True if data has changed, false otherwise. Raises SelectionChanged event. Method that is called on postback if selected radio button has changed. Empty event argument. Gets or sets the ID of the selected radio button. ID of the selected radio button. Gets or sets whether form should be posted back on every selection change within the radio group. Occurs when the value of the radio button group changes between postbacks to the server. Provides information about a command raised from a Erich Eichinger Initializes a new instance. The name of the command raised by a . The index of the tab that raised this event. Returns the index of the tab that raised this command. Represents the method that will handle the TabCommand event. The source of the event. A that contains the event data. Erich Eichinger This control is responsible for rendering tabs. By default, this TabContainer implementation uses controls to render tabs. Override to change this behaviour. Erich Eichinger Represents the command name of the tab to be selected. Key into the eventhandler table. Catches with name '' and raises the event. The source of the event. contains event information. Raises the event. Creates a new tab for the specified view within the given container. The containing the view The for which a new tab is to be created. The index of the tab to be created. By default, controls are used for rendering tabs. Override this method to change this behaviour. Occurs, when a tab control is clicked. The control allows you to build ASP.NET Web pages that present the user with content arranged in tabular form. Erich Eichinger Initializes a new instance. Initializes a new instance with the given container tag to be used for rendering. Create the container for tab items. Creates TabContainer and MultiView keeps parsed views until multiView is created Initialize this control. Creates child controls. Adds the element to the collection of child controls. Called if ActiveViewIndex is changed Set the style class of the panel containing the Tabs. Set the style class of each Tab item. Set the style class of the currently selected Tab item. Set the style class of the panel containing all controls. Gets or sets the index of the active View control within a control. Occurs, if the active tab has changed. Represents a control that acts as a container for a group of controls within a control. Erich Eichinger Indicates if this view is currently active. Get or Set the name of the tab item associated with this view. Get or Set the tooltip text of the tab item associated with this view. Holds the collection of controls in a . Erich Eichinger Initialize a new instance. Add the specified control to the collection. Add the specified control to the collection. Obtain the specified control from the collection. This control should be used to display field-level validation errors. Aleksandar Seovic Jonathan Allenby Create the default for this ValidationControl if none is configured. This control should be used instead of standard ValidationSummary control to display validation errors identified by the Spring.NET validation framework. Aleksandar Seovic Jonathan Allenby Create the default for this ValidationControl if none is configured. This class provides common members for all validation errors renderers. Aleksandar Seovic This interface should be implemented by all validation errors renderers. Validation errors renderers are used to decouple rendering behavior from the validation errors controls such as and . This allows users to change how validation errors are rendered by simply pluggin in appropriate renderer implementation into the validation errors controls using Spring.NET dependency injection. Aleksandar Seovic Renders validation errors using specified . Web form instance. An HTML writer to use. The list of validation errors. Renders validation errors using specified . Web form instance. An HTML writer to use. The list of validation errors. Gets or sets the name of the CSS class that should be used. The name of the CSS class that should be used Implementation of that renders validation errors within a div element, using breaks between the errors. This renderer's behavior is consistent with standard ASP.NET behavior of the validation summary, and is used as default renderer for Spring.NET control. Aleksandar Seovic Renders validation errors using specified . Web form instance. An HTML writer to use. The list of validation errors. Implementation of that displays an error image to let user know there is an error, and tooltip to display actual error messages. This renderer's behavior is similar to Windows Forms error provider. Aleksandar Seovic Renders validation errors using specified . Web form instance. An HTML writer to use. The list of validation errors. Gets or sets the name of the image file to use as an error icon. Image name should be relative to the value of the property, and should not use leading path separator. The name of the image file to use as an error icon. Implementation of that renders validation errors within a span element, using breaks between the errors. This renderer's behavior is consistent with standard ASP.NET behavior of the control validators, and is used as the default renderer for Spring.NET control. Aleksandar Seovic Renders validation errors using specified . Web form instance. An HTML writer to use. The list of validation errors. Convinience implementation of the wizard-like page controller.

Wizard steps are encapsulated within custom user controls. Wizard controller takes care of navigation through steps and loading of the appropriate user control.

Developer implementing wizard needs to inherit from this class and implement abstract, read-only StepPanel property that will be used as a container for the wizard steps. Navigation event handlers should call Previous and Next methods from this class to change current step.

Aleksandar Seovic
Represents an .aspx file, also known as a Web Forms page, requested from a server that hosts an ASP.NET Web application.

The Page class is associated with files that have an .aspx extension. These files are compiled at run time as Page objects and cached in server memory.

This class extends and adds support for master pages similar to upcoming ASP.Net 2.0 master pages feature.

It also adds support for automatic localization using local page resource file, and simplifies access to global resources (resources from the message source for the application context).

Aleksandar Seovic
Abstracts access to properties required for handling validation and error rendering Erich Eichinger Gets the MessageSource to be used for resolving error ids into messages Gets the list of validation errors kept by this container. Creates and initializes the new page instance. Calls . Initializes Spring.NET page internals and raises the PreInit event. The instance containing the event data. Initializes the culture. Initializes data model and controls. Raises the event after page initialization. Raises the PreLoadViewState event for this page and all contained controls. Recursively raises PreLoadViewState event. Overridden to add support for If necessary override instead of this method. If ViewState is disabled, calls recursively for all controls. If ViewState is disabled, DropDownLists etc. might not fire "Changed" events. Calls recursively for all controls. Recursively calls for all controls. If necessary override this method instead of Initializes dialog result and unbinds data from the controls into a data model. Event arguments. Binds data from the data model into controls and raises PreRender event afterwards. Event arguments. Raises InitializeControls event. Event arguments. Obtains a object from a user control file and injects dependencies according to Spring config file. The virtual path to a user control file. Returns the specified object, with dependencies injected. Obtains a object by type and injects dependencies according to Spring config file. The type of a user control. parameters to pass to the control Returns the specified object, with dependencies injected. Retrieves data model from a persistence store. The default implementation uses to store and retrieve the model for the current Saves data model to a persistence store. The default implementation uses to store and retrieve the model for the current Initializes data model when the page is first loaded. This method should be overriden by the developer in order to initialize data model for the page. Loads the saved data model on postback. This method should be overriden by the developer in order to load data model for the page. Returns a model object that should be saved. This method should be overriden by the developer in order to save data model for the page. A model object that should be saved. Stores the controller to be returned by property. The default implementation uses a field to store the reference. Derived classes may override this behaviour but must ensure to also change the behaviour of accordingly. Controller for the page. Returns the controller stored by . The default implementation uses a field to retrieve the reference. Derived classes may override this behaviour but must ensure to also change the behaviour of accordingly. The controller for this page. If no controller is set, a reference to the page itself is returned. Registers single CSS style with the page. Style name. Style definition. Returns True if specified style is registered, False otherwise. Style name. True if specified style is registered, False otherwise. Registers CSS file with the page. Style file key. Style file name. Returns True if specified style file is registered, False otherwise. Style file key. True if specified style file is registered, False otherwise. Registers script block that should be rendered within the head HTML element. Script key. Script text. Registers script block that should be rendered within the head HTML element. Script key. Script language MIME type. Script text. Registers script file that should be referenced within the head HTML element. Script key. Script file name. Registers script file that should be referenced within the head HTML element. Script key. Script language MIME type. Script file name. Registers script block that should be rendered within the head HTML element. Script key. Element ID of the event source. Name of the event to handle. Script text. Registers script block that should be rendered within the head HTML element. Script key. The scripting language's MIME type. Element ID of the event source. Name of the event to handle. Script text. Returns True if specified head script is registered, False otherwise. Script key. True if specified head script is registered, False otherwise. Ensure, that is set to a valid instance. If is not already set, creates and sets a new instance.
Override this method if you don't want to inject a navigator, but need a different default.
Redirects user to a URL mapped to specified result name. Result name. Redirects user to a URL mapped to specified result name. Name of the result. The context to use for evaluating the SpEL expression in the Result. Returns a redirect url string that points to the defined by this result evaluated using this Page for expression Name of the result. A redirect url string. Returns a redirect url string that points to the defined by this result evaluated using this Page for expression Name of the result. The context to use for evaluating the SpEL expression in the Result A redirect url string. Instructs any validation controls included on the page to validate their assigned information. Instructs the validation controls in the specified validation group to validate their assigned information. The validation group name of the controls to validate. Evaluates specified validators and returns True if all of them are valid.

Each validator can itself represent a collection of other validators if it is an instance of or one of its derived types.

Please see the Validation Framework section in the documentation for more info.

Object to validate. Validators to evaluate. True if all of the specified validators are valid, False otherwise.
Creates the validator parameters. This method can be overriden if you want to pass additional parameters to the validation framework, but you should make sure that you call this base implementation in order to add page, session, application, request, response and context to the variables collection. Dictionary containing parameters that should be passed to the data validation framework. Initializes the data bindings. Returns the key to be used for looking up a cached BindingManager instance in . a unique key identifying the instance in the dictionary. Creates a new instance. This factory method is called if no could be found in using the key returned by .

a instance to be used for DataBinding
Initializes binding manager and data bindings if necessary. Raises the event. Bind data from model to form. Unbind data from form to model. Raises DataBound event. Event arguments. Raises DataBound event. Event arguments. Initializes local message source Creates and returns local ResourceManager for this page. In ASP.NET 1.1, this method loads local resources from the web application assembly. However, in ASP.NET 2.0, local resources are compiled into a dynamic assembly, so we need to find that assembly and load the resources from it. Local ResourceManager instance. Returns message for the specified resource name. Resource name. Message text. Returns message for the specified resource name. Resource name. Message arguments that will be used to format return value. Formatted message text. Returns resource object for the specified resource name. Resource name. Resource object. Raises UserLocaleChanged event. Event arguments. Creates a key for shared state, taking into account whether this page belongs to a process or not. Key suffix Generated unique shared state key. Injects dependencies into control before adding it. PreLoadViewState event. This event is raised if is true immediately before state is restored from ViewState. NOTE: Different from , this event will also be raised if the control has no ViewState or ViewState is disabled. This event is raised before Init event and should be used to initialize controls as necessary. Set the strategy for storing model instances between requests. By default the strategy is used. Gets or sets controller for the page. Application pages should shadow this property and change its type in order to make calls to controller within the page as simple as possible. If external controller is not specified, page will serve as its own controller, which will allow data binding to work properly. Controller for the page. Defaults to the page itself. Returns a thread-safe dictionary that contains state that is shared by all instances of this page. Overrides the default PreviousPage property to return an instance of , and to work properly during server-side transfers and executes. Publish associated with this page for convenient usage in Binding Expressions Gets the master page that determines the overall look of the page. Returns true if page uses master page, false otherwise. Gets a dictionary of registered styles. Registered styles. Gets a dictionary of registered style files. Registered style files. Gets a dictionary of registered head scripts. Registered head scripts. Gets or sets the CSS root. The CSS root. Gets or sets the scripts root. The scripts root. Gets or sets the images root. The images root. Gets/Sets the navigator to be used for handling calls. Gets or sets map of result names to target URLs Using requires to implement . A convenience, case-insensitive table that may be used to e.g. pass data into SpEL expressions"/>. By default, e.g. passes the control instance into an expression. Using is an easy way to pass additional parameters into the expression This example shows how to pass an arbitrary value 'age' into a result expression. // config: <property Name="Results"> <dictionary> <entry key="ok_clicked" value="redirect:~/ShowResult.aspx?age=%{Args['age']}" /> </dictionary> </property> // code: void OnOkClicked(object sender, EventArgs e) { Args["result"] = txtAge.Text; SetResult("ok_clicked"); } Gets or sets the validation errors container. The validation errors container. Expose BindingManager via IDataBound interface Gets the binding manager. The binding manager. This event is raised after as been initialized. This event is raised after all controls have been populated with values from the data model. This event is raised after data model has been populated with values from web controls. Gets or sets the that this object runs in.

Normally this call will be used to initialize the object.

Invoked after population of normal object properties but before an init callback such as 's or a custom init-method. Invoked after the setting of any 's property.

In the case of application context initialization errors. If thrown by any application context methods.
Gets or sets the localizer. The localizer. Gets or sets the culture resolver. The culture resolver. Gets or sets the local message source. The local message source. Gets or sets user's culture This event is raised when the value of UserLocale property changes. Holds default ApplicationContext instance to be used during DI. Moves to the previous step in the list, if one exists. Moves to the next step in the list, if one exists. Initializes wizard steps. Event arguments. Loads new step into a step panel if step has changed. Event arguments. Initializes all the steps. List of step control names. List of step control instances. Loads step control. Gets or sets a list of user controls representing wizard steps. Gets or sets current step using step index. Returns true if there are no steps before the current step. Returns true if there are no steps after the current step. Panel that should serve as a container for wizard steps. Specifies that page should be treated as a dialog, meaning that after processing is over user should return to the referring page.

Pages marked with this attribute will have "close" result predefined.

Developers should call SetResult("close") from the event handler in order to return control back to the calling page.

Aleksandar Seovic
Abstracts storage strategy for storing model instances between requests. All storage providers participating in UI model management must implement this interface. Erich Eichinger Load the model for the specified control context. the control context. the model for the specified control context. Save the specified model object. the control context. the model to save. Spring.NET Master Page implementation for ASP.NET 2.0 Aleksandar Seovic Initialize a new MasterPage instance. Initializes user control. Binds data from the data model into controls and raises PreRender event afterwards. Event arguments. Raises InitializeControls event. Event arguments. Obtains a object from a user control file and injects dependencies according to Spring config file. The virtual path to a user control file. Returns the specified object, with dependencies injected. Obtains a object by type and injects dependencies according to Spring config file. The type of a user control. parameters to pass to the control Returns the specified object, with dependencies injected. Raises DataBound event. Event arguments. Raises DataBound event. Event arguments. Initializes local message source Creates and returns local ResourceManager for this page. In ASP.NET 1.1, this method loads local resources from the web application assembly. However, in ASP.NET 2.0, local resources are compiled into the dynamic assembly, so we need to find that assembly instead and load the resources from it. Local ResourceManager instance. Returns message for the specified resource name. Resource name. Message text. Returns message for the specified resource name. Resource name. Message arguments that will be used to format return value. Formatted message text. Returns resource object for the specified resource name. Resource name. Resource object. Ensure, that is set to a valid instance. If is not already set, creates and sets a new instance.
Override this method if you don't want to inject a navigator, but need a different default.
Redirects user to a URL mapped to specified result name. Result name. Redirects user to a URL mapped to specified result name. Name of the result. The context to use for evaluating the SpEL expression in the Result. Returns a redirect url string that points to the defined by this result evaluated using this Page for expression Name of the result. A redirect url string. Returns a redirect url string that points to the defined by this result evaluated using this Page for expression Name of the result. The context to use for evaluating the SpEL expression in the Result A redirect url string. Evaluates specified validators and returns True if all of them are valid.

Each validator can itself represent a collection of other validators if it is an instance of or one of its derived types.

Please see the Validation Framework section in the documentation for more info.

Object to validate. Validators to evaluate. True if all of the specified validators are valid, False otherwise.
Creates the validator parameters. This method can be overriden if you want to pass additional parameters to the validation framework, but you should make sure that you call this base implementation in order to add page, session, application, request, response and context to the variables collection. Dictionary containing parameters that should be passed to the data validation framework. Injects dependencies before adding the control. This event is raised before Load event and should be used to initialize controls as necessary. This event is raised after all controls have been populated with values from the data model. This event is raised after data model has been populated with values from web controls. Gets or sets the that this object runs in.

Normally this call will be used to initialize the object.

Invoked after population of normal object properties but before an init callback such as 's or a custom init-method. Invoked after the setting of any 's property.

In the case of application context initialization errors. If thrown by any application context methods.
Gets or sets the localizer. The localizer. Gets or sets the local message source. The local message source. Gets or sets user's culture Gets/Sets the navigator to be used for handling calls. Gets or sets map of result names to target URLs Using requires to implement . A convenience, case-insensitive table that may be used to e.g. pass data into SpEL expressions"/>. By default, e.g. passes the control instance into an expression. Using is an easy way to pass additional parameters into the expression // config: <property Name="Results"> <dictionary> <entry key="ok_clicked" value="redirect:~/ShowResult.aspx?result=%{Args['result']}" /> </dictionary> </property> // code: void OnOkClicked(object sender, EventArgs e) { Args["result"] = txtUserInput.Text; SetResult("ok_clicked"); } Gets the validation errors container. The validation errors container. Overrides Page property to return instead of . Holds the default ApplicationContext to be used during DI. implements -based storage for UI model management. Erich Eichinger Load the model for the specified control context. The key used for loading the model from the session dictionary is obtained by calling the control context. the model for the specified control context. Save the specified model object to session. The key used for storing the model into the session dictionary is obtained by calling the control context. the model to save. Create the key to be used for accessing the dictionary. Abstracts session access for unit testing. Abstracts session access for unit testing. Extends standard .Net user control by adding data binding and localization functionality. Aleksandar Seovic Initialize a new UserControl instance. Initializes user control. Raises the event after page initialization. This method is called during a postback if this control has been visible when being rendered to the client. If the controls has been visible when being rendering to the client, has been called during true if the server control's state changes as a result of the post back; otherwise false. This method is called during a postback if this control has been visible when being rendered to the client. true if the server control's state changes as a result of the post back; otherwise false. When implemented by a class, signals the server control object to notify the ASP.NET application that the state of the control has changed. When implemented by a class, signals the server control object to notify the ASP.NET application that the state of the control has changed. First unbinds data from the controls into a data model and then raises Load event in order to execute all associated handlers. Event arguments. Binds data from the data model into controls and raises PreRender event afterwards. Event arguments. Raises InitializeControls event. Event arguments. Obtains a object from a user control file and injects dependencies according to Spring config file. The virtual path to a user control file. Returns the specified object, with dependencies injected. Obtains a object by type and injects dependencies according to Spring config file. The type of a user control. parameters to pass to the control Returns the specified object, with dependencies injected. Retrieves data model from a persistence store. The default implementation uses to store and retrieve the model for the current Saves data model to a persistence store. The default implementation uses to store and retrieve the model for the current Initializes data model when the page is first loaded. This method should be overriden by the developer in order to initialize data model for the page. Loads the saved data model on postback. This method should be overriden by the developer in order to load data model for the page. Returns a model object that should be saved. This method should be overriden by the developer in order to save data model for the page. A model object that should be saved. Stores the controller to be returned by property. The default implementation uses a field to store the reference. Derived classes may override this behaviour but must ensure to also change the behaviour of accordingly. Controller for the control. Returns the controller stored by . The default implementation uses a field to retrieve the reference. If external controller is not specified, control will serve as its own controller, which will allow data binding to work properly. You may override this method e.g. to return in order to have your control bind to the same controller as your page. When overriding this behaviour, derived classes must ensure to also change the behaviour of accordingly. The controller for this control. If no controller is set, a reference to the control itself is returned. Ensure, that is set to a valid instance. If is not already set, creates and sets a new instance.
Override this method if you don't want to inject a navigator, but need a different default.
Redirects user to a URL mapped to specified result name. Result name. Redirects user to a URL mapped to specified result name. Name of the result. The context to use for evaluating the SpEL expression in the Result. Returns a redirect url string that points to the defined by this result evaluated using this Page for expression Name of the result. A redirect url string. Returns a redirect url string that points to the defined by this result evaluated using this Page for expression Name of the result. The context to use for evaluating the SpEL expression in the Result A redirect url string. Evaluates specified validators and returns True if all of them are valid.

Each validator can itself represent a collection of other validators if it is an instance of or one of its derived types.

Please see the Validation Framework section in the documentation for more info.

Object to validate. Validators to evaluate. True if all of the specified validators are valid, False otherwise.
Creates the validator parameters. This method can be overriden if you want to pass additional parameters to the validation framework, but you should make sure that you call this base implementation in order to add page, session, application, request, response and context to the variables collection. Dictionary containing parameters that should be passed to the data validation framework. Initializes the data bindings. Returns the key to be used for looking up a cached BindingManager instance in . a unique key identifying the instance in the dictionary. Creates a new instance. This factory method is called if no could be found in using the key returned by .

a instance to be used for DataBinding
Initializes binding manager and data bindings if necessary. Raises the event. Bind data from model to form. Unbind data from form to model. Raises DataBound event. Event arguments. Raises DataBound event. Event arguments. Initializes local message source Creates and returns local ResourceManager for this page. In ASP.NET 1.1, this method loads local resources from the web application assembly. However, in ASP.NET 2.0, local resources are compiled into the dynamic assembly, so we need to find that assembly instead and load the resources from it. Local ResourceManager instance. Returns message for the specified resource name. Resource name. Message text. Returns message for the specified resource name. Resource name. Message arguments that will be used to format return value. Formatted message text. Returns resource object for the specified resource name. Resource name. Resource object. Creates a key for shared state, taking into account whether this page belongs to a process or not. Key suffix Generated unique shared state key. Injects dependencies into control before adding it. PreLoadViewState event. This event is raised if is true immediately before state is restored from ViewState. NOTE: Different from , this event will always be raised! This event is raised before Load event and should be used to initialize controls as necessary. Set the strategy for storing model instances between requests. By default the strategy is used. Gets or sets controller for the control. Internally calls are delegated to and . Controller for the control. Returns a thread-safe dictionary that contains state that is shared by all instances of this control. Gets/Sets the navigator to be used for handling calls. Gets or sets map of result names to target URLs Using requires to implement . A convenience, case-insensitive table that may be used to e.g. pass data into SpEL expressions"/>. By default, e.g. passes the control instance into an expression. Using is an easy way to pass additional parameters into the expression // config: <property Name="Results"> <dictionary> <entry key="ok_clicked" value="redirect:~/ShowResult.aspx?result=%{Args['result']}" /> </dictionary> </property> // code: void OnOkClicked(object sender, EventArgs e) { Args["result"] = txtUserInput.Text; SetResult("ok_clicked"); } Gets or sets the validation errors container. The validation errors container. Gets the binding manager for this control. The binding manager. This event is raised after as been initialized. This event is raised after all controls have been populated with values from the data model. This event is raised after data model has been populated with values from web controls. Gets or sets the that this object runs in.

Normally this call will be used to initialize the object.

Invoked after population of normal object properties but before an init callback such as 's or a custom init-method. Invoked after the setting of any 's property.

In the case of application context initialization errors. If thrown by any application context methods.
Gets or sets the localizer. The localizer. Gets or sets the local message source. The local message source. Gets or sets user's culture Overrides Page property to return instead of . Publish associated with this page for convenient usage in Binding Expressions Holds the default ApplicationContext to be used during DI.