CAP
CAP docs看到更多详细资料。
CAP 视频教程,学习如何在项目中集成CAP。
●GitHub源码:https://github.com/dotnetcore/cap
●示例代码:https://github.com/dotnetcore/CAP/tree/master/samples

Dashboard

CAP 原生提供了 Dashboard 供查看消息,利用 Dashboard 提供的功能可以很方便的查看和管理消息。

启用 Dashboard

首先,你需要安装Dashboard的 NuGet 包。

  1. Install-Package DotNetCore.CAP.Dashboard

配置Dashboard

  1. services.AddCap(x =>
  2. {
  3. //...
  4. // Register Dashboard
  5. x.UseDashboard();
  6. });

访问 Dashboard

默认情况下,你可以访问 http://端口/cap 这个地址打开Dashboard。
https://localhost:7285/cap/index.html#/
1663673248859.png
1663673291705.png
1663673307692.png