hi tteoh
Can you send us a project that can reproduce the problem? Email address: <a href="mailto:[email protected]">[email protected]</a>
EventBus is a dictionary of one or more corresponding processing method factories for an event type.
Call a handler when the event is fired. That's it. So there are no retry, delay, etc.
You can look at the code [https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp/Events/Bus/EventBus.cs#L40])
[https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.Web.SignalR/Web/SignalR/Hubs/AbpHubBase.cs])
[https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.AspNetCore.SignalR/AspNetCore/SignalR/Hubs/AbpHubBase.cs])
You can see it in ABP's source code for Signalr, and don't do anything particularly complicated code wrapping.
When you are dependent on AbpAspNetCoreSignalRModule and AbpWebSignalRModule, the last dependent module will replace the previous dependency injection, which may cause problems with the dependency.
Solution: You can paste the AbpWebSignalRModule related source code into your project. As a transition, simply modify the source code to use the class directly instead of relying on the interface.
This is not recommended. If you can migrate SignalR to SignalR Core, it's best.
:o :lol:
If you can reproduce this problem, please send me a copy of the project to see the screenshot is not very intuitive.
Email:[email protected]
You can execute:
dotnet restore
, and then try again?
Please check if the currently accessed user is granted permission.
You can get all the information of the dynamic API in the AbpAspNetCoreConfiguration property of IAbpAspNetCoreConfiguration. [https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.AspNetCore/AspNetCore/Configuration/AbpAspNetCoreConfiguration.cs#L21])
ABP also generates dynamic APIs from this information, just doing this will be more complicated. If you don't easily change the moduleName of the dynamic API, etc. Hard coding is the easiest.
I don't know your specific situation, maybe there are other ways to fulfill your needs.