{"@attributes":{"version":"2.0"},"channel":{"title":"Dapr Tutorials on Dapr Docs","link":"https:\/\/docs.dapr.io\/getting-started\/tutorials\/","description":"Recent content in Dapr Tutorials on Dapr Docs","generator":"Hugo","language":"en","item":[{"title":"Define a component","link":"https:\/\/docs.dapr.io\/getting-started\/tutorials\/get-started-component\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.dapr.io\/getting-started\/tutorials\/get-started-component\/","description":"<p>When building an app, you&rsquo;d most likely create your own component file definitions, depending on the building block and specific component that you&rsquo;d like to use.<\/p>\n<p>In this tutorial, you will create a component definition file to interact with the <a href=\"https:\/\/docs.dapr.io\/developing-applications\/building-blocks\/secrets\/\">secrets building block API<\/a>:<\/p>\n<ul>\n<li>Create a local JSON secret store.<\/li>\n<li>Register the secret store with Dapr using a component definition file.<\/li>\n<li>Obtain the secret using the Dapr HTTP API.<\/li>\n<\/ul>\n<h2 id=\"step-1-create-a-json-secret-store\">Step 1: Create a JSON secret store<\/h2>\n<ol>\n<li>\n<p>Create a new directory named <code>my-components<\/code> to hold the new secret and component file:<\/p>"},{"title":"Tutorial: Configure state store and pub\/sub message broker","link":"https:\/\/docs.dapr.io\/getting-started\/tutorials\/configure-state-pubsub\/","pubDate":"Mon, 01 Jan 0001 00:00:00 +0000","guid":"https:\/\/docs.dapr.io\/getting-started\/tutorials\/configure-state-pubsub\/","description":"<p>To get up and running with the state and Pub\/sub building blocks, you&rsquo;ll need two components:<\/p>\n<ul>\n<li>A state store component for persistence and restoration.<\/li>\n<li>As pub\/sub message broker component for async-style message delivery.<\/li>\n<\/ul>\n<p>A full list of supported components can be found here:<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.dapr.io\/reference\/components-reference\/supported-state-stores\/\">Supported state stores<\/a><\/li>\n<li><a href=\"https:\/\/docs.dapr.io\/reference\/components-reference\/supported-pubsub\/\">Supported pub\/sub message brokers<\/a><\/li>\n<\/ul>\n<p>For this tutorial, we describe how to get up and running with Redis.<\/p>\n<h3 id=\"step-1-create-a-redis-store\">Step 1: Create a Redis store<\/h3>\n<p>Dapr can use any Redis instance, either:<\/p>"}]}}