The WebAppHelper type exposes the following members.
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | WebAppHelper | Initializes a new instance of the WebAppHelper class |
Methods
Name | Description | |
---|---|---|
![]() ![]() | AppSettingsDump |
Provides a static method that dumps the contents of the application configuration
datastore to the log. Also returns a copy of the datastore contents.
|
![]() ![]() | ClearSessionOfKeys |
Helper method that removes keys that are like the given key from the session.
|
![]() ![]() | ConvertSelectedIndices |
Converts the selected indices to a comma separated string.
|
![]() ![]() | ConvertSelectedValues |
Converts the entries in the given list box to a comma separated string.
|
![]() ![]() | DictionaryDump(Dictionary Object, Object , NameValueCollection) |
Provides a static method that dumps the contents of the dictionary
|
![]() ![]() | DictionaryDump(Dictionary String, String , NameValueCollection) |
Provides a static method that dumps the contents of the dictionary
|
![]() ![]() | EncodePasswordMD5 |
Encodes the currently entered in password for comparison to database values.
|
![]() ![]() | FirstCharToUpper |
Sets the first character of every word to upper case.
|
![]() ![]() | GetFileSafeString |
Returns a string that is a file system safe version of the provided string.
|
![]() ![]() | GetUniqueTimeString |
Used to create a unique name based on the current time.
|
![]() ![]() | Log |
Provides a static method for application logging.
Supports event viewer logging, file system logging, and in memory logging.
Functionality is controlled by the "logging" tag in settings.xml or the
portal's Web.config file in the app settings section. Accepted values for the logging
tag are eventviewer, filesystem. memory, none.
|
![]() ![]() | ReloadSettings |
Provides a static method for reloading application settings.
Must have reloadsettings = true in settings.xml or the app settings section of Web.config.
|
![]() ![]() | SessionDump(HttpSessionState) |
Provides a static method that dumps the contents of the session
datastore to the log. Also returns a copy of the datastore contents.
|
![]() ![]() | SessionDump(HttpSessionState, NameValueCollection) |
Provides a static method that dumps the contents of the session
datastore to the log. Also returns a copy of the datastore contents.
|
![]() ![]() | SettingIsTrue |
Provides a static method for checking application configuration settings
to see if a flag has been set to true.
|
![]() ![]() | ThrowNewException |
Provides a static method for testing web application error handling at the page level.
Must have testerror = true in settings.xml or the app settings section of Web.config.
|
See Also