Glossary Item Box
To use ASP.NET application services with the CMS system you have to set up providers.
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>
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&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.
| See Also |
SiteConfiguration: Site configuration | Aliases configuration
© 2005-2007 Astron Digital Ltd. All Rights Reserved.