API changes in Sitefinity CMS 10.0
NOTE: Sitefinity Digital Experience Cloud (DEC) was renamed to Sitefinity Insight as a part of the Sitefinity 13.0 release. However, Sitefinity CMS and its documentation prior to version 13.0 continue using the former name - Digital Experience Cloud.
Cache profile settings
- Vary by User agent default value is now
false
. This means no specific cache for mobile device users - they may be served a desktop version of the content. The setting is still available for modification.
- Option Wait for page OutputCache to fill is now in Settings » Advanced » System » Output Cache Settings
Module Builder
DynamicModuleDataProvider
– methods GetChildItems
have a required parameter childType
DynamicModuleManager
– methods GetChildItems
have a required parameter childType
Authentication
Removed classes
SitefinitySessionAuthenticationModule
SitefinityCookieTransform
SitefinitySessionTokenHandler
RolesInitializedArgs
RolesInitializingArgs
UserIdentity
WindowsIdentity
ClaimsIdentityProxy
ClaimsPrincipalProxy
SecurityTokenServiceHttpHandler
SFFederationAuthenticationModule
SessionCookieHandler
Removed methods
SecurityManager.GetCurrentUser
– It was obsolete
CustomIssuerNameRegistry
- constructor - CustomIssuerNameRegistry(XmlNodeList customConfiguration)
SFClaimsAuthenticationManager.Authenticate
Removed properties, fields, etc.
WcfMembershipUser.UserName
SecurityManager.ObsoleteSitefinityPrincipal
SecurityManager.PrincipalContextKey
LoginWidget.ServiceUrl
Changed classes
SitefinityClaimsAuthenticationModule
– Major changes
SitefinityPrincipal
– Major changes
SitefinityIdentity
– Major changes
ClaimsManager
– Major changes
Changed methods
SecurityManager.GetPasswordRecoveryUser
– now returns SitefinityIdentity
, since ClaimsIdentityProxy
is removed
- ClaimsManager.GetCurrentIdentity - now returns SitefinityIdentity, since ClaimsIdentityProxy is removed
SecurityManager.GetUser(System.Guid, out System.String&)
– now requires a transactionName
. If you do not use transaction – set it to null
LdapMembershipProvider.CreateUser
– no longer accepts username
as first parameter
WcfMembershipUser
– constructor now accepts externalProviderId
as parameter
RequestBackendAuthenticationFilterAttribute
– constructor now accepts optional parameter needAdminRights
IsAccessibleArgs
– constructor now accepts parameter isAccessible
, that is used to set the IsAccessible
property
UserProfileDetailWriteView
- ShowErrorLabelMessage
renamed to ShowErrorLabelMessages
and accepting IEnumerable<string>
messages
Other changes:
Microsoft.IdentityModel
is now replaced with System.IdentityModel
and System.Security
SVG Images Format Support
Introduced new property ReadOnlyReplacement
in ITextFieldDefinition
interface.
DEC Connector
Deprecated classes and interfaces
Handlers:
public abstract class SentencesTrackingHandlerBase<T>
public abstract class SubjectMetadataTrackingHandlerBase<T>
public abstract class MappingsTrackingHandlerBase<T>
Managers
public interface ISentenceManager
public interface ISubjectMappingManager
public interface ISubjectMetadataManager
A new manager is now combining the functionality of all of them:
public interface IInteractionManager
Changes in inheritance
All classes which were inheriting
public abstract class SentencesTrackingHandlerBase<T>
public abstract class SubjectMetadataTrackingHandlerBase<T>
public abstract class MappingsTrackingHandlerBase<T>
And were implementing respective methods
public abstract List<Sentence> ComposeSentences(T @event);
public abstract List<Mapping> ComposeMappings(T @event);
public abstract List<SubjectMetadata> ComposeSubjectMetadata(T @event);
Now they are inheriting from:
public abstract class InteractionsTrackingHandlerBase<T>
and implementing:
public abstract List<Interaction> ComposeInteractions(T @event)
Changes in public classes and interfaces
public interface IDataIntelligenceClientsFacade
Removed methods
Task SendSentence(string source, Sentence sentence);
Task SendSentences(string source, List<Sentence> sentences);
Task SendMapping(string source, SubjectMapping subjectMapping);
Task SendMappings(string source, List<SubjectMapping> subjectMappings);
Task SendSubjectMetadata(string source, SubjectMetadata subjectMetadata);
Task SendSubjectMetadata(string source, List<SubjectMetadata> subjectMetadata);
New methods
Task SendInteraction(string source, Interaction interaction);
Task SendInteractions(string source, List<Interaction> interactions);