Get Started Ingeniux DSS Library

Getting Started with the Ingeniux Dynamic Site Server API

The CMSPageFactory Class

The ICMSPageFactory class is the entry point to the Ingeniux Dynamic Site Server API. This class is used to retrieve pages for runtime, preview, and in-context editing.

ICMSPageFactory is the first object to create when using the Ingeniux Dynamic Site Server API.

It's easy to create a ICMSPageFactory. Just call its constructor and pass in the path of the published content folder. This can be a UNC path as long as the DSS site's Application Pool identity can access the path.

C#
            ...
//Create page factory
bool dtAuthenticated = false;

ICMSPageFactory pageFactory = CMSPageFactoryHelper.GetPageFactory(false, "d:\igxsites\rspdemolive", requestContext, true, out dtAuthenticated) as CMSPageFactory;


//Configure page factory site controls caching
pageFactory.CacheSiteControls = true;
pageFactory.SiteControlSchemas = new string[] {"SiteControl", "SectionControl"};
See Also

Reference