Hi @kylem,
If you have the latest version of Visual Studio please try to upgrade the ABP packages of your project.
Hi @litojuliano,
I reproduced the problem. We will fix this in the next version.
Here is the issue link https://github.com/aspnetzero/aspnet-zero-core/issues/5437
Hi @Astech,
You can mock your DocumentHub
for unit testing.
_documentHub = Substitute.For<IHubContext<DocumentHub>>();
Hi @kylem,
Could you upgrade your Visual Studio version to the latest?
If this does not solve your problem, can you share your project with us? [email protected]
Hi @aiqbal,
First of all, your backend project and your Angular project must be located in the same domain. For example, if your Angular project is located in https://localhost:44300. Then your backend project *.Host must be located in https://localhost:44300/api.
Does your project comply with the rules mentioned above?
Hi @litojuliano,
Could you share the screenshot of the error? Does the error appear in the browser console?
Hi @Astech,
You can add dependency with following interface.
using Microsoft.AspNetCore.SignalR;
namespace Congresso.Documents
{
public class DocumentHub : Hub, ITransientDependency
{
}
}
Hi @hongbing.wang,
An error may have occurred in the implementation here. We will fix this in the next version
https://github.com/aspnetzero/aspnet-zero-core/issues/5430