<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dapr Quickstarts on Dapr Docs</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/</link><description>Recent content in Dapr Quickstarts on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://v1-18.docs.dapr.io/getting-started/quickstarts/index.xml" rel="self" type="application/rss+xml"/><item><title>Quickstart: Service Invocation</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/serviceinvocation-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/serviceinvocation-quickstart/</guid><description>&lt;p>With &lt;a href="https://docs.dapr.io/developing-applications/building-blocks/service-invocation">Dapr&amp;rsquo;s Service Invocation building block&lt;/a>, your application can communicate reliably and securely with other applications.&lt;/p>
&lt;img src="https://v1-18.docs.dapr.io/images/serviceinvocation-quickstart/service-invocation-overview.png" width=800 alt="Diagram showing the steps of service invocation" style="padding-bottom:25px;">
&lt;p>Dapr offers several methods for service invocation, which you can choose depending on your scenario. For this Quickstart, you&amp;rsquo;ll enable the checkout service to invoke a method using HTTP proxy in the order-processor service and by either:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://v1-18.docs.dapr.io/getting-started/quickstarts/serviceinvocation-quickstart/#run-using-multi-app-run">Running all applications in this sample simultaneously with the Multi-App Run template file&lt;/a>, or&lt;/li>
&lt;li>&lt;a href="https://v1-18.docs.dapr.io/getting-started/quickstarts/serviceinvocation-quickstart/#run-one-application-at-a-time">Running one application at a time&lt;/a>&lt;/li>
&lt;/ul>
&lt;p>Learn more about Dapr&amp;rsquo;s methods for service invocation in the &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/service-invocation/service-invocation-overview/">overview article&lt;/a>.&lt;/p></description></item><item><title>Quickstart: Publish and Subscribe</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/pubsub-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/pubsub-quickstart/</guid><description>&lt;p>Let&amp;rsquo;s take a look at Dapr&amp;rsquo;s &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/pubsub/">Publish and Subscribe (Pub/sub) building block&lt;/a>. In this Quickstart, you will run a publisher microservice and a subscriber microservice to demonstrate how Dapr enables a Pub/sub pattern.&lt;/p>
&lt;ol>
&lt;li>Using a publisher service, developers can repeatedly publish messages to a topic.&lt;/li>
&lt;li>&lt;a href="https://docs.dapr.io/concepts/components-concept/#pubsub-brokers">A Pub/sub component&lt;/a> queues or brokers those messages. Our example below uses Redis, you can use RabbitMQ, Kafka, etc.&lt;/li>
&lt;li>The subscriber to that topic pulls messages from the queue and processes them.&lt;/li>
&lt;/ol>
&lt;img src="https://v1-18.docs.dapr.io/images/pubsub-quickstart/pubsub-diagram.png" width=800 style="padding-bottom:15px;">
&lt;p>You can try out this pub/sub quickstart by either:&lt;/p></description></item><item><title>Quickstart: Workflow</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/workflow-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/workflow-quickstart/</guid><description>&lt;div class="alert alert-primary" role="alert">
&lt;h4 class="alert-heading">Note&lt;/h4>

 Redis is currently used as the state store component for Workflows in the Quickstarts. However, Redis does not support transaction rollbacks and should not be used in production as an actor state store.

&lt;/div>

