You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
69
69
70
70
### Create an Event Hubs or Service Bus endpoint
71
71
@@ -152,7 +152,7 @@ Here is an example of a dead-letter message for a [twin create notification](how
152
152
}
153
153
```
154
154
155
-
## Event routes (with APIs and the C# SDK)
155
+
## Create an event route
156
156
157
157
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).
158
158
@@ -165,7 +165,7 @@ The samples in this section use the [.NET (C#) SDK](https://www.nuget.org/packag
165
165
>
166
166
> 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.
167
167
168
-
### Create an event route
168
+
### Creation code with APIs and the C# SDK
169
169
170
170
Event routes are defined using [data plane APIs](how-to-use-apis-sdks.md#overview-data-plane-apis).
Copy file name to clipboardExpand all lines: articles/digital-twins/how-to-manage-routes-portal.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ You can also view the endpoint that was created back on the *Endpoints* page for
73
73
74
74
If the endpoint creation fails, observe the error message and retry after a few minutes.
75
75
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).
77
77
78
78
### Create an Event Hubs endpoint
79
79
@@ -95,7 +95,7 @@ You can verify that the endpoint is successfully created by checking the notific
95
95
96
96
If the endpoint creation fails, observe the error message and retry after a few minutes.
97
97
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).
99
99
100
100
### Create a Service Bus endpoint
101
101
@@ -117,7 +117,7 @@ You can verify that the endpoint is successfully created by checking the notific
117
117
118
118
If the endpoint creation fails, observe the error message and retry after a few minutes.
119
119
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).
121
121
122
122
### Create an endpoint with dead-lettering
123
123
@@ -127,7 +127,7 @@ In order to create an endpoint with dead-lettering enabled, you must use the [AR
127
127
128
128
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.
129
129
130
-
## Event routes
130
+
## Create an event route
131
131
132
132
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).
133
133
@@ -136,7 +136,7 @@ To actually send data from Azure Digital Twins to an endpoint, you'll need to de
136
136
>[!NOTE]
137
137
>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.
138
138
139
-
### Create an event route
139
+
### Creation steps with the Azure portal
140
140
141
141
An event route definition contains these elements:
142
142
* 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
162
162
163
163
When finished, hit the _Save_ button to create your event route.
164
164
165
-
###Filter events
165
+
## Filter events
166
166
167
167
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.
Copy file name to clipboardExpand all lines: articles/digital-twins/quickstart-adt-explorer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ First, **set up an Azure Digital Twins instance** and the required authenticatio
54
54
* 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)).
55
55
56
56
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)).
Copy file name to clipboardExpand all lines: includes/digital-twins-tutorial-sample-configure.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,23 +15,21 @@ Navigate on your machine to file you downloaded earlier from [*Azure Digital Twi
15
15
16
16
Once inside the folder, navigate into _AdtSampleApp_. Open _**AdtE2ESample.sln**_ in Visual Studio 2019.
17
17
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.
19
19
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).
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*.
33
31
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":::
35
33
36
34
Keep the _**AdtE2ESample**_ project open in Visual Studio to continue using it in the tutorial.
0 commit comments