Skip to content

Configuration settings

SAIF.Business.Policy.Agency does not retrieve configuration values directly from code. Its configuration surface is almost entirely declarative (app.config, Web.config, provider registration, and binding redirects) plus transitive framework settings required by the BOF runtime.

Configuration retrieval methods

Method Class / Interface Namespace Usage pattern
GetConfigSetting IEnvironmentService SAIF.Core.Services Not called directly by this library; required only through transitive framework dependencies.*
GetSecureConfigSetting IEnvironmentService SAIF.Core.Services Not called directly by this library.*
ConfigurationManager.AppSettings ConfigurationManager System.Configuration Not called directly by this library.
IDataPortalInfo.PortalID BOF data-portal infrastructure SAIF.Framework / SAIF.Business Passed into every retrieve path so the BOF framework can resolve a runtime Oracle connection.*
My.Settings SAIF.Business.Policy.Agency.My.MySettings SAIF.Business.Policy.Agency.My Auto-generated settings class exists, but it declares no typed settings.

Environment API settings

Settings retrieved via IEnvironmentService.

Setting key Method Data type Purpose Consuming class Source
(none directly consumed) — — This library does not call GetConfigSetting or GetSecureConfigSetting. — Business\SAIF.Business.Policy.Agency\clsAgency.vb

AppSettings (Web.config)

Setting key Default value Purpose Consuming class Source
(none) — No direct appSettings keys are defined or consumed by this library. — Business\SAIF.Business.Policy.Agency\app.config

Database connection configuration

Connection name Provider Retrieval method Purpose Source
Runtime portal mapping Oracle Managed Data Access IDataPortalInfo.PortalID through the BOF connection framework* Resolves agency-domain retrieve requests to the correct Oracle connection at runtime. Business\SAIF.Business.Policy.Agency\clsAgency.vb
Oracle.ManagedDataAccess.Client Oracle Managed Data Access Declarative provider registration Registers the ADO.NET provider used by host applications that load this library. Business\SAIF.Business.Policy.Agency\app.config

Secure settings

Setting key Encryption method Purpose Consuming class Source
(none) — No secure-setting retrieval is implemented in this library. — Business\SAIF.Business.Policy.Agency\clsProducer.vb

Transitive configuration (from dependencies)

Setting key Method Source dependency Dependency type Purpose
EnvironmentApiUrl GetConfigSetting SAIF.Framework.Security.EnvironmentApi NuGet Supplies the BOF environment API base URL used by framework services.*
checkforupdatedsettingsinseconds GetConfigSetting SAIF.Framework.Security.EnvironmentApi NuGet Controls framework refresh cadence for cached environment settings.*
ApplicationHost GetConfigSetting SAIF.Framework.Security.EnvironmentApi NuGet Supports developer-host resolution in the framework environment service.*
EnvApiDeveloperSettingsOverride GetConfigSetting SAIF.Framework.Security.EnvironmentApi NuGet Supports local developer overrides in the framework environment service.*
workCalendarServiceUrl GetConfigSetting SAIF.Framework.Core NuGet Supports clsSmartDate service resolution used by the date-heavy agency, contract, office, and producer types.*
securityserviceurl / securityServiceUrl GetConfigSetting SAIF.Framework.Security NuGet Supports framework authorization services when enabled by the host.*
legacyADServiceUrl GetConfigSetting SAIF.Framework.Security NuGet Supports the legacy framework AD service client.*

Configuration dependencies

Dependency Type Required at Impact if missing
oracle.manageddataaccess.client section registration Config section Host startup Oracle provider configuration cannot be loaded correctly.
DbProviderFactories registration Provider registration Host startup The managed Oracle provider may not be discoverable.
PortalID-to-connection mapping Runtime framework setting Request execution Retrieve operations cannot connect to the intended database.*
RestSharp binding redirect alignment Assembly binding Host startup A redirect pinned to 106.11.7.0 can conflict with the 106.12.0 package deployed with this library.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.Policy.Agency\app.config
  • Business\SAIF.Business.Policy.Agency\Web.config
  • Business\SAIF.Business.Policy.Agency\My Project\Settings.settings
  • Business\SAIF.Business.Policy.Agency\My Project\Settings.Designer.vb
  • Business\SAIF.Business.Policy.Agency\SAIF.BOF.Business.Policy.Agency.vbproj
  • Business\SAIF.Business.Policy.Agency\packages.config
  • Business\SAIF.Business.Policy.Agency\clsAgency.vb
  • Business\SAIF.Business.Policy.Agency\clsAgencyContract.vb
  • Business\SAIF.Business.Policy.Agency\clsAgencyOffice.vb
  • Business\SAIF.Business.Policy.Agency\clsProducer.vb