For the Publish Service the following keys are relevant in the appSettings-Section:
| Key |
Description |
Sample Value |
| DBCONNSTRINGPROD |
Connection String to the Live-database |
SERVER=(local); DATABASE=AxCMS_Live_Sample; UID=AxinomCMS; PWD=topsecret |
| LiveSystemHostName |
root URL of the LIVE Web Server |
http://localhost |
| LiveSystemVirtualPath |
virtual directory of the LIVE Web Server |
/AxCMSwebLive_Sample |
| cmsExtension |
Extension of the CMS-pages. Has to be the same the HttpHandler is registered for and entered into the IIS. |
.Sample |
| PublishDir |
Clipboard, pages are generated in before publication. |
C:\Projects\AxCMS_PremiumSample\AxCMSwebLive_PremiumSample\publish |
| PublishDirectory |
Path to PublishDir through IIS virtual Directory
|
/publish |
When publishing the PublishService for publication of the Management System you need this section:
<PublishService>
<DBCONNSTRINGPROD>
SERVER=myServer;DATABASE=AxCMS_Live_Sample;UID=AxinomCMS;PWD=AxinomCMS1
</DBCONNSTRINGPROD>
<LiveSystemRootDir>
C:\Projects\AxCMS_Example\AxCMSwebLive_Sample
</LiveSystemRootDir>
<Extension>.Sample</Extension>
<CMSApplicationVirtualPath>/AxCMSweb_Sample</CMSApplicationVirtualPath>
<LiveSystemVirtualPath>/AxCMSwebLive_Sample</LiveSystemVirtualPath>
<DocumentsDir>C:\Projects\AxCMS_Sample\AxCMSwebLive_Sample\upload</DocumentsDir>
<PublishDir>C:\Projects\AxCMS_Sample\AxCMSwebLive_Sample\publish</PublishDir>
</PublishService>
When using the SecureWebService you need this section in addition, where you can define which user can access your services.
<PasswordProvider>
<add key="Publisher" value="CmsHelpPublisher1"/>
<add key="Administrator" value="CmsHelpAdministrator1"/>
</PasswordProvider>