Cofoundry is an extensible and flexible .NET Core CMS & application framework focusing on code first development
CustomEntityDetails.FullPath
is now CustomEntityDetails.FullUrlPath
IPageRoute.FullPath
is now IPageRoute.FullUrlPath
PageRoute.FullPath
is now PageRoute.FullUrlPath
CustomEntityPage.FullPath
is now CustomEntityPage.FullUrlPath
PageSummary.FullPath
is now PageSummary.FullUrlPath
CurrentUserViewHelperContext.IsLoggedIn
is now CurrentUserViewHelperContext.IsSignedIn
GetUserLoginInfoIfAuthenticatedQuery
now returns UserLoginInfoAuthenticationResult
instead of UserLoginInfo
directly and now includes checks for max login attempt validation.GetRoleByIdQuery
now return null if an id is specified but no role is found. The original behavior returned the anonymous role, which was unintentional; specifying null as the Id however still returns the anonymous role as intended.GetEntityDependencySummaryByRelatedEntity
is now GetEntityDependencySummaryByRelatedEntityId
(naming consistency)IsEmailUniqueQuery
is now IsUserEmailAddressUniqueQuery
GetUserLoginInfoIfAuthenticatedQuery
is now AuthenticateUserCredentialsQuery
GetUpdateCommandQuery
is now GetPatchableCommandQuery
GetUpdateCommandByIdQuery
is now GetPatchableCommandByIdQuery
AddCofoundryUserCommand
has been removed and replaced with the more generic AddUserWithTemporaryPassword
.UpdatePageDirectoryCommand
replaced with dedicated UpdatePageUrlCommand
CompleteUserPasswordResetCommand
is now CompleteUserPasswordResetRequestCommand
InitiatePasswordResetRequestCommand
is now InitiateUserPasswordResetRequestCommand
CompleteUserAccountRecoveryByEmailCommand.SendNotification
has been removed and replaced with a config setting Cofoundry:Users:Password:SendNotificationOnUpdate
UpdateUnauthenticatedUserPasswordCommand
is now UpdateUserPasswordByCredentialsCommand
UpdateCurrentUserAccountCommand
is now UpdateCurrentUserCommand
IAdvancedContentreporsitory.Users().AddUserCommandAsync
is now IAdvancedContentreporsitory.Users().AddUserWithTemporaryPasswordAsync
ContentRepository.Users().AddUserWithTemporaryPasswordAsync()
is now ContentRepository.Users().AddWithTemporaryPasswordAsync()
ContentRepository.Users().UpdateUserAsync()
is now ContentRepository.Users().UpdateAsync()
ContentRepository.Users().DeleteUserAsync()
is now ContentRepository.Users().DeleteAsync()
IAdvancedRepository.Users().IsEmailUniqueAsync
is now IAdvancedRepository.Users().IsEmailAddressUniqueAsync
IContentRepository.CustomEntities().GetByDefinitionCode(string).AsRenderSummary()
is now AsRenderSummaries()
IAuthConfiguration
has been updated to make it easier to override specific parts of the configuration. See the class for more details.CofoundryAuthenticationConstants.FormatAuthenticationScheme
is now AuthenticationSchemes.UserArea
IUserAreaDefinition.IsDefaultAuthSchema
is now IUserAreaDefinition.IsDefaultAuthScheme
(typo)AuthenticationFailedException
has been removed as it is unused. If an action is not permitted use NotPermittedException
instead.IUserAreaDefinitionRepository.GetByCode
renamed IUserAreaDefinitionRepository.GetRequiredByCode
to be consistent with other definition repositoriesHtml.Raw()
ISecurityTokenGenerationService
removed.ILoggedInPermissionCheckHandler
is now ISignedInPermissionCheckHandler
ICofoundryMailTemplateHelper
has been moved to namespace Cofoundry.Domain.MailTemplates
Cofoundry:Authentication:NumHoursPasswordResetLinkValid
is now set via Cofoundry:Users:AccountRecovery:ExpireAfter
Cofoundry:Authentication:MaxsernameAttemptsBoundaryInMinutes
is now set via Cofoundry:Users:Authentication:UsernameRateLimit:Window
Cofoundry:Authentication:MaxUsernameAttempts
is now set via Cofoundry:Users:Authentication:UsernameRateLimit:Quantity
Cofoundry:Authentication:MaxIPAttemptsBoundaryInMinutes
is now set via Cofoundry:Users:Authentication:IPAddressRateLimit:Window
Cofoundry:Authentication:MaxIPAttempts
is now set via Cofoundry:Users:Authentication:IPAddressRateLimit:Quantity
Cofoundry:Authentication:CookieNamespace
is now set via Cofoundry:Users:Cookie:Namespace
IAsyncCommandHandler
: Use ICommandHandler
insteadIAsyncQueryHandler
: Use IQueryHandler
insteadDbModelBuilderExtensions.UseDefaultConfig
: Replaced with HasAppSchema()
because no other configuration takes place hereImageScaleMode.UpscaleOnly
: Not used/implementedICustomEntityRepository
: Use the new IContentRepository
instead.IDocumentAssetRepository
: Use the new IContentRepository
instead.IImageAssetRepository
: Use the new IContentRepository
instead.IPageBlockTypeRepository
: Use the new IContentRepository
instead.IPageDirectoryRepository
: Use the new IContentRepository
instead.IPageRepository
: Use the new IContentRepository
instead.IRoleRepository
: Use the new IContentRepository
instead.IUserRepository
: Use the new IContentRepository
instead.