Skip to content

Add pub-sub subscribe examples to docs for .NET #744

@paulyuk

Description

@paulyuk

Describe the proposalimage

The following topics cover the publishing side in client but not really subscribing.
https://docs.dapr.io/developing-applications/sdks/dotnet/dotnet-server/dotnet-aspnet/

The following does not even include .NET
https://docs.dapr.io/developing-applications/building-blocks/pubsub/howto-publish-subscribe/#step-2-subscribe-to-topics

I propose we beef up the docs to include code based and declarative pub sub subscriptions. We can leverage code like we see in the banking example:

Here is a code focused approach you can see (gRPC in this case):
dotnet-sdk/BankingService.cs at master · dapr/dotnet-sdk (github.com)

Here is a more declarative binding using attributes:
dotnet-sdk/SampleController.cs at master · dapr/dotnet-sdk (github.com)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions