Skip to content

Commit 6236c95

Browse files
authored
Merge pull request #134689 from baanders/10-20-fixes
ADT- Fixes
2 parents 1565f41 + aca7743 commit 6236c95

File tree

5 files changed

+15
-17
lines changed

5 files changed

+15
-17
lines changed

articles/digital-twins/how-to-manage-routes-apis-cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Once you have created the topic, you can link it to Azure Digital Twins with the
6565
az dt endpoint create eventgrid --endpoint-name <Event-Grid-endpoint-name> --eventgrid-resource-group <Event-Grid-resource-group-name> --eventgrid-topic <your-Event-Grid-topic-name> -n <your-Azure-Digital-Twins-instance-name>
6666
```
6767
68-
Now, the event grid topic is available as an endpoint inside of Azure Digital Twins, under the name specified with the `--endpoint-name` argument. You will typically use that name as the target of an **event route**, which you'll create [later in this article](#event-routes-with-apis-and-the-c-sdk) using the Azure Digital Twins service API.
68+
Now, the event grid topic is available as an endpoint inside of Azure Digital Twins, under the name specified with the `--endpoint-name` argument. You will typically use that name as the target of an **event route**, which you'll create [later in this article](#create-an-event-route) using the Azure Digital Twins service API.
6969

7070
### Create an Event Hubs or Service Bus endpoint
7171

@@ -152,7 +152,7 @@ Here is an example of a dead-letter message for a [twin create notification](how
152152
}
153153
```
154154

155-
## Event routes (with APIs and the C# SDK)
155+
## Create an event route
156156

157157
To actually send data from Azure Digital Twins to an endpoint, you'll need to define an **event route**. Azure Digital Twins **EventRoutes APIs** let developers wire up event flow, throughout the system and to downstream services. Read more about event routes in [*Concepts: Routing Azure Digital Twins events*](concepts-route-events.md).
158158

