Click or drag to resize

IceNetHttpApplication Class

Base class for ice.NET Web applications. Derive the global application class (Global.asax) from IceNetHttpApplication to connect the Web application to the ice.NET infrastructure.
Inheritance Hierarchy
SystemObject
  System.WebHttpApplication
    PDTec.IceNet.WebIceNetHttpApplication

Namespace:  PDTec.IceNet.Web
Assembly:  PDTec.IceNet.Web (in PDTec.IceNet.Web.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public class IceNetHttpApplication : HttpApplication

The IceNetHttpApplication type exposes the following members.

Constructors
  NameDescription
Public methodIceNetHttpApplication
Initializes an instance of the IceNetHttpApplication class.
Top
Properties
  NameDescription
Public propertyApplication
Gets the current state of an application.
(Inherited from HttpApplication.)
Public propertyContext
Gets HTTP-specific information about the current request.
(Inherited from HttpApplication.)
Public propertyStatic memberCurrent
Gets the current instance of IceNetHttpApplication.
Public propertyStatic memberDatabaseConnectString
Gets or sets the database string.
Public propertyStatic memberDatabaseService
Gets or sets the database service.
Public propertyStatic memberEnforceDependencies
Gets or sets if package dependencies are enforced.
Protected propertyEvents
Gets the list of event handler delegates that process all application events.
(Inherited from HttpApplication.)
Public propertyIceNetUserName
Gets or sets the name of the ice.NET user that is authenticated for the current HTTP request.
Public propertyStatic memberIsCoreEditable
Gets or sets if the package "Core" can modified.
Public propertyLicenseDisplayText
Gets the text to display for the current license information.
Public propertyLicensedNumberOfUsers
Gets the currently licensed number of users.
Public propertyStatic memberLicenseFilePath
Gets or sets the license file path.
Public propertyModules
Gets the collection of modules for the current application.
(Inherited from HttpApplication.)
Public propertyRepository
Gets the IDatabaseRepository instance that is associated to the current HTTP request.
Public propertyRequest
Gets the intrinsic request object for the current request.
(Inherited from HttpApplication.)
Public propertyResponse
Gets the intrinsic response object for the current request.
(Inherited from HttpApplication.)
Public propertyServer
Gets the intrinsic server object for the current request.
(Inherited from HttpApplication.)
Public propertySession
Gets the intrinsic session object that provides access to session data.
(Inherited from HttpApplication.)
Public propertySite
Gets or sets a site interface for an IComponent implementation.
(Inherited from HttpApplication.)
Public propertyStatic memberSqlBridgeConfiguration
Gets or sets configuration data for SQLBridge.
Public propertyUser
Gets the intrinsic user object for the current request.
(Inherited from HttpApplication.)
Top
Methods
  NameDescription
Public methodAddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)
Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified AcquireRequestState event to the collection of asynchronous AcquireRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified AuthenticateRequest event to the collection of asynchronous AuthenticateRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified AuthorizeRequest event to the collection of asynchronous AuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnBeginRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnBeginRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified BeginRequest event to the collection of asynchronous BeginRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnEndRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnEndRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified EndRequest event to the collection of asynchronous EndRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnLogRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnLogRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified LogRequest event to the collection of asynchronous LogRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)
Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified MapRequestHandler event to the collection of asynchronous MapRequestHandler event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAcquireRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostAcquireRequestState event to the collection of asynchronous PostAcquireRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostAuthenticateRequest event to the collection of asynchronous PostAuthenticateRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAuthenticateRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostAuthorizeRequest event to the collection of asynchronous PostAuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostAuthorizeRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostAuthorizeRequest to the collection of asynchronous PostAuthorizeRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostLogRequestAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostLogRequest event to the collection of asynchronous PostLogRequest event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostMapRequestHandlerAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostMapRequestHandler event to the collection of asynchronous PostMapRequestHandler event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostReleaseRequestState event to the collection of asynchronous PostReleaseRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostRequestHandlerExecute event to the collection of asynchronous PostRequestHandlerExecute event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostResolveRequestCache event to the collection of asynchronous PostResolveRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler)
Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPostUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PostUpdateRequestCache event to the collection of asynchronous PostUpdateRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler)
Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnPreRequestHandlerExecuteAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified PreRequestHandlerExecute event to the collection of asynchronous PreRequestHandlerExecute event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler)
Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnReleaseRequestStateAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified ReleaseRequestState event to the collection of asynchronous ReleaseRequestState event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler)
Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnResolveRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified ResolveRequestCache event handler to the collection of asynchronous ResolveRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler)
Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodAddOnUpdateRequestCacheAsync(BeginEventHandler, EndEventHandler, Object)
Adds the specified UpdateRequestCache event to the collection of asynchronous UpdateRequestCache event handlers for the current request.
(Inherited from HttpApplication.)
Public methodCheckAuthorization(String, Int32)
Public methodCheckAuthorization(IFolder, Int32)
Public methodCheckAuthorization(IObject, Int32)
Public methodCheckAuthorization(IPackage, Int32)
Public methodCheckAuthorization(IParty, Int32)
Public methodCheckAuthorization(AuthorizedItemType, String, Int32)
Public methodCheckQualification(IFolder, String)
Public methodCheckQualification(IObject, String)
Public methodCompleteRequest
Causes ASP.NET to bypass all events and filtering in the HTTP pipeline chain of execution and directly execute the EndRequest event.
(Inherited from HttpApplication.)
Protected methodCreateRepository
Public methodCreateRepository(String)
Creates a IDatabaseRepository instance that is initialized with userName. This instance initialized with "Administrator"can be used to perform login operation while a valid user name is not yet available in the IceNetUserName property.
Public methodDiscardCurrentRepository
Discards the IDatabaseRepository instance that is associated to the current HTTP request. By accessing the Repository property after calling this method results in a new IDatabaseRepository instance. All buffered data from the existing repository is discarded, too.
Public methodDispose
Disposes the HttpApplication instance.
(Inherited from HttpApplication.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOutputCacheProviderName
Gets the name of the default output-cache provider that is configured for a Web site.
(Inherited from HttpApplication.)
Public methodGetRepositoryStatus
Gets the repository status (repository mode and corresponding timestamps).
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVaryByCustomString
Provides an application-wide implementation of the VaryByCustom property.
(Inherited from HttpApplication.)
Public methodHasAuthorization(String, Int32)
Public methodHasAuthorization(IFolder, Int32)
Public methodHasAuthorization(IObject, Int32)
Public methodHasAuthorization(IPackage, Int32)
Public methodHasAuthorization(IParty, Int32)
Public methodHasAuthorization(AuthorizedItemType, String, Int32)
Public methodHasQualification(IFolder, String)
Public methodHasQualification(IObject, String)
Public methodInit
Executes custom initialization code after all event handler modules have been added.
(Inherited from HttpApplication.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetRepositoryMode
Sets the repository mode.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAcquireRequestState
Occurs when ASP.NET acquires the current state (for example, session state) that is associated with the current request.
(Inherited from HttpApplication.)
Public eventAuthenticateRequest
Occurs when a security module has established the identity of the user.
(Inherited from HttpApplication.)
Public eventAuthorizeRequest
Occurs when a security module has verified user authorization.
(Inherited from HttpApplication.)
Public eventBeginRequest
Occurs as the first event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
(Inherited from HttpApplication.)
Public eventDisposed
Occurs when the application is disposed.
(Inherited from HttpApplication.)
Public eventEndRequest
Occurs as the last event in the HTTP pipeline chain of execution when ASP.NET responds to a request.
(Inherited from HttpApplication.)
Public eventError
Occurs when an unhandled exception is thrown.
(Inherited from HttpApplication.)
Public eventLogRequest
Occurs just before ASP.NET performs any logging for the current request.
(Inherited from HttpApplication.)
Public eventMapRequestHandler
Occurs when the handler is selected to respond to the request.
(Inherited from HttpApplication.)
Public eventPostAcquireRequestState
Occurs when the request state (for example, session state) that is associated with the current request has been obtained.
(Inherited from HttpApplication.)
Public eventPostAuthenticateRequest
Occurs when a security module has established the identity of the user.
(Inherited from HttpApplication.)
Public eventPostAuthorizeRequest
Occurs when the user for the current request has been authorized.
(Inherited from HttpApplication.)
Public eventPostLogRequest
Occurs when ASP.NET has completed processing all the event handlers for the LogRequest event.
(Inherited from HttpApplication.)
Public eventPostMapRequestHandler
Occurs when ASP.NET has mapped the current request to the appropriate event handler.
(Inherited from HttpApplication.)
Public eventPostReleaseRequestState
Occurs when ASP.NET has completed executing all request event handlers and the request state data has been stored.
(Inherited from HttpApplication.)
Public eventPostRequestHandlerExecute
Occurs when the ASP.NET event handler (for example, a page or an XML Web service) finishes execution.
(Inherited from HttpApplication.)
Public eventPostResolveRequestCache
Occurs when ASP.NET bypasses execution of the current event handler and allows a caching module to serve a request from the cache.
(Inherited from HttpApplication.)
Public eventPostUpdateRequestCache
Occurs when ASP.NET finishes updating caching modules and storing responses that are used to serve subsequent requests from the cache.
(Inherited from HttpApplication.)
Public eventPreRequestHandlerExecute
Occurs just before ASP.NET starts executing an event handler (for example, a page or an XML Web service).
(Inherited from HttpApplication.)
Public eventPreSendRequestContent
Occurs just before ASP.NET sends content to the client.
(Inherited from HttpApplication.)
Public eventPreSendRequestHeaders
Occurs just before ASP.NET sends HTTP headers to the client.
(Inherited from HttpApplication.)
Public eventReleaseRequestState
Occurs after ASP.NET finishes executing all request event handlers. This event causes state modules to save the current state data.
(Inherited from HttpApplication.)
Public eventRequestCompleted
Occurs when the managed objects that are associated with the request have been released.
(Inherited from HttpApplication.)
Public eventStatic memberCode exampleRequestImplAssemblies
Request Business Objects implementation assemblies.
Public eventStatic memberRequestImplFactories
Requests Business Objects implementation factories.
Public eventStatic memberRequestVaultProtocol
Requests Vault Protocol implementation factories.
Public eventResolveRequestCache
Occurs when ASP.NET finishes an authorization event to let the caching modules serve requests from the cache, bypassing execution of the event handler (for example, a page or an XML Web service).
(Inherited from HttpApplication.)
Public eventUpdateRequestCache
Occurs when ASP.NET finishes executing an event handler in order to let caching modules store responses that will be used to serve subsequent requests from the cache.
(Inherited from HttpApplication.)
Top
See Also