Skip to content

Commit d51d1bb

Browse files
authored
Merge branch 'master' into master
2 parents 9c1c4a9 + e4b10e6 commit d51d1bb

File tree

1,220 files changed

+6388
-32176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,220 files changed

+6388
-32176
lines changed

.openpublishing.redirection.json

Lines changed: 3051 additions & 1 deletion
Large diffs are not rendered by default.

.whatsnew.json

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
{
2+
"$schema": "https://whatsnewapi.azurewebsites.net/schema",
3+
"docSetProductName": "Visual Studio",
4+
"rootDirectory": "docs/",
5+
"docLinkSettings": {
6+
"linkFormat": "relative",
7+
"relativeLinkPrefix": "/visualstudio/"
8+
},
9+
"inclusionCriteria": {
10+
"additionalMicrosoftOrgs": [
11+
"ASP.NET"
12+
],
13+
"labels": [
14+
"-label:do-not-merge"
15+
],
16+
"minAdditionsToFile": 30
17+
},
18+
"areas": [
19+
{
20+
"name": "ai",
21+
"heading": "AI"
22+
},
23+
{
24+
"name": "azure",
25+
"heading": "Azure"
26+
},
27+
{
28+
"name": "code-quality",
29+
"heading": "Code quality"
30+
},
31+
{
32+
"name": "containers",
33+
"heading": "Containers"
34+
},
35+
{
36+
"name": "cross-platform",
37+
"heading": "Cross platform"
38+
},
39+
{
40+
"name": "data-tools",
41+
"heading": "Data tools"
42+
},
43+
{
44+
"name": "debugger",
45+
"heading": "Debugger"
46+
},
47+
{
48+
"name": "deployment",
49+
"heading": "Deployment"
50+
},
51+
{
52+
"name": "designers",
53+
"heading": "Designers"
54+
},
55+
{
56+
"name": "extensibility",
57+
"heading": "Extensibility"
58+
},
59+
{
60+
"name": "get-started",
61+
"heading": "Get started"
62+
},
63+
{
64+
"name": "help-viewer",
65+
"heading": "Help viewer"
66+
},
67+
{
68+
"name": "ide",
69+
"heading": "IDE"
70+
},
71+
{
72+
"name": "install",
73+
"heading": "Install"
74+
},
75+
{
76+
"name": "javascript",
77+
"heading": "JavaScript"
78+
},
79+
{
80+
"name": "media",
81+
"heading": "Media"
82+
},
83+
{
84+
"name": "misc",
85+
"heading": "Misc"
86+
},
87+
{
88+
"name": "modeling",
89+
"heading": "Modeling"
90+
},
91+
{
92+
"name": "msbuild",
93+
"heading": "MSBuild"
94+
},
95+
{
96+
"name": "porting",
97+
"heading": "Porting"
98+
},
99+
{
100+
"name": "profiling",
101+
"heading": "Profiling"
102+
},
103+
{
104+
"name": "python",
105+
"heading": "Python"
106+
},
107+
{
108+
"name": "rtvs",
109+
"heading": "RTVS"
110+
},
111+
{
112+
"name": "sharepoint",
113+
"heading": "SharePoint"
114+
},
115+
{
116+
"name": "test",
117+
"heading": "Test"
118+
},
119+
{
120+
"name": "vs-2015",
121+
"heading": "VS 2015"
122+
},
123+
{
124+
"name": "vsto",
125+
"heading": "Vsto"
126+
},
127+
{
128+
"name": "windows",
129+
"heading": "Windows"
130+
},
131+
{
132+
"name": "workflow-designer",
133+
"heading": "Workflow designer"
134+
},
135+
{
136+
"name": "xaml-tools",
137+
"heading": "XAML tools"
138+
},
139+
{
140+
"name": "xml-tools",
141+
"heading": "XML tools"
142+
}
143+
]
144+
}
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: Add Azure Application Insights by using Connected Services | Microsoft Docs
3+
description: Add Azure Application Insights to your app by using the Visual Studio to add a connected service
4+
author: AngelosP
5+
manager: jillfra
6+
ms.custom: vs-azure
7+
ms.workload: azure-vs
8+
ms.topic: conceptual
9+
ms.date: 08/17/2020
10+
ms.author: angelpe
11+
monikerRange: ">= vs-2019"
12+
---
13+
# Add Azure Application Insights by using Visual Studio Connected Services
14+
15+
With Visual Studio, you can connect any of the following to Azure Application Insights by using the **Connected Services** feature:
16+
17+
- .NET Framework console app
18+
- ASP.NET MVC (.NET Framework)
19+
- ASP.NET Core
20+
- .NET Core (including console app, WPF, Windows Forms, class library)
21+
- .NET Core Worker Role
22+
- Azure Functions
23+
- Universal Windows Platform App
24+
- Xamarin
25+
- Cordova
26+
27+
The connected service functionality adds all the needed references and connection code to your project, and modifies your configuration files appropriately.
28+
29+
> [!NOTE]
30+
> This topic applies to Visual Studio on Windows. For Visual Studio for Mac, see [Connected services in Visual Studio for Mac](/visualstudio/mac/connected-services).
31+
## Prerequisites
32+
33+
- Visual Studio with the Azure workload installed.
34+
- A project of one of the supported types
35+
36+
## Connect to Azure Application Insights using Connected Services
37+
38+
1. Open your project in Visual Studio.
39+
40+
1. In **Solution Explorer**, right-click the **Connected Services** node, and, from the context menu, select **Add Connected Service**.
41+
42+
1. In the **Connected Services** tab, select the + icon for **Service Dependencies**.
43+
44+
![Add Service Dependency](./media/vs-azure-tools-connected-services-storage/vs-2019/connected-services-tab.png)
45+
46+
1. In the **Add Dependency** page, select **Azure Application Insights**.
47+
48+
![Add Azure Application Insights](./media/azure-app-insights-add-connected-service/azure-app-insights.png)
49+
50+
If you aren't signed in already, sign into your Azure account. If you don't have an Azure account, you can sign up for a [free trial](https://azure.microsoft.com/account/free).
51+
52+
1. In the **Configure Azure Application Insights** screen, select an existing Azure Application Insights component, and select **Next**.
53+
54+
If you need to create a new component, go to the next step. Otherwise, skip to step 7.
55+
56+
![Connect to existing Application Insights component](./media/azure-app-insights-add-connected-service/created-app-insights.png)
57+
58+
1. To create an Application Insights component:
59+
60+
1. Select **Create a new Application Insights component** at the bottom of the screen.
61+
62+
1. Fill out the **Application Insights: Create new** screen, and select **Create**.
63+
64+
![New Azure App Insights component](./media/azure-app-insights-add-connected-service/create-new-app-insights.png)
65+
66+
1. When the **Configure Azure Application Insights** screen is displayed, the new component appears in the list. Select the new component in the list, and select **Next**.
67+
68+
1. Enter an instrumentation key name, or choose the default, and choose whether you want the connection string stored in a local secrets file, or in [Azure Key Vault](/azure/key-vault).
69+
70+
![Specify connection string](./media/azure-app-insights-add-connected-service/connection-string.png)
71+
72+
1. The **Summary of changes** screen shows all the modifications that will be made to your project if you complete the process. If the changes look OK, choose **Finish**.
73+
74+
![Summary of changes](./media/azure-app-insights-add-connected-service/summary-of-changes.png)
75+
76+
1. The connection appears under the **Service Dependencies** section of the **Connected Services** tab.
77+
78+
![Service dependencies](./media/azure-app-insights-add-connected-service/service-dependencies-after.png)
79+
80+
## See also
81+
82+
- [Azure Monitor product page](https://azure.microsoft.com/services/monitor/)
83+
- [Azure App Insights documentation](/azure/azure-monitor/app/app-insights-overview/)
84+
- [Connected services (Visual Studio for Mac)](/visualstudio/mac/connected-services)
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: Add Azure Cache for Redis by using Connected Services | Microsoft Docs
3+
description: Add Azure Cache for Redis support to your app by using the Visual Studio to add a connected service
4+
author: AngelosP
5+
manager: jillfra
6+
ms.custom: vs-azure
7+
ms.workload: azure-vs
8+
ms.topic: conceptual
9+
ms.date: 08/17/2020
10+
ms.author: angelpe
11+
monikerRange: ">= vs-2019"
12+
---
13+
# Add Azure Cache for Redis by using Visual Studio Connected Services
14+
15+
With Visual Studio, you can connect any of the following to Azure Cache for Redis by using the **Connected Services** feature:
16+
17+
- .NET Framework console app
18+
- ASP.NET MVC (.NET Framework)
19+
- ASP.NET Core
20+
- .NET Core (including console app, WPF, Windows Forms, class library)
21+
- .NET Core Worker Role
22+
- Azure Functions
23+
- Universal Windows Platform App
24+
- Xamarin
25+
- Cordova
26+
27+
The connected service functionality adds all the needed references and connection code to your project, and modifies your configuration files appropriately.
28+
29+
> [!NOTE]
30+
> This topic applies to Visual Studio on Windows. For Visual Studio for Mac, see [Connected services in Visual Studio for Mac](/visualstudio/mac/connected-services).
31+
## Prerequisites
32+
33+
- Visual Studio with the Azure workload installed.
34+
- A project of one of the supported types
35+
36+
## Connect to Azure Cache for Redis using Connected Services
37+
38+
1. Open your project in Visual Studio.
39+
40+
1. In **Solution Explorer**, right-click the **Connected Services** node, and, from the context menu, select **Add Connected Service**.
41+
42+
1. In the **Connected Services** tab, select the + icon for **Service Dependencies**.
43+
44+
![Add Service Dependency](./media/vs-azure-tools-connected-services-storage/vs-2019/connected-services-tab.png)
45+
46+
1. In the **Add Dependency** page, select **Azure Cache for Redis**.
47+
48+
![Add Azure Cache for Redis](./media/azure-redis-cache-add-connected-service/azure-redis-cache.png)
49+
50+
If you aren't signed in already, sign into your Azure account. If you don't have an Azure account, you can sign up for a [free trial](https://azure.microsoft.com/account/free).
51+
52+
1. In the **Configure Azure Cache for Redis** screen, select an existing Azure Cache for Redis, and select **Next**.
53+
54+
If you need to create a new component, go to the next step. Otherwise, skip to step 7.
55+
56+
![Connect to existing Azure Cache for Redis](./media/azure-redis-cache-add-connected-service/created-azure-redis-cache.png)
57+
58+
1. To create an Azure Redis Cache:
59+
60+
1. Select **Create a new Azure Redis Cache** at the bottom of the screen.
61+
62+
1. Fill out the **Azure Cache for Redis: Create new** screen, and select **Create**.
63+
64+
![New Azure Cache for Redis](./media/azure-redis-cache-add-connected-service/create-new-azure-redis-cache.png)
65+
66+
1. When the **Configure Azure Cache for Redis** screen is displayed, the new cache appears in the list. Select the new database in the list, and select **Next**.
67+
68+
1. Enter a connection string name, or choose the default, and choose whether you want the connection string stored in a local secrets file, or in [Azure Key Vault](/azure/key-vault).
69+
70+
![Specify connection string](./media/azure-redis-cache-add-connected-service/connection-string.png)
71+
72+
1. The **Summary of changes** screen shows all the modifications that will be made to your project if you complete the process. If the changes look OK, choose **Finish**.
73+
74+
![Summary of changes](./media/azure-redis-cache-add-connected-service/summary-of-changes.png)
75+
76+
1. The connection appears under the **Service Dependencies** section of the **Connected Services** tab.
77+
78+
![Service dependencies](./media/azure-redis-cache-add-connected-service/service-dependencies-after.png)
79+
80+
## See also
81+
82+
- [Azure Cache for Redis product page](https://azure.microsoft.com/services/cache)
83+
- [Azure Cache for Redis documentation](/azure/azure-cache-for-redis/)
84+
- [Connected services (Visual Studio for Mac)](/visualstudio/mac/connected-services)

0 commit comments

Comments
 (0)