Skip to content

Commit aaa0eb7

Browse files
committed
Freshness review
1 parent e5637e7 commit aaa0eb7

4 files changed

+33
-30
lines changed

articles/azure-relay/relay-hybrid-connections-http-requests-dotnet-get-started.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
2-
title: Azure Relay Hybrid Connections - HTTP requests in .NET
3-
description: Write a C# console application for Azure Relay Hybrid Connections HTTP requests in .NET.
2+
title: Hybrid Connections - HTTP requests in .NET
3+
description: Provides step-by-step instructions to create a C# console application for Azure Relay Hybrid Connections HTTP requests in .NET.
44
ms.topic: tutorial
55
ms.custom: devx-track-csharp, mode-ui, mode-api, devx-track-dotnet
66
ms.date: 12/11/2024
7+
# Customer intent: I want to learn how to create a .NET app to send and receive messages by using the HTTP protocol.
78
---
89

9-
# Get started with Relay Hybrid Connections HTTP requests in .NET
10+
# Tutorial: Get started with Relay Hybrid Connections HTTP requests in .NET
1011
[!INCLUDE [relay-selector-hybrid-connections](./includes/relay-selector-hybrid-connections.md)]
1112

1213
In this quickstart, you create .NET sender and receiver applications that send and receive messages by using the HTTP protocol. The applications use Hybrid Connections feature of Azure Relay. To learn about Azure Relay in general, see [Azure Relay](relay-what-is-it.md).
@@ -53,7 +54,7 @@ In Visual Studio, write a C# console application to send messages to the relay.
5354
3. Now, to close the console windows, press **ENTER** in both the console windows.
5455
5556
56-
## Next steps
57+
## Related content
5758
5859
In this quickstart, you created .NET client and server applications that used HTTP to send and receive messages. The Hybrid Connections feature of Azure Relay also supports using WebSockets to send and receive messages. To learn how to use WebSockets with Azure Relay Hybrid Connections, see the [WebSockets quickstart](relay-hybrid-connections-dotnet-get-started.md).
5960

articles/azure-relay/relay-hybrid-connections-protocol.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ platform. The new _Hybrid Connections_ capability of Relay is a secure,
1212
open-protocol evolution based on HTTP and WebSockets. It supersedes the former,
1313
equally named _BizTalk Services_ feature that was built on a proprietary
1414
protocol foundation. The integration of Hybrid Connections into Azure App
15-
Services will continue to function as-is.
15+
Services continue to function as-is.
1616

1717
Hybrid Connections enables bi-directional, request-response, and binary stream communication, and
1818
simple datagram flow between two networked applications. Either or
@@ -42,7 +42,7 @@ to be accepted for establishing a bi-directional communication path. "Connect,"
4242
"Listen," and "Accept" are the same terms you find in most socket APIs.
4343

4444
Any relayed communication model has either party making outbound connections
45-
towards a service endpoint. This makes the "listener" also a "client" in
45+
towards a service endpoint. It makes the "listener" also a "client" in
4646
colloquial use, and might also cause other terminology overloads. The precise
4747
terminology therefore used for Hybrid Connections is as follows:
4848

