Web​Application​Configuration Class

Definition

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

public sealed class WebApplicationConfiguration
Inheritance
WebApplicationConfiguration

Constructors

Web​Application​Configuration()

Fields

App​Id

Application id, from web config.

Cookie​Domain

Cookie domain, from web config.

Cookie​Name

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

Cookie​Path
Cookie​Timeout​Minutes

Cookie timeout in minutes, from web config.

Is​Mra

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

Is​Signup​Code​Required

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

Log​On​Required

Constant to indicate logon required

Max​Cookie​Timeout​Minutes

The maximum cookie timeout in minutes, from web config.

No​Log​On​Required

Constant to indicate logon not required

Use​Asp​Session

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

Use​Ssl​For​Security

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

Properties

Action​Url​Redirect​Override

Non-production action url redirect override.

Allowed​Redirect​Sites

Gets the list of allowed redirect sites.

Data​Grid​Items​Per​Page

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

Health​Service​Handler​Url

HealthVault handler url, derived from web config.

Health​Service​Root​Url

HealthVault root url, from web config.

Health​Service​Url

HealthVault url, from web config.

Shell​Authentication​Url

Shell auth page location including the application id.

Shell​Redirector​Url

Shell redirector url, derived from web config.

Shell​Url

Shell url, from web config.

Methods

Get​Action​Url(​String)

Gets the URL for the specified application action.