WebAppHelper MembersA Sandcastle Documented Class Library

The WebAppHelper type exposes the following members.
Constructors

  NameDescription
Public methodWebAppHelper
Initializes a new instance of the WebAppHelper class
Back to Top
Methods

  NameDescription
Public methodStatic memberAppSettingsDump
Provides a static method that dumps the contents of the application configuration datastore to the log. Also returns a copy of the datastore contents.
Public methodStatic memberClearSessionOfKeys
Helper method that removes keys that are like the given key from the session.
Public methodStatic memberConvertSelectedIndices
Converts the selected indices to a comma separated string.
Public methodStatic memberConvertSelectedValues
Converts the entries in the given list box to a comma separated string.
Public methodStatic memberDictionaryDump(Dictionary Object, Object , NameValueCollection)
Provides a static method that dumps the contents of the dictionary
Public methodStatic memberDictionaryDump(Dictionary String, String , NameValueCollection)
Provides a static method that dumps the contents of the dictionary
Public methodStatic memberEncodePasswordMD5
Encodes the currently entered in password for comparison to database values.
Public methodStatic memberFirstCharToUpper
Sets the first character of every word to upper case.
Public methodStatic memberGetFileSafeString
Returns a string that is a file system safe version of the provided string.
Public methodStatic memberGetUniqueTimeString
Used to create a unique name based on the current time.
Public methodStatic memberLog
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.
Public methodStatic memberReloadSettings
Provides a static method for reloading application settings. Must have reloadsettings = true in settings.xml or the app settings section of Web.config.
Public methodStatic memberSessionDump(HttpSessionState)
Provides a static method that dumps the contents of the session datastore to the log. Also returns a copy of the datastore contents.
Public methodStatic memberSessionDump(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.
Public methodStatic memberSettingIsTrue
Provides a static method for checking application configuration settings to see if a flag has been set to true.
Public methodStatic memberThrowNewException
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.
Back to Top
See Also