Creating physical pages

You can easily create physical .aspx pages as part of a ReFlex CMS website. This is particularly useful for forms and other functionality that requires coding such as contact us forms, shopping cart checkouts etc.

Impel Systems has used ReFlex CMS to create some extremely complex websites incorporating my account areas, complex online entry forms, event listing and ticket purchasing functions, and comprehensive CRM and site management features. We know from experience how competitors products stand in the way of leveraging the power of the .NET framework, and it was our primary goal when creating ReFlex CMS to solve this problem.

Create the page

Create the page(s) as follows:

  1. Through Visual Studio, add the new .aspx page to the desired location, and if desired choose from the MasterPage templates you have created in the templates folder
  2. In the code behind change the base class of the page to the ReFlex.Web.UI.Page class, this will ensure that ReFlex CMS content controls will function
  3. If the page name is a default page as defined through IIS (e.g. default.aspx or index.aspx), create a location tag with a path in the Web.Config file with an appSettings section, and set the UrlRewriterIsDefaultPageVirtual to false (and optionally define the UrlRewriterDefaultPageFile if it differs from the setting defined for the site root
  4. If using a MasterPage, ensure that it has an instance of the ReFlex Console defined just before the closing form tag, or if not using a MasterPage, add one before the closing form tag in your physical page

You now have a fully functioning .aspx page that can include ReFlex CMS content controls, and you can develop with your own functionality as required.