Hi,
You can try to access the /api/abp/api-definitionapi-definition endpoint of the service instead of the gateway
Hi,
Module name: app is invalid
You need to specify the service(module) name. you can find it in the /api/abp/api-definitionapi-definition endpoint.
No project file found in the directory. The working directory must have a Web project file
You need to run the command in the web project directory of the service
Hi,
The report application can be used as an API service.
You can check this: https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice#authserver-configuration
Hi,
You can check this: https://github.com/abpframework/abp/issues/16201
Hi,
You need to manually generate the proxy using ClI: https://docs.abp.io/en/abp/latest/CLI#generate-proxy
Hi,
You can try this:
.razor file
<EntityChangeHistoryModal @ref="EntityChangeHistoryModal"/>
.razor.cs file
protected EntityChangeHistoryModal EntityChangeHistoryModal;
public async Task OpenEntityChangeHistoryModal(Guid id)
{
await EntityChangeHistoryModal.OpenAsync(EntityTypeFullName, id.ToString())
}
Hi,
I don't quite understand what you mean. can you explain it in detail?
public class TestAppService : MyProjectNameAppService
{
private readonly IBackgroundJobManager _backgroundJobManager;
public TestAppService(IBackgroundJobManager backgroundJobManager)
{
_backgroundJobManager = backgroundJobManager;
}
public async Task SendDelayEmail()
{
await _backgroundJobManager.EnqueueAsync<EmailNotificationArgs>(
new EmailNotificationArgs { Email = "test", Subject = "test", Body = "test" },
delay: TimeSpan.FromMinutes(3));
}
}
public class EmailNotificationArgs
{
public string Email { get; set; }
public string Subject { get; set; }
public string Body { get; set; }
}
public class PartyCompleteEmailJob : AsyncBackgroundJob<EmailNotificationArgs>, ITransientDependency
{
public override Task ExecuteAsync(EmailNotificationArgs args)
{
Logger.LogInformation("------------- Sending email to " + args.Email + " with subject " + args.Subject + " and body " +
args.Body + "");
return Task.CompletedTask;
}
}
Hi,
Can you share the package.json file content?