quickstarts/bindings/csharp/sdk
Paul Yuknewicz a933d89a0f
Updating C# quickstart and tutorial Dapr SDK references to 1.8. They… (#705)
* uncommenting pubsub test to try pubsub validate

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* Updated go dependencies
go 1.18
dapr/go-sdk 1.5.0

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* updating .NET/C# Dapr references to 1.8.0

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>

* updating Dapr SDK for Java versions to 1.6.0

Signed-off-by: Paul Yuknewicz <paulyuk@microsoft.com>
2022-07-27 10:31:17 -07:00
..
batch Updating C# quickstart and tutorial Dapr SDK references to 1.8. They… (#705) 2022-07-27 10:31:17 -07:00
README.md Change all references of app-id in bindings examples to batch-* (#699) 2022-06-24 12:33:24 -07:00
makefile Binding quickstart - Cron input PostgreSQL output (#669) 2022-06-22 18:06:18 -07:00

README.md

Dapr Bindings (Dapr SDK)

In this quickstart, you'll create a microservice to demonstrate Dapr's bindings API to work with external systems as inputs and outputs. The service listens to input binding events from a system CRON and then outputs the contents of local data to a PostreSql output binding.

Visit this link for more information about Dapr and Bindings.

Note: This example leverages the Dapr SDK. If you are looking for the example using HTTP REST only click here.

This quickstart includes one service:

  • .NET/C# service batch

Run and initialize PostgreSQL container

  1. Open a new terminal, change directories to ../../../db, and run the container with Docker Compose:
cd ../../db
docker compose up

Run C# service with Dapr

  1. Open a new terminal window, change directories to ./batch in the quickstart directory and run:
cd ./batch
dotnet restore
  1. Run the C# service app with Dapr:
dapr run --app-id batch-sdk --app-port 7002 --components-path ../../../components -- dotnet run