mirror of https://github.com/dapr/docs.git
add double quotes to .NET tabs
This commit is contained in:
parent
d47ff41bb0
commit
32be54dc7a
|
@ -106,7 +106,7 @@ spec:
|
|||
|
||||
The code examples below leverage Dapr SDKs to invoke the output bindings endpoint on a running Dapr instance.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript>}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript>}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ Configure your application to receive incoming events. If you're using HTTP, you
|
|||
|
||||
Below are code examples that leverage Dapr SDKs to demonstrate an output binding.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript>}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript>}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ spec:
|
|||
|
||||
### Acquire lock
|
||||
|
||||
{{< tabs HTTP .NET Go >}}
|
||||
{{< tabs HTTP ".NET" Go >}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
@ -122,7 +122,7 @@ func main() {
|
|||
|
||||
### Unlock existing lock
|
||||
|
||||
{{< tabs HTTP .NET Go >}}
|
||||
{{< tabs HTTP ".NET" Go >}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ scopes:
|
|||
|
||||
You can override this file with another [pubsub component]({{< ref setup-pubsub >}}) by creating a components directory (in this example, `myComponents`) containing the file and using the flag `--resources-path` with the `dapr run` CLI command.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript >}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript >}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
@ -186,7 +186,7 @@ Place `subscription.yaml` in the same directory as your `pubsub.yaml` component.
|
|||
|
||||
Below are code examples that leverage Dapr SDKs to subscribe to the topic you defined in `subscription.yaml`.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript>}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript>}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
@ -422,7 +422,7 @@ Invoke-RestMethod -Method Post -ContentType 'application/json' -Body '{"orderId"
|
|||
|
||||
Below are code examples that leverage Dapr SDKs to publish a topic.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript>}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript>}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ See a [full API reference]({{< ref secrets_api.md >}}).
|
|||
|
||||
Now that you've set up the local secret store, call Dapr to get the secrets from your application code. Below are code examples that leverage Dapr SDKs for retrieving a secret.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript>}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript>}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ ctx = metadata.AppendToOutgoingContext(ctx, "dapr-app-id", "server")
|
|||
|
||||
All languages supported by gRPC allow for adding metadata. Here are a few examples:
|
||||
|
||||
{{< tabs Java .NET Python JavaScript Ruby "C++">}}
|
||||
{{< tabs Java ".NET" Python JavaScript Ruby "C++">}}
|
||||
|
||||
{{% codetab %}}
|
||||
```java
|
||||
|
@ -249,7 +249,7 @@ When using Dapr to proxy streaming RPC calls using gRPC, you must set an additio
|
|||
|
||||
For example:
|
||||
|
||||
{{< tabs Go Java .NET Python JavaScript Ruby "C++">}}
|
||||
{{< tabs Go Java ".NET" Python JavaScript Ruby "C++">}}
|
||||
|
||||
{{% codetab %}}
|
||||
```go
|
||||
|
|
|
@ -68,7 +68,7 @@ Set an `app-id`, as the state keys are prefixed with this value. If you don't se
|
|||
|
||||
The following example shows how to save and retrieve a single key/value pair using the Dapr state management API.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript "HTTP API (Bash)" "HTTP API (PowerShell)">}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript "HTTP API (Bash)" "HTTP API (PowerShell)">}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
@ -356,7 +356,7 @@ Restart your sidecar and try retrieving state again to observe that state persis
|
|||
|
||||
Below are code examples that leverage Dapr SDKs for deleting the state.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript "HTTP API (Bash)" "HTTP API (PowerShell)">}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript "HTTP API (Bash)" "HTTP API (PowerShell)">}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
@ -537,7 +537,7 @@ Try getting state again. Note that no value is returned.
|
|||
|
||||
Below are code examples that leverage Dapr SDKs for saving and retrieving multiple states.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript "HTTP API (Bash)" "HTTP API (PowerShell)">}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript "HTTP API (Bash)" "HTTP API (PowerShell)">}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
@ -788,7 +788,7 @@ State transactions require a state store that supports multi-item transactions.
|
|||
|
||||
Below are code examples that leverage Dapr SDKs for performing state transactions.
|
||||
|
||||
{{< tabs .NET Java Python Go JavaScript "HTTP API (Bash)" "HTTP API (PowerShell)">}}
|
||||
{{< tabs ".NET" Java Python Go JavaScript "HTTP API (Bash)" "HTTP API (PowerShell)">}}
|
||||
|
||||
{{% codetab %}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue