Documentation Center

Configuring UGC in the .NET Web application definition

Edit the .NET Web application definition file, Web.config, to enable UGC.

Procedure

  1. In your .NET Web application root folder, open Web.config for editing.
  2. Using bin\config\Web.config as a source, copy over the following fragments into your Web.config:
    A reference to the UGC server controls:
    <add tagPrefix="tridion" namespace="Tridion.ContentDelivery.Web.UI" assembly="Tridion.ContentDelivery"/>
    <add tagPrefix="ugc" namespace="Tridion.ContentDelivery.UGC.Web.UI" assembly="Tridion.ContentDelivery.UGC"/>
    The Ambient Data Framework HTTP module:
    <add name="Tridion.ContentDelivery.AmbientData.HttpModule" type="Tridion.ContentDelivery.AmbientData.HttpModule"/>
  3. Ensure that client-side caching is configured. If you are modifying a Web.config file that was installed as part of the API (RESTful) Role setup, you will already have configured caching.
  4. Save and close Web.config.