Hi,
I think you better manually write code instead of using suite for this case
Hi,
Is there any impact on the UOW scope? All along I've not inherited MyApplicationAppService and I realized that for my DB transactions to complete, I keep needing to add Does that relate to inheriting MyApplicationAppService?
yes, there is no Interceptor(uow, audit) any more.
It's an autocomplete input, try type something.
Do you know why is it? how to display as a dropdown instead of auto completion
Unfortunately, there is no way yet
We tried generating a new Maui Blazor (Hybrid) app both with the latest ABP Studio for .Net 9 and an earlier one that generated .Net 8 projects, but encountered a number of issues ranging from the earlier Login Issue to a failure to Deploy/Run when targeting a "Windows Machine" rather than Android in Visual Studio e.g.
it's actually a problem of MAUI, not ABP. this error often occurs in MAUi, sometimes it can't run through IDE but Dotnet CLI. (-.-)
When you encounter such an error, you can try cleaning the solution.
As that workaround gets around the issue of no connectivity at startup, does that leave the ABP Maui app missing configuration/data? and would we have to make a server side call later to resolve that (if possible?) or does the ABP framework handle that itself once connectivity is restored?
You need to call API to get data manually.
Inject MauiBlazorCachedApplicationConfigurationClient
and AbpComponentsClaimsCache
then call InitializeAsync
method.
Hi,
After my check ,this is the limitation of the suite. you need to do this manually.
Try to use OAUTH for external authentication The user account {EUII Hidden} does not exist in the ■■■■■■■■■■ directory. To sign into this application, the account must be added to the directory. Trace ID: e5a8e6d6-f5f1-42d6-8b3a-63f0e85e6c00 Correlation ID: 28167e00-042a-4561-bf7c-cbcad01ae10e
This is because you configured the OAUTH for external authentication, if you don't want to use it, you can turn it off https://abp.io/docs/latest/modules/identity/oauth-login
Or
Move MessagingHub
to Application
project.
public class MessageHandlingService : AbpSolution7AppService, IMessageHandlingService
{
private readonly IHubContext<MessagingHub> _messagingHub;
public MessageHandlingService(IHubContext<MessagingHub> messagingHub)
{
_messagingHub = messagingHub;
}
public virtual async Task HandleMessage(string connectionId, string message)
{
Console.WriteLine(connectionId);
Console.WriteLine(message);
await _messagingHub.Clients.Client(connectionId).SendAsync("ReceiveMessage", message);
}
}
Hi,
yes, the Interceptor can't handle this.
you can try:
public class MessageHandlingService : IMessageHandlingService, ITransientDependency
{
public virtual async Task HandleMessage(string connectionId, string message, Func<string, string, Task> sendMessageCallback)
{
Console.WriteLine(connectionId);
Console.WriteLine(message);
await sendMessageCallback(connectionId, message);
}
public virtual Task HandleMessage(string connectionId, string message)
{
Console.WriteLine(connectionId);
Console.WriteLine(message);
return Task.CompletedTask;
}
}
Hi,
could you please share a test project with me? i will check it . my email is shiwei.liang@volosoft.com