Skip to content

Commit ed7dd7d

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into heidist-search
2 parents c50eec4 + c0c671d commit ed7dd7d

27 files changed

+730
-252
lines changed

.openpublishing.redirection.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50553,6 +50553,10 @@
5055350553
"source_path": "articles/aks/use-cosmosdb-osba-mongo-app.md",
5055450554
"redirect_url": "/azure/aks/",
5055550555
"redirect_document_id": false
50556+
},
50557+
{
50558+
"source_path": "articles/cognitive-services/speech-service/ship-application.md",
50559+
"redirect_url": "/azure/cognitive-services/speech-service/speech-sdk"
5055650560
}
5055750561
]
5055850562
}

articles/azure-monitor/app/app-map.md

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ To view active alerts and the underlying rules that cause the alerts to be trigg
8181

8282
Application Map uses the **cloud role name** property to identify the components on the map. The Application Insights SDK automatically adds the cloud role name property to the telemetry emitted by components. For example, the SDK will add a web site name or service role name to the cloud role name property. However, there are cases where you may want to override the default value. To override cloud role name and change what gets displayed on the Application Map:
8383

84-
### .NET/.NET Core
84+
# [.NET/.NetCore](#tab/net)
8585

8686
**Write custom TelemetryInitializer as below.**
8787

