Config Primer

There are a handful of Settings you can use with UnifiedASP to control some behavior. These are accessible as AppSettings in the web.config file.

Key Description Example
UrlAfterLogin Defines what page a user should be taken to after logging in. By default, this is AppUser/Default.aspx but it should likely be set to take the user to a dashboard or a module. Dashboard/Default.aspx
SendErrorNotification The system can send an administrator a detailed e-mail when an error occurs. This can be turned on or off by setting the value of this setting to True or False &nbpsp
ErrorNotificationAddress Define the address(es) that should receive notifications when an error occurs. List can be separated by a comma. dba@example.com, admin@example.com
SystemFromAddress Define what address any e-mails originating in the system will be from noreply@example.com
SystemSmtpUsername If your SMTP server requires authentication, this field allows you to specify the username noreply
SystemSmtpPassword If your SMTP server requires authentication, this field allows you to specify the password password
SystemSmtpServer Define the address for your SMTP server 127.0.0.1
HourAdjustment If your server is in a different timezone than you would like used by the site, you can specify an adjustment here and use the UnifiedASP.NowAdjusted property instead of Date.Now() -3
DefaultConnectionStringKey It’s not uncommon for an application to have to interact with multiple databases and require multiple connection strings to be stored in the web.config file. This setting establishes which connection string should be used by default. UnifiedASP
Share It:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • E-mail this story to a friend!
  • Netvibes
  • Ping.fm
  • Reddit
  • StumbleUpon
  • Technorati