CodeCarvings Piczard V1.2 Help
Example Config File (Non-Web Project)
See Also Send Feedback
.Config File Settings > Example Config File (Non-Web Project)

Glossary Item Box

Here is an example .NET Config file with the necessary definitions to fully utilize the Piczard Core functions: 

.NET Configuration Copy Code
<?xml version="1.0"?>
<
configuration>
 
<configSections>
   
<sectionGroup name="codeCarvings.piczard">
     
<section name="coreSettings" type="CodeCarvings.Piczard.Configuration.CoreSettingsSectionHandler, CodeCarvings.Piczard" requirePermission="false"/>
   
</sectionGroup>
 
</configSections>
 
<codeCarvings.piczard>
   
<coreSettings>
     
<drawing maxImageSize="5000, 5000" />
     
<imageArchiver defaultJpegQuality="92" defaultQuantizeGifImages="true" />
     
<security defaultEncryptionKey="Place here your random key (alphanumeric / 10..20 chars)" />
     
<plugins>
       
<!-- Register here your Piczard Plugins. -->
     
</plugins>
   
</coreSettings>
 
</codeCarvings.piczard>
</
configuration>

Please see also:

 

 

Configuration - Point 1

Setup the configSections to manage "codeCarvings.piczard" tag Copy Code
<configSections>
 
<sectionGroup name="codeCarvings.piczard">
   
<section name="coreSettings" type="CodeCarvings.Piczard.Configuration.CoreSettingsSectionHandler, CodeCarvings.Piczard" requirePermission="false"/>
 
</sectionGroup>
</
configSections>

This part of configuration is mandatory.
It is necessary to allow the .NET application to manage the successive codeCarvings.piczard /coreSettings tag within the Config file (see "Configuration – Point 2").

 

 

Configuration - Point 2

Configuration example Copy Code
<codeCarvings.piczard>
 
<coreSettings>
   
...
 
</coreSettings>
</
codeCarvings.piczard>

This part of the configuration file contains the Piczard settings.
Please see:

 

 

See Also

©2013 Sergio Turolla. All Rights Reserved.