&lt;p>Let&amp;rsquo;s take a look at the Dapr &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/workflow/workflow-overview/">Workflow building block&lt;/a>. In this Quickstart, you&amp;rsquo;ll create a simple console application to demonstrate Dapr&amp;rsquo;s workflow programming model and the workflow management APIs.&lt;/p>
&lt;p>In this guide, you&amp;rsquo;ll:&lt;/p>
&lt;ul>
&lt;li>Run the &lt;code>order-processor&lt;/code> application.&lt;/li>
&lt;li>Start the workflow and watch the workflow activites/tasks execute.&lt;/li>
&lt;li>Review the workflow logic and the workflow activities and how they&amp;rsquo;re represented in the code.&lt;/li>
&lt;/ul>
&lt;img src="https://v1-18.docs.dapr.io/images/workflow-quickstart-overview.png" width=800 style="padding-bottom:15px;">
&lt;p>The workflow contains the following activities:&lt;/p></description></item><item><title>Quickstart: State Management</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/statemanagement-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/statemanagement-quickstart/</guid><description>&lt;p>Let&amp;rsquo;s take a look at Dapr&amp;rsquo;s &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/state-management/">State Management building block&lt;/a>. In this Quickstart, you will save, get, and delete state using a Redis state store by either:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://v1-18.docs.dapr.io/getting-started/quickstarts/statemanagement-quickstart/#run-using-multi-app-run">Running all applications simultaneously with the Multi-App Run template file&lt;/a>, or&lt;/li>
&lt;li>&lt;a href="https://v1-18.docs.dapr.io/getting-started/quickstarts/statemanagement-quickstart/#run-one-application-at-a-time">Running a single application at a time&lt;/a>&lt;/li>
&lt;/ul>
&lt;img src="https://v1-18.docs.dapr.io/images/state-management-quickstart.png" width=1000 style="padding-bottom:15px;">
&lt;p>While this sample uses Redis, you can swap it out for any one of the &lt;a href="https://v1-18.docs.dapr.io/reference/components-reference/supported-state-stores/">supported state stores&lt;/a>.&lt;/p>
&lt;h2 id="run-using-multi-app-run">Run using Multi-App Run&lt;/h2>
&lt;p>Select your preferred language-specific Dapr SDK before proceeding with the Quickstart.&lt;/p></description></item><item><title>Quickstart: Input &amp; Output Bindings</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/bindings-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/bindings-quickstart/</guid><description>&lt;p>Let&amp;rsquo;s take a look at Dapr&amp;rsquo;s &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/bindings/">Bindings building block&lt;/a>. Using bindings, you can:&lt;/p>
&lt;ul>
&lt;li>Trigger your app with events coming in from external systems.&lt;/li>
&lt;li>Interface with external systems.&lt;/li>
&lt;/ul>
&lt;p>In this Quickstart, you schedule a batch script to run every 10 seconds using an input &lt;a href="https://v1-18.docs.dapr.io/reference/components-reference/supported-bindings/cron/">Cron&lt;/a> binding. The script processes a JSON file and outputs data to a SQL database using the &lt;a href="https://v1-18.docs.dapr.io/reference/components-reference/supported-bindings/postgresql/">PostgreSQL&lt;/a> Dapr binding.&lt;/p>
&lt;img src="https://v1-18.docs.dapr.io/images/bindings-quickstart/bindings-quickstart.png" width=800 style="padding-bottom:15px;">
&lt;p>Select your preferred language-specific Dapr SDK before proceeding with the Quickstart.&lt;/p></description></item><item><title>Quickstart: Actors</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/actors-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/actors-quickstart/</guid><description>&lt;p>Let&amp;rsquo;s take a look at Dapr&amp;rsquo;s &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/actors/">Actors building block&lt;/a>. In this Quickstart, you will run a smart device microservice and a simple console client to demonstrate the stateful object patterns in Dapr Actors.&lt;/p>
&lt;p>Currently, you can experience this actors quickstart using the .NET SDK.&lt;/p>


 &lt;!-- .NET -->



&lt;ul class="nav nav-tabs" id="tabs-1" role="tablist">
 &lt;li class="nav-item">
 &lt;button class="nav-link active"
 id="tabs-01-00-tab" data-bs-toggle="tab" data-bs-target="#tabs-01-00" role="tab"
 data-td-tp-persist=".net" aria-controls="tabs-01-00" aria-selected="true">
 .NET
 &lt;/button>
 &lt;/li>
&lt;/ul>

&lt;div class="tab-content" id="tabs-1-content">
 &lt;div class="tab-body tab-pane fade show active"
 id="tabs-01-00" role="tabpanel" aria-labelled-by="tabs-01-00-tab" tabindex="1">
 &lt;p>As a quick overview of the .NET actors quickstart:&lt;/p>
