ASP.NET namespace changes

In SDL Tridion 2009 you can generate ASP.NET code that targets different Content Delivery architectures each delivering different ASP.NET APIs. This section provides an overview of the ASP.NET namespaces supported in SDL Tridion 2009 and SDL Tridion 5.3 and the changes and differences between these architectures.

  • ASP.NET 5.3 namespaces—describes the namespaces available when generating code using SDL Tridion 5.3 architecture
  • ASP.NET 2009 namespaces—describes the namespaces available when generating code using SDL Tridion 2009 architecture
  • Delta between ASP.NET 5.3 and ASP.NET 2009 APIs—describes the differences between the ASP.NET APIs

ASP.NET 5.3 namespaces

The following Content Delivery namespaces are available in SDL Tridion R5.3:

  • Tridion.ContentDelivery.Broker
  • Tridion.ContentDelivery.WAI
  • Tridion.ContentDelivery.WebControls
  • Tridion.ContentDelivery.Linking

These namespaces are still available in SDL Tridion 2009 (you can still program against the SDL Tridion 5.3 API for ASP.NET), but support is deprecated and may be dropped in a future version. However, these namespaces do not provide SDL Tridion 2009 functionality for taxonomies and querying. For more information on ASP.NET code generation in SDL Tridion 2009, see ASP.NET architecture changes and ASP.NET code generation.

ASP.NET 2009 namespaces

The following Content Delivery namespaces are available in SDL Tridion 2009:

  • Tridion.ContentDelivery.Taxonomies—new library that supports the retrieval, display, and filtering of taxonomies and taxonomic relations
  • Tridion.ContentDelivery.DynamicContent.Query—new library that contains functionality to query for content in the broker storage
  • Tridion.ContentDelivery.DynamicContent—contains classes which expose Dynamic Content Broker functionality
  • Tridion.ContentDelivery.DynamicContent.Filters—contains the legacy SDL Tridion 5.3 API for filtering content in the broker storage
  • Tridion.ContentDelivery.Web.WAI—expose Personalization and Profiling, and Dynamic Content Assembly functionality
  • Tridion.ContentDelivery.Web.UI—classes that enable the use of server controls in ASP.NET implementations
  • Tridion.ContentDelivery.Taxonomies—contains classes to retrieve taxonomies and taxonomic content relations
  • Tridion.ContentDelivery.Web.Linking—contains classes which expose Dynamic Linking functionality
  • Tridion.ContentDelivery.Meta—contains functionality to retrieve meta information for items in the broker storage

Delta between ASP.NET 5.3 and ASP.NET 2009 APIs

The following list provides a summary of the namespace changes between these 5.3 and 2009 APIs:

  • SDL Tridion 2009 adds a taxonomy-specific control: Tridion.ContentDelivery.Web.UI.TaxonomyControl
  • The classes available in the following namespaces have been introduced in SDL Tridion 2009 for taxonomy support:
    • Tridion.ContentDelivery.DynamicContent.Query
    • Tridion.ContentDelivery.Taxonomies
  • The classes available in the Tridion.ContentDelivery.Broker namespace in 5.3 have been split into the following namespaces in SDL Tridion 2009:
    • Tridion.ContentDelivery.DynamicContent
    • Tridion.ContentDelivery.DynamicContent.Filters
    • Tridion.ContentDelivery.Meta
  • The Tridion.ContentDelivery.WAI namespace in 5.3 has been renamed Tridion.ContentDelivery.Web.WAI in SDL Tridion 2009. The following classes have been moved from the .WAI namespace:
    • ComponentPresentationAssembler to Tridion.ContentDelivery.DynamicContent
    • DynamicComponentLink to Tridion.ContentDelivery.Web.Linking
    • Link to Tridion.ContentDelivery.Web.Linking
  • The Tridion.ContentDelivery.Linking namespace in 5.3 has been renamed Tridion.ContentDelivery.Web.Linking in SDL Tridion 2009.
  • The Tridion.ContentDelivery.WebControls namespace in 5.3 has been renamed Tridion.ContentDelivery.Web.UI in SDL Tridion 2009.