Activities of "EngincanV"

Hi,

I can't seem to be able to download the Chat Module source code, could you kindly send it to my email or explain the approach you used in the module?

Thanks.

In the chat module, there is a hub class called ChatHub and we simply use it to trigger a socket connection (for sending a message, deleting a conversation, and deleting a message on the server side, and on the client side doing the receiving events). Creating a new hub and using its DisconnectAsync is what comes to my mind as the first solution.

However, investigating the other options can be better, because it might be hard to maintain and understand if the user really disconnected temporarily or permanently. Since this is not related to ABP, I'm sorry to not being able to answer with a concrete solution.

Regards.

Is this a known issue when reverting from source code to package reference?

Hi, no similar issue has been reported before. When you revert back to using NuGet packages, it should work as expected.

To confirm your problem, can you answer the questions below:

  • Your *.BlazorServer project depends on the typeof(SaasHostBlazorServerModule),?
  • Your *.Application project depends on the typeof(SaasHostApplicationModule),?
  • also the other relevant module integrations have been made?
Answer

hi not work, when change it to text it works but image not work and svg icon not remove

When you go to https://localhost:44344/images/logo/logo2.png, do you see the logo?

i fixed the error by adding

                ValidateAudience = false 

and now policy.RequireAuthenticatedUser(); is working fine

but when i used

policy.RequireRole("Admin");

i get 403 error

plz advise.

Hi, tried with the exact code that you shared and it worked smoothly. By any chance, is there a typo or case-sensitivity in your Admin role?

Hi, @EngincanV. As requested, I've sent the application code and added a bit of context to the issue mentioned here.

Let me know if you need anything else, thanks!

Hi again @bmulinari, I'm trying to download the application but it says "page not found" when clicking to the link and providing the password. Can you please check it and let me know about the final status?

Regards.

Answer

Hi, currently it should work. Here is my test result:

namespace AbpSolution6;

[Dependency(ReplaceServices = true)]
public class AbpSolution6BrandingProvider : DefaultBrandingProvider
{
    public override string? LogoUrl { get; } = "/images/logo/new-logo.png";
}


Can you access the image file through your browser? (https://localhost:<your-port>/images/logo/logo2.png) If you can, you may clear the browser cache.

Hi

Thank you very much for the insight. That worked! There were no values as stated above actually on the Azure Portal. But i added them in any case, which forced the URLs and that worked!

Regards!

Great to hear that! Regards.

I am getting this error after deployment

Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=9.0.2.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.Security.Cryptography.CryptographicException: The specified network password is not correct.

Can you please check this thread for this problem?

  1. 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.

  1. 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.

  1. 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.

Hi again,

I created a new microservice and started to use it. Can you refund my ticket please?

Hi, sure. I have refunded your ticket:

Can you confirm that your problem is resolved, so, I can close the question?

Showing 541 to 550 of 1381 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on February 17, 2026, 09:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.