@@ -165,7 +165,7 @@ The samples in this section use the [.NET (C#) SDK](https://www.nuget.org/packag
165165
>
166166
> If you are scripting this flow, you may want to account for this by building in 2-3 minutes of wait time for the endpoint service to finish deploying before moving on to route setup.
167167
168-
### Create an event route
168+
### Creation code with APIs and the C# SDK
169169

170170
Event routes are defined using [data plane APIs](how-to-use-apis-sdks.md#overview-data-plane-apis).
171171

@@ -221,7 +221,7 @@ catch (RequestFailedException e)
221221
}
222222
```
223223

224-
### Filter events
224+
## Filter events
225225

226226
Without filtering, endpoints receive a variety of events from Azure Digital Twins:
227227
* Telemetry fired by [digital twins](concepts-twins-graph.md) using the Azure Digital Twins service API

articles/digital-twins/how-to-manage-routes-portal.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ You can also view the endpoint that was created back on the *Endpoints* page for
7373

7474
If the endpoint creation fails, observe the error message and retry after a few minutes.
7575

76-
Now, the event grid topic is available as an endpoint inside of Azure Digital Twins, under the name specified in the _Name_ field. You will typically use that name as the target of an **event route**, which you'll create [later in this article](#event-routes).
76+
Now, the event grid topic is available as an endpoint inside of Azure Digital Twins, under the name specified in the _Name_ field. You will typically use that name as the target of an **event route**, which you'll create [later in this article](#create-an-event-route).
7777

7878
### Create an Event Hubs endpoint
7979

@@ -95,7 +95,7 @@ You can verify that the endpoint is successfully created by checking the notific
9595

9696
If the endpoint creation fails, observe the error message and retry after a few minutes.
9797

98-
Now, the Event hub is available as an endpoint inside of Azure Digital Twins, under the name specified in the _Name_ field. You will typically use that name as the target of an **event route**, which you'll create [later in this article](#event-routes).
98+
Now, the Event hub is available as an endpoint inside of Azure Digital Twins, under the name specified in the _Name_ field. You will typically use that name as the target of an **event route**, which you'll create [later in this article](#create-an-event-route).
9999

100100
### Create a Service Bus endpoint
101101

@@ -117,7 +117,7 @@ You can verify that the endpoint is successfully created by checking the notific
117117

118118
If the endpoint creation fails, observe the error message and retry after a few minutes.
119119

120-
Now, the Service Bus topic is available as an endpoint inside of Azure Digital Twins, under the name specified in the _Name_ field. You will typically use that name as the target of an **event route**, which you'll create [later in this article](#event-routes).
120+
Now, the Service Bus topic is available as an endpoint inside of Azure Digital Twins, under the name specified in the _Name_ field. You will typically use that name as the target of an **event route**, which you'll create [later in this article](#create-an-event-route).
121121

122122
### Create an endpoint with dead-lettering
123123

@@ -127,7 +127,7 @@ In order to create an endpoint with dead-lettering enabled, you must use the [AR
127127

128128
For instructions on how to do this with the APIs, see the [*APIs and CLI*](how-to-manage-routes-apis-cli.md#create-an-endpoint-with-dead-lettering) version of this article.
129129

130-
## Event routes
130+
## Create an event route
131131

132132
To actually send data from Azure Digital Twins to an endpoint, you'll need to define an **event route**. These routes let developers wire up event flow, throughout the system and to downstream services. Read more about event routes in [*Concepts: Routing Azure Digital Twins events*](concepts-route-events.md).
133133

@@ -136,7 +136,7 @@ To actually send data from Azure Digital Twins to an endpoint, you'll need to de
136136
>[!NOTE]
137137
>If you have recently deployed your endpoints, validate that they're finished deploying **before** attempting to use them for a new event route. If you're unable to set up the route because the endpoints aren't ready, wait a few minutes and try again.
138138
139-
### Create an event route
139+
### Creation steps with the Azure portal
140140

141141
An event route definition contains these elements:
142142
* The route name you want to use
@@ -162,7 +162,7 @@ For the route to be enabled, you must also **Add an event route filter** of at l
162162

163163
When finished, hit the _Save_ button to create your event route.
164164

165-
### Filter events
165+
## Filter events
166166

167167
As described above, routes have a **filter** field. If the filter value on your route is `false`, no events will be sent to your endpoint.
168168

-99.6 KB
Loading

articles/digital-twins/quickstart-adt-explorer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ First, **set up an Azure Digital Twins instance** and the required authenticatio
5454
* After setting up your Azure Digital Twins instance, you'll need the instance's **_host name_** ([find in portal](how-to-set-up-instance-portal.md#verify-success-and-collect-important-values)).
5555

5656
To authenticate the ADT Explorer application, you'll also need to set up an **app registration**. Follow the instructions in [*How-to: Create an app registration*](how-to-create-app-registration.md) to set this up.
57-
* Once you have an app registration, you'll need the registration's **_Application (client) ID_** and **_Directory (tenant) ID_** ([find these in the portal](how-to-create-app-registration.md#collect-client-id-and-tenant-id).
57+
* Once you have an app registration, you'll need the registration's **_Application (client) ID_** and **_Directory (tenant) ID_** ([find these in the portal](how-to-create-app-registration.md#collect-client-id-and-tenant-id)).
5858

5959
### Set ADT Explorer permissions
6060

includes/digital-twins-tutorial-sample-configure.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,21 @@ Navigate on your machine to file you downloaded earlier from [*Azure Digital Twi
1515

1616
Once inside the folder, navigate into _AdtSampleApp_. Open _**AdtE2ESample.sln**_ in Visual Studio 2019.
1717

18-
In Visual Studio, use the *Solution Explorer* pane to create a copy of the _SampleClientApp > **serviceConfig.json.TEMPLATE**_ file (you can use the right-select menus to copy and paste). Rename the copy *serviceConfig.json*. This will serve as a pre-set JSON file with the necessary configuration variables to run the project.
18+
In Visual Studio, select the _SampleClientApp > **appsettings.json**_ file to open it in the editing window. This will serve as a pre-set JSON file with the necessary configuration variables to run the project.
1919

20-
Select the *serviceConfig.json* file to open it in the editing window. Change the `instanceUrl` to your Azure Digital Twins instance *hostName* URL (with *https://* in front of it as shown below).
20+
In the file body, change the `instanceUrl` to your Azure Digital Twins instance *hostName* URL (with *https://* in front of it as shown below).
2121

2222
```json
2323
{
2424
"instanceUrl": "https://<your-Azure-Digital-Twins-instance-hostName>"
2525
}
2626
```
2727

28-
29-
3028
Save and close the file.
3129

32-
Next, configure the *serviceConfig.json* file to be copied to the output directory when you build the *SampleClientApp*. To do this, right-select the *serviceConfig.json* file, and choose *Properties.* In the *Properties* inspector, change the value of the *Copy to Output Directory* property to *Copy if newer*.
30+
Next, configure the *appsettings.json* file to be copied to the output directory when you build the *SampleClientApp*. To do this, right-select the *appsettings.json* file, and choose *Properties.* In the *Properties* inspector, change the value of the *Copy to Output Directory* property to *Copy if newer*.
3331

34-
:::image type="content" source="../articles/digital-twins/media/includes/copy-config.png" alt-text="Excerpt from Visual Studio window showing the Solution Explorer pane with serviceConfig.json highlighted, and the Properties pane with 'Copy to Output Directory' property set to 'Copy if newer'" border="false":::
32+
:::image type="content" source="../articles/digital-twins/media/includes/copy-config.png" alt-text="Excerpt from Visual Studio window showing the Solution Explorer pane with appsettings.json highlighted, and the Properties pane with 'Copy to Output Directory' property set to 'Copy if newer'" border="false":::
3533

3634
Keep the _**AdtE2ESample**_ project open in Visual Studio to continue using it in the tutorial.
3735

0 commit comments

Comments
 (0)