&lt;ol>
&lt;li>Using a &lt;code>SmartDevice.Service&lt;/code> microservice, you host:
&lt;ul>
&lt;li>Two &lt;code>SmokeDetectorActor&lt;/code> smoke alarm objects&lt;/li>
&lt;li>A &lt;code>ControllerActor&lt;/code> object that commands and controls the smart devices&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Using a &lt;code>SmartDevice.Client&lt;/code> console app, the client app interacts with each actor, or the controller, to perform actions in aggregate.&lt;/li>
&lt;li>The &lt;code>SmartDevice.Interfaces&lt;/code> contains the shared interfaces and data types used by both the service and client apps.&lt;/li>
&lt;/ol>
&lt;img src="https://v1-18.docs.dapr.io/images/actors-quickstart/actors-quickstart.png" width=800 style="padding-bottom:15px;">
&lt;h3 id="pre-requisites">Pre-requisites&lt;/h3>
&lt;p>For this example, you will need:&lt;/p></description></item><item><title>Quickstart: Secrets Management</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/secrets-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/secrets-quickstart/</guid><description>&lt;p>Dapr provides a dedicated secrets API that allows developers to retrieve secrets from a secrets store. In this quickstart, you:&lt;/p>
&lt;ol>
&lt;li>Run a microservice with a secret store component.&lt;/li>
&lt;li>Retrieve secrets using the Dapr secrets API in the application code.&lt;/li>
&lt;/ol>
&lt;img src="https://v1-18.docs.dapr.io/images/secretsmanagement-quickstart/secrets-mgmt-quickstart.png" width=1000 alt="Diagram showing secrets management of example service.">
&lt;p>Select your preferred language-specific Dapr SDK before proceeding with the Quickstart.&lt;/p>

 &lt;!-- Python -->


 &lt;!-- JavaScript -->


 &lt;!-- .NET -->


 &lt;!-- Java -->


 &lt;!-- Go -->


&lt;ul class="nav nav-tabs" id="tabs-0" role="tablist">
 &lt;li class="nav-item">
 &lt;button class="nav-link active"
 id="tabs-00-00-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-00" role="tab"
 data-td-tp-persist="python" aria-controls="tabs-00-00" aria-selected="true">
 Python
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link"
 id="tabs-00-01-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-01" role="tab"
 data-td-tp-persist="javascript" aria-controls="tabs-00-01" aria-selected="false">
 JavaScript
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link"
 id="tabs-00-02-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-02" role="tab"
 data-td-tp-persist=".net" aria-controls="tabs-00-02" aria-selected="false">
 .NET
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link"
 id="tabs-00-03-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-03" role="tab"
 data-td-tp-persist="java" aria-controls="tabs-00-03" aria-selected="false">
 Java
 &lt;/button>
 &lt;/li>&lt;li class="nav-item">
 &lt;button class="nav-link"
 id="tabs-00-04-tab" data-bs-toggle="tab" data-bs-target="#tabs-00-04" role="tab"
 data-td-tp-persist="go" aria-controls="tabs-00-04" aria-selected="false">
 Go
 &lt;/button>
 &lt;/li>
&lt;/ul>

&lt;div class="tab-content" id="tabs-0-content">
 &lt;div class="tab-body tab-pane fade show active"
 id="tabs-00-00" role="tabpanel" aria-labelled-by="tabs-00-00-tab" tabindex="0">
 &lt;h3 id="pre-requisites">Pre-requisites&lt;/h3>
&lt;p>For this example, you will need:&lt;/p></description></item><item><title>Quickstart: Configuration</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/configuration-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/configuration-quickstart/</guid><description>&lt;p>Let&amp;rsquo;s take a look at Dapr&amp;rsquo;s &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/configuration/configuration-api-overview/">Configuration building block&lt;/a>. A configuration item is often dynamic in nature and tightly coupled to the needs of the application that consumes it. Configuration items are key/value pairs containing configuration data, such as:&lt;/p>
&lt;ul>
&lt;li>App ids&lt;/li>
&lt;li>Partition keys&lt;/li>
&lt;li>Database names, etc&lt;/li>
&lt;/ul>
&lt;p>In this quickstart, you&amp;rsquo;ll run an &lt;code>order-processor&lt;/code> microservice that utilizes the Configuration API. The service:&lt;/p>
&lt;ol>
&lt;li>Gets configuration items from the configuration store.&lt;/li>
&lt;li>Subscribes for configuration updates.&lt;/li>
&lt;/ol>
&lt;img src="https://v1-18.docs.dapr.io/images/configuration-quickstart/configuration-quickstart-flow.png" width=1000 alt="Diagram that demonstrates the flow of the configuration API quickstart with key/value pairs used.">
&lt;p>Select your preferred language-specific Dapr SDK before proceeding with the Quickstart.&lt;/p></description></item><item><title>Quickstart: Cryptography</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/cryptography-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/cryptography-quickstart/</guid><description>&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Alpha&lt;/h4>

 The cryptography building block is currently in &lt;strong>alpha&lt;/strong>.

