Skip to content

Commit 9f46e9d

Browse files
Merge pull request #223159 from timwarner-msft/timwarner-argdotnet
Update ARG NuGet package reference
2 parents 4c04520 + 3a38371 commit 9f46e9d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/governance/resource-graph/first-query-dotnet.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: "Quickstart: Your first .NET Core query"
33
description: In this quickstart, you follow the steps to enable the Resource Graph NuGet packages for .NET Core and run your first query.
4-
ms.date: 07/09/2021
4+
ms.date: 01/06/2023
55
ms.topic: quickstart
66
ms.custom: devx-track-csharp
7+
ms.author: timwarner
78
---
89
# Quickstart: Run your first Resource Graph query using .NET Core
910

@@ -37,12 +38,11 @@ required packages.
3738
dotnet new console --name "argQuery"
3839
```
3940

40-
1. Change directories into the new project folder and install the required packages for Azure
41-
Resource Graph:
41+
1. Change directories into the new project folder and install the required packages for Azure Resource Graph:
4242

4343
```dotnetcli
4444
# Add the Resource Graph package for .NET Core
45-
dotnet add package Microsoft.Azure.Management.ResourceGraph --version 2.0.0
45+
dotnet add package Azure.ResourceManager.ResourceGraph --version 1.0.0
4646
4747
# Add the Azure app auth package for .NET Core
4848
dotnet add package Microsoft.Azure.Services.AppAuthentication --version 1.5.0
@@ -56,8 +56,8 @@ required packages.
5656
using System.Threading.Tasks;
5757
using Microsoft.IdentityModel.Clients.ActiveDirectory;
5858
using Microsoft.Rest;
59-
using Microsoft.Azure.Management.ResourceGraph;
60-
using Microsoft.Azure.Management.ResourceGraph.Models;
59+
using Azure.ResourceManager.ResourceGraph;
60+
using Azure.ResourceManager.ResourceGraph.Models;
6161

6262
namespace argQuery
6363
{

0 commit comments

Comments
 (0)