Skip to content

Commit 3ef987e

Browse files
authored
Merge pull request #7022 from ghogen/connected-services
Connected services for VS 2019 16.7
2 parents 8d5b3fa + 4358142 commit 3ef987e

File tree

47 files changed

+457
-22
lines changed

Some content is hidden

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

47 files changed

+457
-22
lines changed
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)
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
---
2+
title: Add Azure CosmosDB by using Connected Services | Microsoft Docs
3+
description: Add Azure CosmosDB 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 Cosmos DB to your app by using Visual Studio Connected Services
14+
15+
With Visual Studio, you can connect any of the following to Azure Cosmos DB 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 Cosmos DB 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 Cosmos DB**.
47+
48+
![Add Azure Cosmos DB](./media/azure-cosmosdb-add-connected-service/azure-cosmosdb.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 **Azure Cosmos DB** screen, select an existing Azure Cosmos DB, and select **Next**.
53+
54+
If you need to create a database, go to the next step. Otherwise, skip to step 7.
55+
56+
![Add existing Cosmos DB to project](./media/azure-cosmosdb-add-connected-service/created-cosmosdb.png)
57+
58+
1. To create an Azure Cosmos DB:
59+
60+
1. Select **Create a new Azure Cosmos DB** at the bottom of the screen.
61+
62+
1. Fill out the **Azure Cosmos DB: Create new** screen, and select **Create**.
63+
64+
![New Azure Cosmos DB](./media/azure-cosmosdb-add-connected-service/create-new-cosmosdb.png)
65+
66+
1. When the **Configure Azure Cosmos DB** dialog is displayed, the new database appears in the list. Select the new database in the list, and select **Next**.
67+
68+
1. Enter a connection string name, 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-cosmosdb-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-cosmosdb-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-cosmosdb-add-connected-service/service-dependencies-after.png)
79+
80+
## See also
81+
82+
- [Azure Cosmos DB product page](https://azure.microsoft.com/services/cosmos-db/)
83+
- [Azure Cosmos DB documentation](/azure/cosmos-db/)
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 SignalR by using Connected Services | Microsoft Docs
3+
description: Add Azure SignalR 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 SignalR by using Visual Studio Connected Services
14+
15+
With Visual Studio, you can connect any of the following to Azure SignalR service 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 SignalR 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 SignalR Service**.
47+
48+
![Add Azure SignalR Service](./media/azure-signalr-add-connected-service/add-signalr-service.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 SignalR** screen, select an existing Azure SignalR 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 Azure SignalR component](./media/azure-signalr-add-connected-service/created-signalr.png)
57+
58+
1. To create an Azure SignalR service instance:
59+
60+
1. Select **Create a new Azure SignalR Service instance** at the bottom of the screen.
61+
62+
1. Fill out the **Azure SignalR Service: Create new** screen, and select **Create**.
63+
64+
![New Azure SignalR Service instance](./media/azure-signalr-add-connected-service/create-new-signalr.png)
65+
66+
1. When the **Configure Azure SignalR Service** screen is displayed, the new instance appears in the list. Select the new instance 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-signalr-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-signalr-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-signalr-add-connected-service/service-dependencies-after.png)
79+
80+
## See also
81+
82+
- [Azure SignalR product page](https://azure.microsoft.com/services/signalr-service/)
83+
- [Azure SignalR Service documentation](/azure/azure-signalr)
84+
- [Connected services (Visual Studio for Mac)](/visualstudio/mac/connected-services)

0 commit comments

Comments
 (0)