cap

Configure DotNetCore.CAP for transactional publishing and event-driven messaging in .NET microservices.

5|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/arisng/github-copilot-fc --skill cap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cap
Source: https://github.com/arisng/github-copilot-fc/tree/main/skills/cap
Command: npx skills add https://github.com/arisng/github-copilot-fc --skill cap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

CAP enables reliable distributed transactions and event-driven messaging for .NET microservices, ensuring data consistency across service boundaries.

Core Features & Use Cases

  • Transactional publishing: coordinate publishes with local transactions using the Outbox pattern.
  • Event bus integration: publish and subscribe to events across transports like RabbitMQ, Kafka, and Azure Service Bus.
  • Monitoring & dashboard: observe message flow and health through a CAP dashboard.
  • Use Case: Orchestrate cross-service workflows (sagas) with reliable event-driven communication in a microservices architecture.

Quick Start

Install the DotNetCore.CAP package, configure CAP with your storage and transport, and register subscribers and publishers to begin routing messages.

Frequently Asked Questions about cap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I orchestrate distributed transactions in .NET microservices?

You orchestrate distributed transactions in .NET microservices by applying the Outbox pattern to coordinate local database commits with event publishes, ensuring reliable cross-service data consistency.

How does the Outbox pattern work for transactional publishing?

The Outbox pattern for transactional publishing works by writing messages to a local storage backend within the same database transaction as your data changes, preventing message loss when publishing events.

Can I use DotNetCore.CAP with RabbitMQ and Kafka for event-driven messaging?

Yes, DotNetCore.CAP integrates with multiple transports including RabbitMQ, Kafka, and Azure Service Bus to handle event-driven messaging and route publishes and subscribes across service boundaries.

What is the best way to monitor event bus messages in .NET microservices?

The best way to monitor event bus messages is by using the CAP dashboard, which allows you to observe message flow, track delayed messages, and check the overall health of your distributed events.

Do I need a storage backend to set up CAP for distributed events?

Yes, you need to configure a storage backend during CAP setup to persist published messages and enable transactional publishing, which guarantees reliable event delivery across your microservices architecture.