Thank you @demirmusa, the problem is solved.
Thank you. Just one clarification: -> Your tenant db and host db is different.
No, host and tenant are on the same database.
Yes, exactly.
Multi tenant.
I'm trying to debug the source code but I'm not able to set correctly VS based on this documentation https://aspnetboilerplate.com/Pages/Documents/Debugging. No pdbs are founded :'Abp.AspNetZeroCore.dll'. Cannot find or open the PDB file.' But this is another issue.
Hi @demirmusa
I'm sorry by I think that the expected behaviour is to obtain the Tenant value (smtp.my.domain) and not the Host value (127.0.0.1).
The Tenant's value is correctly written on database.
Thank you @maliming for the quick response.
Thank you @demirmusa I think that now I have a complete picture of the behaviour.
In ChatMessageManager, Save and GetUnreadMessageCount have the UnitOfWork attribute, while FindMessageAsync hasn't. Why ?
Anyway, reading with more attention, your link gave me some response to my questions.
Thank you
Hi @ismcagdas, Yes, you're right. I think I've found a solution based on your comment. In the main code I've defined an attribute class the is applied on my signalr module. In startup class, through reflection, I can discover all classes with that attribute and register in the signalr routes.
It works and I think it could be part of aspnet zero without much effort. :-)
Thank you
I think I've found the solution.
app.UseCrystalQuartz(() => StdSchedulerFactory.GetDefaultScheduler().Result);
Thansk to all for support