@@ -149,7 +149,27 @@ For [ASP.NET Core](asp-net-core.md#adding-telemetryinitializers) applications, a
149149
}
150150
```
151151

152-
### Node.js
152+
# [Java](#tab/java)
153+
154+
Starting with Application Insights Java SDK 2.5.0, you can specify the cloud role name
155+
by adding `<RoleName>` to your `ApplicationInsights.xml` file, e.g.
156+
157+
```XML
158+
<?xml version="1.0" encoding="utf-8"?>
159+
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings" schemaVersion="2014-05-30">
160+
<InstrumentationKey>** Your instrumentation key **</InstrumentationKey>
161+
<RoleName>** Your role name **</RoleName>
162+
...
163+
</ApplicationInsights>
164+
```
165+
166+
If you use Spring Boot with the Application Insights Spring Boot starter, the only required change is to set your custom name for the application in the application.properties file.
167+
168+
`spring.application.name=<name-of-app>`
169+
170+
The Spring Boot starter will automatically assign cloud role name to the value you enter for the spring.application.name property.
171+
172+
# [Node.js](#tab/nodejs)
153173

154174
```javascript
155175
var appInsights = require("applicationinsights");
@@ -170,27 +190,7 @@ appInsights.defaultClient.addTelemetryProcessor(envelope => {
170190
});
171191
```
172192

173-
### Java
174-
175-
Starting with Application Insights Java SDK 2.5.0, you can specify the cloud role name
176-
by adding `<RoleName>` to your `ApplicationInsights.xml` file, e.g.
177-
178-
```XML
179-
<?xml version="1.0" encoding="utf-8"?>
180-
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings" schemaVersion="2014-05-30">
181-
<InstrumentationKey>** Your instrumentation key **</InstrumentationKey>
182-
<RoleName>** Your role name **</RoleName>
183-
...
184-
</ApplicationInsights>
185-
```
186-
187-
If you use Spring Boot with the Application Insights Spring Boot starter, the only required change is to set your custom name for the application in the application.properties file.
188-
189-
`spring.application.name=<name-of-app>`
190-
191-
The Spring Boot starter will automatically assign cloud role name to the value you enter for the spring.application.name property.
192-
193-
### Client/browser-side JavaScript
193+
# [JavaScript](#tab/javascript)
194194

195195
```javascript
196196
appInsights.queue.push(() => {
@@ -200,6 +200,7 @@ appInsights.addTelemetryInitializer((envelope) => {
200200
});
201201
});
202202
```
203+
---
203204

204205
### Understanding cloud role name within the context of the Application Map
205206

@@ -216,11 +217,11 @@ For the [official definitions](https://github.com/Microsoft/ApplicationInsights-
216217
```
217218
[Description("Name of the role the application is a part of. Maps directly to the role name in azure.")]
218219
[MaxStringLength("256")]
219-
705: string CloudRole = "ai.cloud.role";
220+
705: string CloudRole = "ai.cloud.role";
220221
221222
[Description("Name of the instance where the application is running. Computer name for on-premises, instance name for Azure.")]
222223
[MaxStringLength("256")]
223-
715: string CloudRoleInstance = "ai.cloud.roleInstance";
224+
715: string CloudRoleInstance = "ai.cloud.roleInstance";
224225
```
225226

226227
Alternatively, **cloud role instance** can be helpful for scenarios where **cloud role name** tells you the problem is somewhere in your web front-end, but you might be running your web front-end across multiple load-balanced servers so being able to drill in a layer deeper via Kusto queries and knowing if the issue is impacting all web front-end servers/instances or just one can be extremely important.
@@ -255,7 +256,7 @@ In addition, Application Map only supports up to 1000 separate ungrouped nodes r
255256

256257
To fix this, you'll need to change your instrumentation to properly set the cloud role name, dependency type, and dependency target fields.
257258

258-
* Dependency target should represent the logical name of a dependency. In many cases, its equivalent to the server or resource name of the dependency. For example, in the case of HTTP dependencies it is set to the hostname. It should not contain unique IDs or parameters that change from one request to another.
259+
* Dependency target should represent the logical name of a dependency. In many cases, it's equivalent to the server or resource name of the dependency. For example, in the case of HTTP dependencies it is set to the hostname. It should not contain unique IDs or parameters that change from one request to another.
259260

260261
* Dependency type should represent the logical type of a dependency. For example, HTTP, SQL or Azure Blob are typical dependency types. It should not contain unique IDs.
261262

articles/azure-resource-manager/management/azure-subscription-service-limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Azure subscription limits and quotas
33
description: Provides a list of common Azure subscription and service limits, quotas, and constraints. This article includes information on how to increase limits along with maximum values.
44
ms.topic: conceptual
5-
ms.date: 03/26/2020
5+
ms.date: 04/03/2020
66
---
77

88
# Azure subscription and service limits, quotas, and constraints

articles/cognitive-services/Speech-Service/get-started.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ manager: nitinme
99
ms.service: cognitive-services
1010
ms.subservice: speech-service
1111
ms.topic: conceptual
12-
ms.date: 02/26/2020
12+
ms.date: 04/03/2020
1313
ms.author: erhopf
1414
ms.custom: seodec18, seo-javascript-october2019
1515
---
1616

17-
# Try the Speech service for free
17+
# Try the Speech service for free''
1818

1919
In this article, you choose an option to easily test the Speech service free of charge so you can discover what the service can do, and decide whether it's right for your needs. Choose one of the two following options depending on your situation and use-case:
2020

@@ -93,4 +93,4 @@ Complete one of our 10-minute quickstarts or check out our SDK samples:
9393

9494
> [!div class="nextstepaction"]
9595
> [Quickstart: Recognize speech in C#](~/articles/cognitive-services/Speech-Service/quickstarts/speech-to-text-from-microphone.md?pivots=programming-language-csharp&tabs=dotnet)
96-
> [Speech SDK samples](speech-sdk.md#get-the-samples)
96+
> [Speech SDK samples](speech-sdk.md#sample-source-code)

articles/cognitive-services/Speech-Service/how-to-migrate-from-bing-speech.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ manager: nitinme
99
ms.service: cognitive-services
1010
ms.subservice: speech-service
1111
ms.topic: conceptual
12-
ms.date: 03/17/2020
12+
ms.date: 04/03/2020
1313
ms.author: nitinme
1414

1515
# Customer intent: As a developer currently using the deprecated Bing Speech, I want to learn the differences between Bing Speech and the Speech service, so that I can migrate my application to the Speech service.
@@ -91,4 +91,4 @@ For Speech service, SDK, and API support, visit the Speech service [support page
9191
## See also
9292
* [Speech service release notes](releasenotes.md)
9393
* [What is the Speech service](overview.md)
94-
* [Speech service and Speech SDK documentation](speech-sdk.md#get-the-sdk)
94+
* [Speech service and Speech SDK documentation](speech-sdk.md#get-the-speech-sdk)
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
author: IEvangelist
3+
ms.service: cognitive-services
4+
ms.topic: include
5+
ms.date: 03/27/2020
6+
ms.author: dapine
7+
---
8+
9+
:::row:::
10+
:::column span="3":::
11+
When developing for Android, there are two Speech SDKs available. The Java Speech SDK is available natively as an Android package, or the .NET Speech SDK could be used with **Xamarin.Android** as it implements .NET Standard 2.0.
12+
:::column-end:::
13+
:::column:::
14+
<br>
15+
<div class="icon is-large">
16+
<img alt="Android" src="https://docs.microsoft.com/media/logos/logo_android.svg" width="60px">
17+
</div>
18+
:::column-end:::
19+
:::row-end:::
20+
21+
# [Android Studio](#tab/android-studio)
22+
23+
[!INCLUDE [get-speech-sdk-dotnet](get-speech-sdk-java.md)]
24+
25+
# [Xamarin.Android](#tab/android-xamarin)
26+
27+
:::row:::
28+
:::column span="3":::
29+
Xamarin.Android exposes the complete Android SDK for .NET developers. Build fully native Android apps using C# or F# in Visual Studio. For more information, see <a href="https://docs.microsoft.com/xamarin/android/" target="_blank">Xamarin.Android <span class="docon docon-navigate-external x-hidden-focus"></span></a>
30+
:::column-end:::
31+
:::column:::
32+
<br>
33+
<div class="icon is-large">
34+
<img alt="Xamarin" src="https://docs.microsoft.com/media/logos/logo_xamarin.svg" width="60px">
35+
&nbsp; ❤️ &nbsp;
36+
<img alt="Android" src="https://docs.microsoft.com/media/logos/logo_android.svg" width="60px">
37+
</div>
38+
:::column-end:::
39+
:::row-end:::
40+
41+
[!INCLUDE [get-speech-sdk-dotnet](get-speech-sdk-dotnet.md)]
42+
43+
---
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
author: IEvangelist
3+
ms.service: cognitive-services
4+
ms.topic: include
5+
ms.date: 03/27/2020
6+
ms.author: dapine
7+
---
8+
9+
:::row:::
10+
:::column span="3":::
11+
The JavaScript Speech SDK is available as an npm package, see <a href="https://www.npmjs.com/package/microsoft-cognitiveservices-speech-sdk" target="_blank">microsoft-cognitiveservices-speech-sdk <span class="docon docon-navigate-external x-hidden-focus"></span></a> and it's companion GitHub repository <a href="https://github.com/Microsoft/cognitive-services-speech-sdk-js" target="_blank">cognitive-services-speech-sdk-js <span class="docon docon-navigate-external x-hidden-focus"></span></a>.
12+
:::column-end:::
13+
:::column:::
14+
<br>
15+
<div class="icon is-large">
16+
<img alt="JavaScript" src="https://docs.microsoft.com/media/logos/logo_js.svg" width="60px">
17+
</div>
18+
:::column-end:::
19+
:::row-end:::
20+
21+
> [!TIP]
22+
> Although the JavaScript Speech SDK is available as an npm package, thus both client web browsers and Node.js can consume it - consider the various architectural implications of each environment. For example, the <a href="https://en.wikipedia.org/wiki/Document_Object_Model" target="_blank">document object model (DOM) <span class="docon docon-navigate-external x-hidden-focus"></span></a> is not available for server-side applications just as the <a href="https://nodejs.org/api/fs.html" target="_blank">file system <span class="docon docon-navigate-external x-hidden-focus"></span></a> is not available to client-side applications.
23+
24+
### Node.js Package Manager (NPM)
25+
26+
To install the JavaScript Speech SDK, run the following `npm install` command below.
27+
28+
```nodejs
29+
npm install microsoft-cognitiveservices-speech-sdk
30+
```
31+
32+
### HTML script tag
33+
34+
Alternatively, you could directly include a `<script>` tag in the HTMLs `<head>` element, relying on the <a href="https://www.jsdelivr.com/package/npm/microsoft-cognitiveservices-speech-sdk" target="_blank">**JSDelivr** NPM syndicate <span class="docon docon-navigate-external x-hidden-focus"></span></a>.
35+
36+
```html
37+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/distrib/lib/microsoft.cognitiveservices.speech.sdk.min.js">
38+
</script>
39+
```
40+
41+
For more information, see the <a href="https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/quickstart/javascript/browser" target="_blank">Web Browser Speech SDK quickstart <span class="docon docon-navigate-external x-hidden-focus"></span></a>.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
author: IEvangelist
3+
ms.service: cognitive-services
4+
ms.topic: include
5+
ms.date: 03/27/2020
6+
ms.author: dapine
7+
---
8+
9+
:::row:::
10+
:::column span="3":::
11+
The C++ Speech SDK is available on Windows, Linux, and macOS. For more information, see <a href="https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech" target="_blank">Microsoft.CognitiveServices.Speech <span class="docon docon-navigate-external x-hidden-focus"></span></a>.
12+
:::column-end:::
13+
:::column:::
14+
<br>
15+
<div class="icon is-large">
16+
<img alt="C++" src="https://docs.microsoft.com/media/logos/logo_Cplusplus.svg" width="60px">
17+
</div>
18+
:::column-end:::
19+
:::row-end:::
20+
21+
#### C++ NuGet package
22+
23+
The C++ Speech SDK can be installed from the **Package Manager** with the following `Install-Package` command.
24+
25+
```powershell
26+
Install-Package Microsoft.CognitiveServices.Speech
27+
```
28+
29+
#### C++ binaries and header files
30+
31+
Alternatively, the C++ Speech SDK can be installed from binaries. Download the SDK as a <a href="https://aka.ms/csspeech/linuxbinary" target="_blank">.tar package <span class="docon docon-navigate-external x-hidden-focus"></span></a> and unpack the files in a directory of your choice. The contents of this package (which include header files for both x86 and x64 target architectures) are structured as follows:
32+
33+
| Path | Description |
34+
|------------------------|------------------------------------------------------|
35+
| `license.md` | License |
36+
| `ThirdPartyNotices.md` | Third-party notices |
37+
| `include` | Header files for C++ |
38+
| `lib/x64` | Native x64 library for linking with your application |
39+
| `lib/x86` | Native x86 library for linking with your application |
40+
41+
To create an application, copy or move the required binaries (and libraries) into your development environment. Include them as required in your build process.
42+
43+
#### Additional resources
44+
45+
- <a href="https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/quickstart/cpp" target="_blank">Windows, Linux, and macOS quickstart C++ source code <span class="docon docon-navigate-external x-hidden-focus"></span></a>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
author: IEvangelist
3+
ms.service: cognitive-services
4+
ms.topic: include
5+
ms.date: 03/27/2020
6+
ms.author: dapine
7+
---
8+
9+
:::row:::
10+
:::column span="3":::
11+
The .NET Speech SDK is available as a NuGet package and implements .NET Standard 2.0, for more information, see <a href="https://www.nuget.org/packages/Microsoft.CognitiveServices.Speech" target="_blank">Microsoft.CognitiveServices.Speech <span class="docon docon-navigate-external x-hidden-focus"></span></a>.
12+
:::column-end:::
13+
:::column:::
14+
<br>
15+
<div class="icon is-large">
16+
<img alt="C#" src="https://docs.microsoft.com/media/logos/logo_Csharp.svg" width="60px">
17+
</div>
18+
:::column-end:::
19+
:::row-end:::
20+
21+
#### C# NuGet Package
22+
23+
The .NET Speech SDK can be installed from the **.NET Core CLI** with the following `dotnet add` command.
24+
25+
```dotnetcli
26+
dotnet add package Microsoft.CognitiveServices.Speech
27+
```
28+
29+
The .NET Speech SDK can be installed from the **Package Manager** with the following `Install-Package` command.
30+
31+
```powershell
32+
Install-Package Microsoft.CognitiveServices.Speech
33+
```
34+
35+
#### Additional resources
36+
37+
- <a href="https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/quickstart/csharp" target="_blank">.NET Core, .NET Framework, Unity, UWP, and Xamarin quickstart C# source code <span class="docon docon-navigate-external x-hidden-focus"></span></a>

0 commit comments

Comments
 (0)