hi what's the best practice if I want to update the entity by adding or removing it's properties or adding navigations after I created the CRUD page with the CRUD page generator? I know that I can modify the DTO and then generate a new db migration, but is there a better way or is there a doc for this?
Does it have an event mechanism? For example, when a user confirms their email through email confirmation, and the system changes the user's email confirmed status from False to True, I want to add a feature that sends a welcome message to the user or changes the user's role after the email is confirmed.
I want to use the event like this:
public class EmailConfirmedEventHandler : ILocalEventHandler<EmailConfirmedEvent>, ITransientDependency
{
public Task HandleEventAsync(EmailConfirmedEvent eventData)
{
// Code to send a welcome message or change user role
SendWelcomeMessage(eventData.UserId);
ChangeUserRole(eventData.UserId);
return Task.CompletedTask;
}
private void SendWelcomeMessage(Guid userId)
{
// Implementation of sending a welcome message
}
private void ChangeUserRole(Guid userId)
{
// Implementation of changing user role
}
}
public override void ConfigureServices(ServiceConfigurationContext context)
{
context.Services.AddTransient<ILocalEventHandler<EmailConfirmedEvent>, EmailConfirmedEventHandler>();
}
when the user confirms their email, the system will use the event mechanism to send a welcome message or change the user's role,
But I am not sure if abp has EmailConfirmedEvent so that I can use like this or does it have a similar mechanism?
Thanks
What's the client_secret for the swagger ui? by the default the appsettings doesn't have a client_secret for it? I checked the openiddict/applications page, it is a public client but it doesn't work if I leave it blank
I am trying to run the react native app on my iphone and android simulator, both are failed with there errors ERROR TypeError: _ReanimatedModule.default.createNode is not a function (it is undefined), js engine: hermes ERROR Invariant Violation: "main" has not been registered. This can happen if:
AppRegistry.registerComponent
wasn't called., js engine: hermesare you still maintaining the react native app?
We are trying to deploy the AuthServer to an Azure App Service, but we can't make it work. Is there a document that we can use?