Updating namespaces
About this task
Note: You only need to perform this step if you intend to migrate from the old 5.3 ASP.NET API to the new ASP.NET API introduced in SDL Tridion 2009.
The following list provides a summary of the namespace changes:
Procedure
- In all of your code, search and replace
Tridion.ContentDelivery.BrokerwithTridion.ContentDelivery.Meta, except in the following cases:Queryclass has moved to theTridion.ContentDelivery.DynamicContent.FiltersnamespaceSearchFilterclass has moved to theTridion.ContentDelivery.DynamicContent.FiltersnamespaceComponentPresentationclass has moved to theTridion.ContentDelivery.DynamicContentnamespaceComInteroperabilityclass (defunct)
- In all of your code, search and replace
Tridion.ContentDelivery.WAIwithTridion.ContentDelivery.Web.WAI, except for the following cases:ComponentPresentationAssemblerclass has moved to theTridion.ContentDelivery.DynamicContentnamespaceDynamicComponentLinkclass has moved to theTridion.ContentDelivery.Web.LinkingnamespaceLinkclass moved to theTridion.ContentDelivery.Web.Linkingnamespace
- In all of your code, search and replace
Tridion.ContentDelivery.LinkingwithTridion.ContentDelivery.Web.Linking. Note also that the methods in this API that used to return objects of typeILinknow return objects of typeLink.ILinkinterface (defunct)
Note: The method signature of the linking classes has been altered. - In all of your code, search and replace
Tridion.ContentDelivery.WebControlswithTridion.ContentDelivery.Web.UI. - The method signature of the factory classes has been altered:
Tridion.ContentDelivery.Meta.BinaryMetaFactoryTridion.ContentDelivery.DynamicContent.ComponentPresentationFactoryTridion.ContentDelivery.Meta.PageMetaFactory
New factory class methods Description GetTaxonomyComponentPresentationsRetrieves all Component Presentations for the specified taxonomy Keyword GetTaxonomyKeywordsRetrieves the taxonomy Keywords for a specific Component Presentation and applies a taxonomy filter to retrieve more related Keywords