- With SignalR automated reconnect turned on in the HUB connection, how can i know when a user has disconnected from the application rather then having lost connection and trying to reconnect?
Frankly speaking, I'm not sure you can do this with 100% correctness. However, you may create a temporary table/queue, push the current disconnected user to the queue, then read from the queue in a specific time interval, and check if there is an audit log there is related to the user after adding it to the queue. So, you can check if its really leave the application or temporarily disconnected.
- How do you handle hub connection in the Chat Module, is there any standard you use in Blazor WASM?
You can download the chat module's source code and use its hub by your needs or you can follow the approach I suggested above.
- If multiple hubs are registered, would they interfere with each others or live independetly without problems?
They should live independently without problems.
Using SignalR might be hard to maintain and ensure user leaved the application or not. Maybe you can search for another approach for your use case. For example, you might use beforeunload event on the JS side (https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event), or use a similar approach for the Blazor WASM.
Regards.
Can we deploy and run app on IIS with http?
Hi, yes you can there is no restriction for that. We have an IIS Deployment documentation, you can check this document.
Note: If IIS is not accepting HTTP traffic, you may need to run (https://learn.microsoft.com/en-us/windows/win32/http/add-urlacl):
netsh http add urlacl url=http://*:<yourapplicationport>/ user=Everyone
Regards.
Hi, I've checked your appsettings.json files and the values seem correct. Sometimes, Azure overwrites appsettings.json values. So, by any chance, can you check the Configuration section in the Azure Portal:
AuthServer:Authority, App:SelfUrl, and RemoteServices:Default:BaseUrl are pointing to the new domain.Btw, I have also checked https://account.pekkish.net/.well-known/openid-configuration and all values are correct, and they are not referencing the old azurewebsites.net address.
Hi,
No, these entities must be in Identity Microservice and we will create releations with other AbpUser tables.
Okay. I will test your case and try to write you back asap.
let me try to create an new project and check again.
Thanks. I'll wait for your response.
Hi, for the pre-existing microservice solutions are designed to use the ABP's relevant modules. By any chance, can you create a new microservice and generate your CRUD pages in that microservice. In that case, you will get better integration with the ABP Suite, by design.
Regards.
i fixed the error by adding
ValidateAudience = falseand now
policy.RequireAuthenticatedUser();is working finebut when i used
policy.RequireRole("Admin");i get 403 error
plz advise.
Hi, I'm currently testing, I will write you back asap.
Regards.
Creating a new project and adding a new entity to it works as expected. One of my teammates is still capable of running CRUDs on the same project using abp on a MAC with Cli@0.9.21 and suite@9.0.2 Is there any other configuration I could check to fix my project?
Hi, it is really weird that your teammate is capable of generating CRUD pages, but you are not. Can you share more information about the entity metadata?
For example:
Also, do you have any recent solutions in this list (that might be moved to another directory)?