Skip to content

Commit b66dea4

Browse files
authored
Use correct dev lang for .NET CLI commands (Azure#23998)
1 parent eae1954 commit b66dea4

File tree

81 files changed

+102
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+102
-102
lines changed

samples/AppSecretsConfig/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ After deployment completes, make note of the output variables as shown in the ex
9090

9191
You can build, run, and even deploy the sample using [Visual Studio][visualstudio], [Visual Studio Code][visualstudiocode], or the [.NET command line interface (CLI)][dotnet_cli]. Using the `dotnet` CLI, for example, within the directory containing the sample application source run:
9292

93-
```bash
93+
```dotnetcli
9494
dotnet build
9595
```
9696

@@ -134,7 +134,7 @@ Next you'll need to add the App Configuration connection string from the templat
134134

135135
1. In the project folder, run the following to add a variable named `ConnectionStrings:AppConfig` with the `value` of the `appConfigurationConnectionString` output variable:
136136

137-
```bash
137+
```dotnetcli
138138
dotnet user-secrets set "ConnectionStrings:AppConfig" "Endpoint=https://{appconfig-host-name}.azconfig.io;Id={id};Secret={secret}"
139139
```
140140

@@ -145,13 +145,13 @@ Next you'll need to add the App Configuration connection string from the templat
145145

146146
1. In the project folder, run the following to add a variable named `ConnectionStrings:AppConfig` with the `value` of the `appConfigurationConnectionString` output variable:
147147

148-
```bash
148+
```dotnetcli
149149
dotnet user-secrets set "ConnectionStrings:AppConfig" "Endpoint=https://{appconfig-host-name}.azconfig.io;Id={id};Secret={secret}"
150150
```
151151

152152
2. Run the project:
153153

154-
```bash
154+
```dotnetcli
155155
dotnet run
156156
```
157157

@@ -167,7 +167,7 @@ Using [Azure App Configuration][appconfig_overview] is an efficient way to store
167167

168168
1. Add the following package to your project:
169169

170-
```bash
170+
```dotnetcli
171171
dotnet add package Azure.Identity
172172
dotnet add package Microsoft.Extensions.Configuration.AzureAppConfiguration
173173
```

sdk/agrifood/Azure.Verticals.AgriFood.Farming/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ FarmBeats is a B2B PaaS offering from Microsoft that makes it easy for AgriFood
1212

1313
Install the Azure FarmBeats client library for .NET with [NuGet][client_nuget_package]:
1414

15-
```
15+
```dotnetcli
1616
dotnet add package Azure.Verticals.AgriFood.Farming --prerelease
1717
```
1818

sdk/anomalydetector/Azure.AI.AnomalyDetector/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Microsoft Azure Cognitive Services Anomaly Detector API enables you to monitor a
99
### Install the package
1010
Install the Azure Anomaly Detector client library for .NET with [NuGet][nuget]:
1111

12-
```PowerShell
12+
```dotnetcli
1313
dotnet add package Azure.AI.AnomalyDetector --version 3.0.0-preview.3
1414
```
1515

sdk/attestation/Azure.Security.Attestation/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Azure Attestation receives evidence from compute entities, turns them into a set
2323

2424
Install the Microsoft Azure Attestation client library for .NET with [NuGet][nuget]:
2525

26-
```PowerShell
26+
```dotnetcli
2727
dotnet add package Azure.Security.Attestation --prerelease
2828
```
2929

@@ -35,7 +35,7 @@ In order to interact with the Microsoft Azure Attestation service, you'll need t
3535
Client secret credential authentication is being used in this getting started section but you can find more ways to authenticate with [Azure identity][azure_identity]. To use the [DefaultAzureCredential][DefaultAzureCredential] provider shown below,
3636
or other credential providers provided with the Azure SDK, you should install the Azure.Identity package:
3737

38-
```PowerShell
38+
```dotnetcli
3939
dotnet add package Azure.Identity
4040
```
4141

sdk/cognitivelanguage/Azure.AI.Language.QuestionAnswering/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Question Answering service is a cloud-based API service that lets you create
1010

1111
Install the Azure Cognitive Language Services Question Answering client library for .NET with [NuGet][nuget]:
1212

13-
```powershell
13+
```dotnetcli
1414
dotnet add package Azure.AI.Language.QuestionAnswering --prerelease
1515
```
1616

sdk/communication/Azure.Communication.CallingServer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This package contains a C# SDK for Azure Communication Services for Calling.
88
### Install the package
99
Install the Azure Communication CallingServer client library for .NET with [NuGet][nuget]:
1010

11-
```PowerShell
11+
```dotnetcli
1212
dotnet add package Azure.Communication.CallingServer --version 1.0.0-beta.2
1313
```
1414

sdk/communication/Azure.Communication.Chat/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This package contains a C# SDK for Azure Communication Services for chat.
1010
### Install the package
1111
Install the Azure Communication Chat client library for .NET with [NuGet][nuget]:
1212

13-
```PowerShell
13+
```dotnetcli
1414
dotnet add package Azure.Communication.Chat
1515
```
1616

sdk/communication/Azure.Communication.Common/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This package contains common code for Azure Communication Service libraries.
88
### Install the package
99
Install the Azure Communication Common client library for .NET with [NuGet][nuget].
1010

11-
```Powershell
11+
```dotnetcli
1212
dotnet add package Azure.Communication.Common --version 1.0.0
1313
```
1414

sdk/communication/Azure.Communication.Identity/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Azure Communication Identity is managing tokens for Azure Communication Services
1010

1111
Install the Azure Communication Identity client library for .NET with [NuGet][nuget]:
1212

13-
```Powershell
13+
```dotnetcli
1414
dotnet add package Azure.Communication.Identity --version 1.0.0
1515
```
1616

sdk/communication/Azure.Communication.NetworkTraversal/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Azure Communication Network Traversal enables high bandwidth, low latency connec
99

1010
Install the Azure Communication Network Traversal client library for .NET with [NuGet][nuget]:
1111

12-
```Powershell
12+
```dotnetcli
1313
dotnet add package Azure.Communication.NetworkTraversal --version 1.0.0-beta.2
1414
```
1515

0 commit comments

Comments
 (0)