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
In this quickstart, you download and run a code sample that demonstrates how an ASP.NET Core web app can sign in users from any Azure Active Directory (Azure AD) organization.
20
20
21
-
The following diagram shows how the sample app works:
22
-
23
-

21
+
See [How the sample works](#how-the-sample-works) for an illustration.
24
22
25
23
## Prerequisites
26
24
@@ -48,7 +46,6 @@ The following diagram shows how the sample app works:
48
46
49
47
#### Step 2: Download the ASP.NET Core project
50
48
51
-
52
49
[Download the ASP.NET Core solution](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/archive/aspnetcore3-1.zip)
@@ -91,6 +88,10 @@ After consenting to the requested permissions, the app displays that you've succ
91
88
92
89
This section gives an overview of the code required to sign in users and call the Microsoft Graph API on their behalf. This overview can be useful to understand how the code works, main arguments, and also if you want to add sign-in to an existing ASP.NET Core application and call Microsoft Graph. It uses [Microsoft.Identity.Web](../../microsoft-identity-web.md), which is a wrapper around [MSAL.NET](../../msal-overview.md).
93
90
91
+
### How the sample works
92
+
93
+

94
+
94
95
### Startup class
95
96
96
97
The *Microsoft.AspNetCore.Authentication* middleware uses a `Startup` class that's executed when the hosting process starts:
# Customer intent: As an application developer, I want to see a sample ASP.NET web app that can sign in Azure AD users.
17
17
---
18
18
19
-
In this quickstart, you download and run a code sample that demonstrates an ASP.NET web application that can sign in users with Azure Active Directory (Azure AD) accounts.
19
+
In this quickstart, you download and run a code sample that demonstrates an ASP.NET web application that can sign in users with Azure Active Directory (Azure AD) accounts.
20
20
21
-
The following diagram shows how the sample app works:
22
-
23
-

21
+
See [How the sample works](#how-the-sample-works) for an illustration.
24
22
25
23
## Prerequisites
26
24
@@ -55,13 +53,12 @@ If you want to manually configure your application and code sample, use the foll
55
53
56
54
#### Step 2: Download the project
57
55
58
-
59
-
[Download the Visual Studio 2019 solution](https://github.com/AzureADQuickStarts/AppModelv2-WebApp-OpenIDConnect-DotNet/archive/master.zip)
56
+
[Download the ASP.NET code sample](https://github.com/AzureADQuickStarts/AppModelv2-WebApp-OpenIDConnect-DotNet/archive/master.zip)
@@ -78,15 +84,15 @@ Provide the parameters in `exports.creds` in config.js as instructed.
78
84
* Update `exports.destroySessionUrl` in config.js, if you want to use a different `post_logout_redirect_uri`.
79
85
80
86
* Set `exports.useMongoDBSessionStore` in config.js to true, if you want to use [mongoDB](https://www.mongodb.com) or other [compatible session stores](https://github.com/expressjs/session#compatible-session-stores).
81
-
The default session store in this sample is `express-session`. The default session store is not suitable for production.
87
+
The default session store in this sample is `express-session`. The default session store isn't suitable for production.
82
88
83
89
* Update `exports.databaseUri`, if you want to use mongoDB session store and a different database URI.
84
90
85
91
* Update `exports.mongoDBSessionMaxAge`. Here you can specify how long you want to keep a session in mongoDB. The unit is second(s).
86
92
87
93
## Build and run the application
88
94
89
-
Start mongoDB service. If you are using mongoDB session store in this app, you have to [install mongoDB](http://www.mongodb.org/) and start the service first. If you are using the default session store, you can skip this step.
95
+
Start mongoDB service. If you're using mongoDB session store in this app, you have to [install mongoDB](http://www.mongodb.org/) and start the service first. If you're using the default session store, you can skip this step.
90
96
91
97
Run the app using the following command from your command line.
92
98
@@ -104,7 +110,7 @@ $ node app.js | bunyan
104
110
105
111
### You're done!
106
112
107
-
You will have a server successfully running on `http://localhost:3000`.
113
+
You'll have a server successfully running on `http://localhost:3000`.
108
114
109
115
[!INCLUDE [Help and support](../../../../../includes/active-directory-develop-help-support-include.md)]
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/management/manage-resource-groups-cli.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.author: jgao
8
8
ms.custom: devx-track-azurecli
9
9
---
10
10
11
-
# Manage Azure Resource Manager resource groups by using Azure CLI
11
+
# Manage Azure Resource Groups by using Azure CLI
12
12
13
13
Learn how to use Azure CLI with [Azure Resource Manager](overview.md) to manage your Azure resource groups. For managing Azure resources, see [Manage Azure resources by using Azure CLI](manage-resources-cli.md).
14
14
@@ -114,4 +114,4 @@ To manage access to a resource group, use [Azure role-based access control (Azur
114
114
## Next steps
115
115
116
116
- To learn Azure Resource Manager, see [Azure Resource Manager overview](overview.md).
117
-
- To learn the Resource Manager template syntax, see [Understand the structure and syntax of Azure Resource Manager templates](../templates/syntax.md).
117
+
- To learn the Resource Manager template syntax, see [Understand the structure and syntax of Azure Resource Manager templates](../templates/syntax.md).
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/management/manage-resource-groups-powershell.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
@@ -8,7 +8,7 @@ ms.author: jgao
8
8
ms.custom: devx-track-azurepowershell
9
9
10
10
---
11
-
# Manage Azure Resource Manager resource groups by using Azure PowerShell
11
+
# Manage Azure Resource Groups by using Azure PowerShell
12
12
13
13
Learn how to use Azure PowerShell with [Azure Resource Manager](overview.md) to manage your Azure resource groups. For managing Azure resources, see [Manage Azure resources by using Azure PowerShell](manage-resources-powershell.md).
> If you're running the functionversion other than v3.0, please check [Azure Functions runtime versions documentation](../azure-functions/functions-versions.md#languages) to set`--runtime-version` parameter to supported value.
> If you're running the functionversion other than v3.0, please check [Azure Functions runtime versions documentation](../azure-functions/functions-versions.md#languages) to set`--runtime` parameter to supported value.
> If you're running the functionversion other than v3.0, please check [Azure Functions runtime versions documentation](../azure-functions/functions-versions.md#languages) to set`--runtime-version` parameter to supported value.
> If you're running the functionversion other than v3.0, please check [Azure Functions runtime versions documentation](../azure-functions/functions-versions.md#languages) to set`--runtime` parameter to supported value.
*Step 1*: Input `sysparm_offset={offset}` either in **Base URL** or **Relative URL** as shown in the following screenshots:
549
549
550
-
:::image type="content" source="media/connector-rest/pagination-rule-example-1-rest-linked-service-base-url.png" alt-text="Screenshot showing one configuration to send multiple requests whose variables are in QueryParameters.":::
550
+
:::image type="content" source="media/connector-rest/pagination-rule-example-1-rest-linked-service-base-url.png" alt-text="Screenshot showing one configuration to send multiple requests whose variables are in Query Parameters.":::
551
551
552
552
or
553
553
554
-
:::image type="content" source="media/connector-rest/pagination-rule-example-1-rest-linked-service-relative-url.png" alt-text="Screenshot showing another configuration to send multiple requests whose variables are in QueryParameters.":::
554
+
:::image type="content" source="media/connector-rest/pagination-rule-example-1-rest-linked-service-relative-url.png" alt-text="Screenshot showing another configuration to send multiple requests whose variables are in Query Parameters.":::
555
555
556
556
*Step 2*: Set **Pagination rules** as either option 1 or option 2:
557
557
@@ -574,11 +574,11 @@ BaseUrl/api/now/table/t100
574
574
575
575
*Step 1*: Input `{id}` either in **Base URL** in the linked service configuration page or **Relative URL** in the dataset connection pane.
576
576
577
-
:::image type="content" source="media/connector-rest/pagination-rule-example-2-rest-linked-service-base-url.png" alt-text="Screenshot showing one configuration to send multiple requests whose variables are in AbsoluteUrl.":::
577
+
:::image type="content" source="media/connector-rest/pagination-rule-example-2-rest-linked-service-base-url.png" alt-text="Screenshot showing one configuration to send multiple requests whose variables are in Absolute Url.":::
578
578
579
579
or
580
580
581
-
:::image type="content" source="media/connector-rest/pagination-rule-example-2-rest-linked-service-relative-url.png" alt-text="Screenshot showing another configuration to send multiple requests whose variables are in AbsoluteUrl.":::
581
+
:::image type="content" source="media/connector-rest/pagination-rule-example-2-rest-linked-service-relative-url.png" alt-text="Screenshot showing another configuration to send multiple requests whose variables are in Absolute Url.":::
582
582
583
583
*Step 2*: Set **Pagination rules** as **"AbsoluteUrl.{id}" :"RANGE:1:100:1"**.
584
584
@@ -655,7 +655,7 @@ Response 2:
655
655
```
656
656
Set the end condition rule as **"EndCondition:$.data": "Empty"** to end the pagination when the value of the specific node in response is empty.
657
657
658
-
:::image type="content" source="media/connector-rest/pagination-rule-example-4-1.png" alt-text="Screenshot showing the EndCondition setting for Example 4.1.":::
658
+
:::image type="content" source="media/connector-rest/pagination-rule-example-4-1.png" alt-text="Screenshot showing the End Condition setting for Example 4.1.":::
659
659
660
660
- **Example 4.2: The pagination ends when the value of the specific node in response dose not exist**
661
661
@@ -666,7 +666,7 @@ Response 2:
666
666
```
667
667
Set the end condition rule as **"EndCondition:$.data": "NonExist"** to end the pagination when the value of the specific node in response dose not exist.
668
668
669
-
:::image type="content" source="media/connector-rest/pagination-rule-example-4-2.png" alt-text="Screenshot showing the EndCondition setting for Example 4.2.":::
669
+
:::image type="content" source="media/connector-rest/pagination-rule-example-4-2.png" alt-text="Screenshot showing the End Condition setting for Example 4.2.":::
670
670
671
671
- **Example 4.3: The pagination ends when the value of the specific node in response exists**
672
672
@@ -685,7 +685,7 @@ Response 2:
685
685
```
686
686
Set the end condition rule as **"EndCondition:$.Complete": "Exist"** to end the pagination when the value of the specific node in response exists.
687
687
688
-
:::image type="content" source="media/connector-rest/pagination-rule-example-4-3.png" alt-text="Screenshot showing the EndCondition setting for Example 4.3.":::
688
+
:::image type="content" source="media/connector-rest/pagination-rule-example-4-3.png" alt-text="Screenshot showing the End Condition setting for Example 4.3.":::
689
689
690
690
- **Example 4.4: The pagination ends when the value of the specific node in response is a user-defined const value**
691
691
@@ -718,7 +718,7 @@ Response 2:
718
718
```
719
719
Set the end condition rule as **"EndCondition:$.Complete": "Const:true"** to end the pagination when the value of the specific node in response is a user-defined const value.
720
720
721
-
:::image type="content" source="media/connector-rest/pagination-rule-example-4-4.png" alt-text="Screenshot showing the EndCondition setting for Example 4.4.":::
721
+
:::image type="content" source="media/connector-rest/pagination-rule-example-4-4.png" alt-text="Screenshot showing the End Condition setting for Example 4.4.":::
722
722
723
723
- **Example 4.5: The pagination ends when the value of the header key in response equals to user-defined const value**
724
724
@@ -730,7 +730,7 @@ Response 2:
730
730
731
731
Set the end condition rule as **"EndCondition:headers.Complete": "Const:1"** to end the pagination when the value of the header key in response is equal to user-defined const value.
732
732
733
-
:::image type="content" source="media/connector-rest/pagination-rule-example-4-5.png" alt-text="Screenshot showing the EndCondition setting for Example 4.5.":::
733
+
:::image type="content" source="media/connector-rest/pagination-rule-example-4-5.png" alt-text="Screenshot showing the End Condition setting for Example 4.5.":::
734
734
735
735
- **Example 4.6: The pagination ends when the key exists in the response header**
736
736
@@ -742,7 +742,7 @@ Response 2:
742
742
743
743
Set the end condition rule as **"EndCondition:headers.CompleteTime": "Exist"** to end the pagination when the key exists in the response header.
744
744
745
-
:::image type="content" source="media/connector-rest/pagination-rule-example-4-6.png" alt-text="Screenshot showing the EndCondition setting for Example 4.6.":::
745
+
:::image type="content" source="media/connector-rest/pagination-rule-example-4-6.png" alt-text="Screenshot showing the End Condition setting for Example 4.6.":::
746
746
747
747
#### Example 5:Set end condition to avoid endless requests when range rule is not defined
748
748
@@ -802,18 +802,18 @@ The last response is:
802
802
803
803
Set **MaxRequestNumber** to avoid endless request as shown in the following screenshot:
804
804
805
-
:::image type="content" source="media/connector-rest/pagination-rule-example-6.png" alt-text="Screenshot showing the MaxRequestNumber setting for Example 6.":::
805
+
:::image type="content" source="media/connector-rest/pagination-rule-example-6.png" alt-text="Screenshot showing the Max Request Number setting for Example 6.":::
806
806
807
807
#### Example 7:The RFC 5988 pagination rule is supported by default
808
808
809
809
The backend will automatically get the next URL based on the RFC 5988 style links in the header.
810
810
811
-
:::image type="content" source="media/connector-rest/pagination-rule-example-7-http-header.png" alt-text="Screenshot showing samples of the http header that complies with RFC 5988.":::
811
+
:::image type="content" source="media/connector-rest/pagination-rule-example-7-http-header.png" alt-text="Screenshot showing samples of the http header that complies with R F C 5988.":::
812
812
813
813
> [!TIP]
814
814
> If you don't want to enable this default pagination rule, you can set `supportRFC5988` to `false` or just delete it in the script.
815
815
>
816
-
> :::image type="content" source="media/connector-rest/pagination-rule-example-7-disable-rfc5988.png" alt-text="Screenshot showing how to disable RFC 5988 setting for Example 7.":::
816
+
> :::image type="content" source="media/connector-rest/pagination-rule-example-7-disable-rfc5988.png" alt-text="Screenshot showing how to disable R F C 5988 setting for Example 7.":::
817
817
818
818
#### Example 8: The next request URL is from the response body when use pagination in mapping data flows
819
819
@@ -844,7 +844,7 @@ But if the value of **@odata.nextLink** in the last response body is equal to th
844
844
This example states how to set the pagination rule in mapping data flows when the response format is XML and the next request URL is from the response body. As shown in the following screenshot, the first URL is *https://\<user\>.dfs.core.windows.net/bugfix/test/movie_1.xml*
845
845
846
846
847
-
:::image type="content" source="media/connector-rest/pagination-rule-example-9-situation.png" alt-text="Screenshot showing the response format is XML and the next request URL is from the response body.":::
847
+
:::image type="content" source="media/connector-rest/pagination-rule-example-9-situation.png" alt-text="Screenshot showing the response format is X M L and the next request U R L is from the response body.":::
Copy file name to clipboardExpand all lines: articles/expressroute/expressroute-monitoring-metrics-alerts.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,6 +112,10 @@ You can view near to real-time availability of BGP (Layer-3 connectivity) across
112
112
113
113
:::image type="content" source="./media/expressroute-monitoring-metrics-alerts/erBgpAvailabilityMetrics.jpg" alt-text="BGP availability per peer":::
114
114
115
+
>[!NOTE]
116
+
>During maintenance between the Microsoft edge and core network, BGP availability will appear down even if the BGP session between the customer edge and Microsoft edge remains up. For information about maintenance between the Microsoft edge and core network, make sure to have your [maintenance alerts turned on and configured](./maintenance-alerts.md).
117
+
>
118
+
115
119
### <aname = "arp"></a>ARP Availability - Split by Peering
Copy file name to clipboardExpand all lines: articles/expressroute/expressroute-network-insights.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,10 @@ The *Availability* tab tracks ARP and BGP availability, plotting the data for bo
52
52
53
53
:::image type="content" source="./media/expressroute-network-insights/arp-bgp-availability.png" alt-text="Screenshot of availability metric graphs." lightbox="./media/expressroute-network-insights/arp-bgp-availability-expanded.png":::
54
54
55
+
>[!NOTE]
56
+
>During maintenance between the Microsoft edge and core network, BGP availability will appear down even if the BGP session between the customer edge and Microsoft edge remains up. For information about maintenance between the Microsoft edge and core network, make sure to have your [maintenance alerts turned on and configured](./maintenance-alerts.md).
57
+
>
58
+
55
59
### Throughput
56
60
57
61
Similarly, the *Throughput* tab plots the total throughput of ingress and egress traffic for the circuit in bits/second. You can also view throughput for individual connections and each type of configured peering.
0 commit comments