Activities of "liangshiwei"

/Pages/Account/ not wwwroot

Could you use the CLI to create a new project to reproduce the problem and share it with me? I will check it. My email is shiwei.liang@volsoft.com

thanks

Hi,

You can create a shared project and place components to reuse the Blazor components.

For example:

Component.Shared project:

DialogAComponent

<p>This is a reuse Blazor component<p>

Service A project

Service A Index page
<DialogAComponent/>

Service B project

Service B Index page
<DialogAComponent/>

Hi,

You need to override the PublishAsync method of AzureDistributedEventBus

For example:

public interface IEventDataHasScheduledEnqueueTime
{
    DateTimeOffset ScheduledEnqueueTime { get; set; }
}

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IDistributedEventBus), typeof(AzureDistributedEventBus))]
public class MyAzureDistributedEventBus : AzureDistributedEventBus
{
    public MyAzureDistributedEventBus(IServiceScopeFactory serviceScopeFactory, ICurrentTenant currentTenant, IUnitOfWorkManager unitOfWorkManager, IOptions<AbpDistributedEventBusOptions> abpDistributedEventBusOptions, IGuidGenerator guidGenerator, IClock clock, IOptions<AbpAzureEventBusOptions> abpAzureEventBusOptions, IAzureServiceBusSerializer serializer, IAzureServiceBusMessageConsumerFactory messageConsumerFactory, IPublisherPool publisherPool, IEventHandlerInvoker eventHandlerInvoker, ILocalEventBus localEventBus, ICorrelationIdProvider correlationIdProvider) : base(serviceScopeFactory, currentTenant, unitOfWorkManager, abpDistributedEventBusOptions, guidGenerator, clock, abpAzureEventBusOptions, serializer, messageConsumerFactory, publisherPool, eventHandlerInvoker, localEventBus, correlationIdProvider)
    {
    }

    protected async override Task PublishAsync(string eventName, object eventData)
    {
        var body = Serializer.Serialize(eventData);
        var message = new ServiceBusMessage(body)
        {
            Subject = eventName
        };
        
        if (eventData is IEventDataHasScheduledEnqueueTime eventDataHasScheduledEnqueueTime)
        {
            message.ScheduledEnqueueTime = eventDataHasScheduledEnqueueTime.ScheduledEnqueueTime;
        }

        if (message.MessageId.IsNullOrWhiteSpace())
        {
            message.MessageId = GuidGenerator.Create().ToString("N");
        }

        message.CorrelationId = CorrelationIdProvider.Get();

        var publisher = await PublisherPool.GetAsync(
            Options.TopicName,
            Options.ConnectionName);

        await publisher.SendMessageAsync(message);
    }
}

Hi,

You can try to install the Yarnv1.20+ (not v2).

then run yarn install command to restore the packages

Hi,

Maybe you need this https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/proxy-load-balance

You can add to the Host project

Hi,

You need to add the access_token to the request header.

Did you change the Angular project? https://github.com/abpframework/abp-samples/blob/master/DomainTenantResolver/OpenIddict/NG/angular/src/environments/environment.ts#L13

hi,

This may be a problem, you can try overriding the LoggedOut.js file

Put the LoggedOut.js file in the /Pages/Account/ path

document.addEventListener("DOMContentLoaded", function (event) {
    setTimeout(function () {
    
        var redirectButton = document.getElementById("redirectButton");
        if(redirectButton){
            window.clientName = redirectButton.getAttribute("cname");
            window.location = redirectButton.getAttribute("href");
        }
    }, 3000)
});
Showing 1861 to 1870 of 6693 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 October 30, 2025, 06:33