借助队列事件总线,统一会话管理,在总线上消费到事件后,通过会话集合驱动业务行为。如果是本机,直接使用内存事件总线;如果是Redis,将使用专用的消息队列。
智能大石头
authored at
2025-02-21 18:00:17
NewLife.Remoting
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<AssemblyTitle>RPC例程</AssemblyTitle>
<Description>RPC通信例程</Description>
<Company>新生命开发团队</Company>
<Copyright>©2002-2025 NewLife</Copyright>
<VersionPrefix>1.0</VersionPrefix>
<VersionSuffix>$([System.DateTime]::Now.ToString(`yyyy.MMdd`))</VersionSuffix>
<Version>$(VersionPrefix).$(VersionSuffix)</Version>
<FileVersion>$(Version)</FileVersion>
<AssemblyVersion>$(VersionPrefix).*</AssemblyVersion>
<Deterministic>false</Deterministic>
<OutputPath>..\..\Bin\Demo</OutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>latest</LangVersion>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\NewLife.Remoting\NewLife.Remoting.csproj" />
</ItemGroup>
</Project>
|