&lt;/div>

&lt;p>Let&amp;rsquo;s take a look at the Dapr &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/cryptography/">cryptography building block&lt;/a>. In this Quickstart, you&amp;rsquo;ll create an application that encrypts and decrypts data using the Dapr cryptography APIs. You&amp;rsquo;ll:&lt;/p>
&lt;ul>
&lt;li>Encrypt and then decrypt a short string (using an RSA key), reading the result in-memory, in a Go byte slice.&lt;/li>
&lt;li>Encrypt and then decrypt a large file (using an AES key), storing the encrypted and decrypted data to files using streams.&lt;/li>
&lt;/ul>
&lt;img src="https://v1-18.docs.dapr.io/images/crypto-quickstart.png" width=800 style="padding-bottom:15px;">


&lt;div class="alert alert-primary" role="alert">
&lt;h4 class="alert-heading">Note&lt;/h4>

 This example uses the Dapr SDK, which leverages gRPC and is &lt;strong>strongly&lt;/strong> recommended when using cryptographic APIs to encrypt and decrypt messages.

&lt;/div>

&lt;p>Currently, you can experience the cryptography API using the Go SDK.&lt;/p></description></item><item><title>Quickstart: Jobs</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/jobs-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/jobs-quickstart/</guid><description>&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Alpha&lt;/h4>

 The jobs building block is currently in &lt;strong>alpha&lt;/strong>.

&lt;/div>

&lt;p>Let&amp;rsquo;s take a look at the &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/jobs/jobs-overview/">Dapr jobs building block&lt;/a>, which schedules and runs jobs at a specific time or interval. In this Quickstart, you&amp;rsquo;ll schedule, get, and delete a job using Dapr&amp;rsquo;s Job API.&lt;/p>
&lt;p>You can try out this jobs quickstart by either:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://v1-18.docs.dapr.io/getting-started/quickstarts/jobs-quickstart/#run-using-multi-app-run">Running all applications in this sample simultaneously with the Multi-App Run template file&lt;/a>, or&lt;/li>
&lt;li>&lt;a href="https://v1-18.docs.dapr.io/getting-started/quickstarts/jobs-quickstart/#run-one-job-application-at-a-time">Running one application at a time&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="run-using-multi-app-run">Run using Multi-App Run&lt;/h2>
&lt;p>Select your preferred language-specific Dapr SDK before proceeding with the Quickstart. Currently, you can experiment with the jobs API with the Go SDK.&lt;/p></description></item><item><title>Quickstart: Conversation</title><link>https://v1-18.docs.dapr.io/getting-started/quickstarts/conversation-quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/getting-started/quickstarts/conversation-quickstart/</guid><description>&lt;div class="alert alert-warning" role="alert">
&lt;h4 class="alert-heading">Alpha&lt;/h4>

 The conversation building block is currently in &lt;strong>alpha&lt;/strong>.

&lt;/div>

&lt;p>Let&amp;rsquo;s take a look at how the &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/conversation/conversation-overview/">Dapr conversation building block&lt;/a> makes interacting with Large Language Models (LLMs) easier. In this quickstart, you use the echo component to communicate with the mock LLM and ask it to define Dapr.&lt;/p>
&lt;p>You can try out this conversation quickstart by either:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="https://v1-18.docs.dapr.io/getting-started/quickstarts/conversation-quickstart/#run-the-app-with-the-template-file">Running the application in this sample with the Multi-App Run template file&lt;/a>, or&lt;/li>
&lt;li>&lt;a href="https://v1-18.docs.dapr.io/getting-started/quickstarts/conversation-quickstart/#run-the-app-without-the-template">Running the application without the template&lt;/a>&lt;/li>
&lt;/ul>


&lt;div class="alert alert-primary" role="alert">
&lt;h4 class="alert-heading">Note&lt;/h4>

 Currently, you can only use JavaScript for the quickstart sample using HTTP, not the JavaScript SDK.

&lt;/div>

&lt;h2 id="run-the-app-with-the-template-file">Run the app with the template file&lt;/h2>
&lt;p>Select your preferred language-specific Dapr SDK before proceeding with the Quickstart.&lt;/p></description></item></channel></rss>