WebApplicationConfiguration Class

Definition

Contains the application configuration as retrieved from web.config or as constants.

public sealed class WebApplicationConfiguration
Inheritance
WebApplicationConfiguration

Constructors

WebApplicationConfiguration()

Fields

AppId

Application id, from web config.

CookieDomain

Cookie domain, from web config.

CookieName

The name of the cookie for use by applications and the base HealthServicePage to store authentication information.

CookiePath
CookieTimeoutMinutes

Cookie timeout in minutes, from web config.

IsMra

If true, the application is a multi-record application.

IsSignupCodeRequired

Indicates whether a signup code is required for a user to create a HealthVault account.

LogOnRequired

Constant to indicate logon required

MaxCookieTimeoutMinutes

The maximum cookie timeout in minutes, from web config.

NoLogOnRequired

Constant to indicate logon not required

UseAspSession

Use the asp session rather than a cookie, from web config.

UseSslForSecurity

Whether to secure the connection with SSL, from web config.

Properties

ActionUrlRedirectOverride

Non-production action url redirect override.

AllowedRedirectSites

Gets the list of allowed redirect sites.

DataGridItemsPerPage

Gets the configured number of items that should be shown for a HealthRecordItemDataGrid page.

HealthServiceHandlerUrl

HealthVault handler url, derived from web config.

HealthServiceRootUrl

HealthVault root url, from web config.

HealthServiceUrl

HealthVault url, from web config.

ShellAuthenticationUrl

Shell auth page location including the application id.

ShellRedirectorUrl

Shell redirector url, derived from web config.

ShellUrl

Shell url, from web config.

Methods

GetActionUrl(String)

Gets the URL for the specified application action.