Places an object in the list of registered objects for the application.
Assembly: System.Web (in System.Web.dll)
The ApplicationManager class enables methods outside the current application domain to create, manage, and destroy objects inside the current application domain. The method is used to register previously created objects with the hosting environment. Objects registered with the method must implement the IRegisteredObject interface.
To use a registered object, follow these steps:
Create a new instance of your registered object by calling the ApplicationManager.CreateObject method.
Call a type-specific method to initialize your new object. In the initialization method, call the method to add the object to the list of registered objects.
Call the ApplicationManager.GetObject method to return the registered object when required.