Glossary Item Box

SiteConfiguration: Site configurationAliases configuration

See Also CmsDeveloperGuide Send comments on this topic.

Provider configuration

To use ASP.NET application services with the CMS system you have to set up providers.

Site map provider

You can add CmsSiteMapProvider to define configuration settings to support the navigation infrastructure for configuring, storing, and rendering site navigation.

<siteMap>
   <providers>
        <add name="CmsSiteMapProvider" type="CMSLib.Menu.CmsSiteMapProvider"/>
    </providers>
</siteMap>

 

Membership and profile providers

For work of CMS authentication and mailing module you have to set up membership and profile providers in your site web.config file:

<membership defaultProvider="CmsMembershipProvider">
   <providers>
      <add name="CmsMembershipProvider" type="CMSLib.Providers.CmsMembershipProvider" connectionStringName="LocalSqlService"  passwordFormat="Clear" />
   </providers>
</membership>

<profile defaultProvider="CmsProfileProvider" inherits="CMSLib.Providers.CmsUserProfile">
   <providers>
      <add name="CmsProfileProvider" type="CMSLib.Providers.CmsProfileProvider" connectionStringName="LocalSqlService"/>
   </providers>
</profile>

 

It is also necessary to set loginUrl attribute of authentication element as it is shown below:

<authentication mode="Forms">
    <forms loginUrl="~/?type=authorization&amp;key=login" slidingExpiration="true"  protection="All" timeout="43200" path="/" />
</authentication>

 

Password size, password question input necessity and other authentication parameters are tuned through the CMS administrative interface. 

SiteConfiguration: Site configurationAliases configuration

 

 


© 2005-2007 Astron Digital Ltd. All Rights Reserved.