Activities of "EngincanV"

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?

Answer

Hi, it seems the appsettings.json path is wrong:

Can you please share your *.DbContextFactory class? (and do you use MacOS or Windows?)

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.

Showing 521 to 530 of 1359 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.1.0-preview. Updated on November 07, 2025, 08:20