Skip Navigation

Home > Support > Developers > Embedded Applications > Creating an Embedded Application

Creating an Embedded Application

For programmers familiar with the Visual Studio environment and web programming, writing an embedded application is easy! Embedded application controls are just like standard user controls, with a few minor changes, and Embedded application pages are just like standard asp.net pages with a few extra properties.

When writing a control or a page for QuantumCMS a developer is essentially writing a standard control or page. However, instead of the controls inheriting from [System.Web.UI.UserControl], they inherit from [QCMS.AlgonquinStudios.Controls.EmbeddedApplicationBase]. Quantum Embedded Application pages do not inherit from [System.Web.UI.Page], but instead inherit from [QCMS.AlgonquinStudios.PageBase].

Special properties of Embedded ApplicationsWhen inheriting from either of the embedded application bases, your control will get all of the properties available to applications of the default classes. Additionally, each control or page will get a set of additional properties and functions from QuantumCMS. They are:

.PageXML
This property contains the XML of the page that is being rendered. This can be parsed with the [System.XML.XMLDocument] object to get information about the page.

.ConfigurationXML
This property contains the XML that a user configures he/she registers an application on a page. This will vary from page to page where the application is registered and can be parsed with the [System.XML.XMLDocument] object to get information to configure the application.

.XML
This property sets a block of XML back into the PageXML, allowing information from your application to be styled by the XSLT stylesheet of a page.