Intersoft WebGrid Documentation
Application Wide Configurations
See Also Send comments on this topic.
Intersoft WebGrid > Getting Started > Deployment > Application Wide Configurations

Glossary Item Box

One of the unique features introduced since the initial products is the ability to configure specific deployment-related properties via web.config. WebUI.NET Framework further enhanced this capability by adding more properties which are configurable through web.config. Now, it also supports relative application path by using ~ character. The application-wide configurations feature allows centralized configuration for common deployment properties such as ScriptDirectory etc, which dramatically increase effectiveness and efficiency particularly for maintenance purpose.

Following is the list of properties that are configurable through web.config:

The settings specified in web.config will only be applied to instances' properties that have Default value (unchanged).
The format of the key used for the configuration is AssemblyFullName.vProductVersion.Properties.

Examples:

The sample configuration in web.config below will change the property value of ScriptDirectory, ImagesDirectory, SharedScriptDirectory and LocalizationDirectory to all WebGrid V6.0.7200 instances in the application.

<configuration>

      <appSettings>

               <add key="ISNet.WebUI.WebGrid.v7_0_7200.ScriptDirectory" value="~/CommonLibrary/WebGrid/V7_0_7200/" />

               <add key="ISNet.WebUI.WebGrid.v7_0_7200.ImagesDirectory" value="~/CommonLibrary/Images/" />

               <add key="ISNet.WebUI.WebGrid.v7_0_7200.SharedScriptDirectory" value="/CommonLibrary/Shared/" />

               <add key="ISNet.WebUI.WebGrid.v7_0_7200.LocalizationDirectory" value="/CommonLibrary/WebGrid/V7_0_7200/Localization/" />

               <add key="ISNet.WebUI.WebGrid.v7_0_7200.CacheServerConnection" value="path=C:\Cache" />

      </appSettings>

      ... other settings

</configuration>

 

Additional application-wide configurations may be available specifically per product. Please refer to the Application-wide Configurations topic in the product's help file.

See Also

©2012 Intersoft Solutions Corp. All Rights Reserved.