Open Source Web Application Framework for ASP.NET Core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
488 B

using System;
using System.Threading.Tasks;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus.Distributed;
namespace DistDemoApp;
public class ProviderScenarioEventHandler :
IDistributedEventHandler<ProviderScenarioEvent>,
ITransientDependency
{
public Task HandleEventAsync(ProviderScenarioEvent eventData)
{
Console.WriteLine($"Dapr ASP.NET Core handler received ProviderScenarioEvent: {eventData.Value}");
return Task.CompletedTask;
}
}