@@ -125,7 +125,7 @@ to a rendezvous WebSocket using a gesture equivalent to handling the
125125
[Accept](#accept-message).
126126

127127
For requests, the service decides whether to route requests over the control
128-
channel. This includes, but might not be limited to cases where a request exceeds
128+
channel. It includes, but might not be limited to cases where a request exceeds
129129
64 kB (headers plus body) outright, or if the request is sent with ["chunked"
130130
transfer-encoding](https://tools.ietf.org/html/rfc7230#section-4.1) and the
131131
service has reason to expect for the request to exceed 64 kB or reading the
@@ -145,10 +145,10 @@ response over the established rendezvous socket.
145145

146146
Once the rendezvous WebSocket has been established, the listener SHOULD
147147
maintain it for further handling of requests and responses from the same
148-
client. The service will maintain the WebSocket for as long as the HTTPS socket
149-
connection with the sender persists and will route all subsequent requests from
148+
client. The service maintains the WebSocket for as long as the HTTPS socket
149+
connection with the sender persists and routes all subsequent requests from
150150
that sender over the maintained WebSocket. If the listener chooses to drop the
151-
rendezvous WebSocket from its side, the service will also drop the connection
151+
rendezvous WebSocket from its side, the service also drops the connection
152152
to the sender, irrespective of whether a subsequent request might already be
153153
in progress.
154154

@@ -164,7 +164,7 @@ maintained for extended periods.
164164
#### Ping operation
165165

166166
If the control channel stays idle for a long time, intermediaries on the way,
167-
such as load balancers or NATs may drop the TCP connection. The "ping"
167+
such as load balancers or NATs might drop the TCP connection. The "ping"
168168
operation avoids that by sending a small amount of data on the channel that
169169
reminds everyone on the network route that the connection is meant to be alive,
170170
and it also serves as a "live" test for the listener. If the ping fails, the
@@ -279,7 +279,7 @@ The query string parameter options are as follows.
279279
If the WebSocket connection fails due to the Hybrid Connection path not being
280280
registered, or an invalid or missing token, or some other error, the error
281281
feedback is provided using the regular HTTP 1.1 status feedback model. The
282-
status description contains an error tracking-id that can be communicated to
282+
status description contains an error tracking ID that can be communicated to
283283
Azure support personnel:
284284

285285
| Code | Error | Description
@@ -308,7 +308,7 @@ The "accept" notification is sent by the service to the listener over the
308308
previously established control channel as a JSON message in a WebSocket text
309309
frame. There's no reply to this message.
310310

311-
The message contains a JSON object named "accept", which defines the following
311+
The message contains a JSON object named `accept`, which defines the following
312312
properties at this time:
313313

314314
* **address** – the URL string to be used for establishing the WebSocket to the
@@ -362,7 +362,7 @@ following parameters:
362362
Connection on which to register this listener. This expression is appended to the
363363
fixed `$hc/` path portion.
364364

365-
The `path` expression may be extended with a suffix and a query string
365+
The `path` expression might be extended with a suffix and a query string
366366
expression that follows the registered name after a separating forward slash.
367367
This parameter enables the sender client to pass dispatch arguments to the accepting
368368
listener when it isn't possible to include HTTP headers. The expectation is
@@ -430,7 +430,7 @@ The `request` consists of two parts: a header and binary body frame(s).
430430
If there's no body, the body frames are omitted. The boolean `body` property indicates whether a body is present in the request
431431
message.
432432

433-
For a request with a request body, the structure may look like this:
433+
For a request with a request body, the structure might look like this:
434434

435435
``` text
436436
----- Web Socket text frame ----
@@ -522,7 +522,7 @@ The JSON content for `request` is as follows:
522522
The receiver MUST respond. Repeated failure to respond to requests while
523523
maintaining the connection might result in the listener getting blocked.
524524

525-
Responses may be sent in any order, but each request must be responded to
525+
Responses might be sent in any order, but each request must be responded to
526526
within 60 seconds or the delivery will be reported as having failed. The
527527
60-second deadline is counted until the `response` frame has been received
528528
by the service. An ongoing response with multiple binary frames can't
@@ -532,15 +532,15 @@ If the request is received over the control channel, the response MUST
532532
either be sent on the control channel from where the request was received
533533
or it MUST be sent over a rendezvous channel.
534534

535-
The response is a JSON object named "response". The rules for handling
535+
The response is a JSON object named `response`. The rules for handling
536536
body content are exactly like with the `request` message and based on
537537
the `body` property.
538538

539539
* **requestId** – string. REQUIRED. The `id` property value of the `request` message being
540540
responded to.
541541
* **statusCode** – number. REQUIRED. a numerical HTTP status code that indicates the outcome of
542542
the notification. All status codes of [RFC7231, Section 6](https://tools.ietf.org/html/rfc7231#section-6)
543-
are permitted, except for [502 "Bad Gateway"](https://tools.ietf.org/html/rfc7231#section-6.6.3) and [504 "Gateway Timeout"](https://tools.ietf.org/html/rfc7231#section-6.6.5).
543+
are permitted, except for [502 "Bad Gateway"](https://tools.ietf.org/html/rfc7231#section-6.6.3) and [504 - Gateway Timeout](https://tools.ietf.org/html/rfc7231#section-6.6.5).
544544
* **statusDescription** - string. OPTIONAL. HTTP status-code reason phrase per [RFC7230, Section 3.1.2](https://tools.ietf.org/html/rfc7230#section-3.1.2)
545545
* **responseHeaders** – HTTP headers to be set in an external HTTP reply.
546546
As with the `request`, RFC7230 defined headers MUST NOT be used.
@@ -658,7 +658,7 @@ The query string parameter options are as follows:
658658
extended with a suffix and a query string expression to communicate further. If
659659
the Hybrid Connection is registered under the path `hyco`, the `path`
660660
expression can be `hyco/suffix?param=value&...` followed by the query string
661-
parameters defined here. A complete expression may then be as follows:
661+
parameters defined here. A complete expression might then be as follows:
662662

663663
```
664664
wss://{namespace-address}/$hc/hyco/suffix?param=value&sb-hc-action=...[&sb-hc-id=...&]sb-hc-token=...

articles/azure-relay/service-bus-dotnet-hybrid-app-using-service-bus-relay.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
2-
title: Azure Windows Communication Foundation (WCF) Relay hybrid on-premises/cloud application (.NET) | Microsoft Docs
2+
title: WCF Relay hybrid on-premises/cloud application (.NET)
33
description: Learn how to expose an on-premises WCF service to a web application in the cloud by using Azure Relay
4-
ms.topic: conceptual
4+
ms.topic: tutorial
55
ms.custom: devx-track-csharp, devx-track-dotnet
6-
ms.date: 08/10/2023
6+
ms.date: 12/11/2024
7+
# Customer intent: I want to know how to expose an on-premises WCF service to a web application in the cloud by using Azure Relay.
78
---
89

9-
# Expose an on-premises WCF service to a web application in the cloud by using Azure Relay
10+
# Tutorial: Expose an on-premises WCF service to a web application in the cloud by using Azure Relay
1011

1112
This article shows how to build a hybrid cloud application with Microsoft Azure and Visual Studio. You create an application that uses multiple Azure resources in the cloud. This tutorial helps you learn:
1213

@@ -48,7 +49,7 @@ In this tutorial, you create an ASP.NET website that enables you to see a list o
4849

4950
![Scenario][0]
5051

51-
The tutorial assumes that you have product information in an existing on-premises system, and uses Azure Relay to reach into that system. A web service that runs in a simple console application simulates this situation. It contains an in-memory set of products. You can run this console application on your own computer and deploy the web role into Azure. By doing so, you'll see how the web role running in the Azure datacenter calls into your computer. This call happens even though your computer will almost certainly be behind at least one firewall and a network address translation (NAT) layer.
52+
The tutorial assumes that you have product information in an existing on-premises system, and uses Azure Relay to reach into that system. A web service that runs in a simple console application simulates this situation. It contains an in-memory set of products. You can run this console application on your own computer and deploy the web role into Azure. By doing so, you see how the web role running in the Azure datacenter calls into your computer. This call happens even though your computer will almost certainly be behind at least one firewall and a network address translation (NAT) layer.
5253

5354
## Set up the development environment
5455

@@ -69,7 +70,7 @@ The first step is to create a namespace, and to obtain a [Shared Access Signatur
6970

7071
## Create an on-premises server
7172

72-
First, you build a simulated on-premises product catalog system. This project is a Visual Studio console application, and uses the [Azure Service Bus NuGet package](https://www.nuget.org/packages/WindowsAzure.ServiceBus/) to include the Service Bus libraries and configuration settings. <a name="create-the-project"></a>
73+
First, you build a simulated on-premises product catalog system. This project is a Visual Studio console application, and uses the [Azure Service Bus NuGet package](https://www.nuget.org/packages/WindowsAzure.ServiceBus/) to include the Service Bus libraries and configuration settings. <a name="create-the-project"></a>
7374

7475
1. Start Microsoft Visual Studio as an administrator. To do so, right-click the Visual Studio program icon, and select **Run as administrator**.
7576
1. In Visual Studio, select **Create a new project**.
@@ -233,7 +234,7 @@ In this section, you build a simple ASP.NET application that displays data retri
233234
1. In Visual Studio, select **Create a new project**.
234235
1. In **Create a new project**, select **ASP.NET Web Application (.NET Framework)** for C# and select **Next**.
235236
1. Name the project *ProductsPortal* and select **Create**.
236-
1. In **Create a new ASP.NET Web Application**, choose **MVC** and select **Change** under **Authentication**.
237+
1. In **Create a new ASP.NET Web Application**, choose **MVC, and select **Change** under **Authentication**.
237238

238239
![Select ASP .NET Web Application][16]
239240

@@ -431,7 +432,7 @@ The next step is to republish the Azure Web app **ProductsPortal** front end:
431432
> You may see an error message in the browser window when the **ProductsPortal** web project is automatically launched after the deployment. This is expected, and occurs because the **ProductsServer** application isn't running yet.
432433
>
433434

434-
1. Copy the URL of the deployed web app. You'll need the URL later. You can also get this URL from the **Azure App Service Activity** window in Visual Studio:
435+
1. Copy the URL of the deployed web app. You need the URL later. You can also get this URL from the **Azure App Service Activity** window in Visual Studio:
435436

436437
![URL of the deployed app][9]
437438

@@ -463,7 +464,7 @@ In the browser, refresh the **ProductsPortal** page. Each time you refresh the p
463464

464465
![Updated output][38]
465466

466-
## Next steps
467+
## Next step
467468

468469
Advance to the following tutorial:
469470

articles/azure-relay/service-bus-relay-rest-tutorial.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ title: 'Tutorial: REST tutorial using Azure Relay'
33
description: 'Tutorial: Build an Azure Relay host application that exposes a REST-based interface.'
44
ms.topic: tutorial
55
ms.custom: devx-track-csharp
6-
ms.date: 08/11/2023
6+
ms.date: 12/11/2024
7+
# Customer intent: I want to learn how to build an Azure Relay host application that exposes a REST-based interface.
78
---
89

910
# Tutorial: Azure WCF Relay REST tutorial
@@ -619,7 +620,7 @@ After building the solution, do the following to run the application:
619620
1. Copy and paste the address from the command prompt into a browser to see the image.
620621
1. When you're finished, select Enter in the command prompt window to close the app.
621622

622-
## Next steps
623+
## Related content
623624

624625
Now that you've built an application that uses the Azure Relay service, see the following articles to learn more:
625626

0 commit comments

Comments
 (0)