Integrate the Microsoft Graph Beta API into your .NET project!
The Microsoft Graph Beta .NET Client Library 0.x targets .NetStandard 1.1 and .Net Framework 4.5.
The Microsoft Graph Beta .NET Client Library 4.x targets .NetStandard 2.0 and .Net Framework 4.6.2.
The Microsoft Graph Beta .NET Client Library 5.x targets .NetStandard 2.0
To install the client library via NuGet:
- Search for
Microsoft.Graph.Beta
in the NuGet Library, or - Type
Install-Package Microsoft.Graph.Beta -PreRelease
into the Package Manager Console.
The Beta library is generated with the Microsoft.Graph.Beta
namespace. This means that it can be used alongside the V1 package by using the Microsoft.Graph
namespace while using the Microsoft.Graph.Beta
namespace from the beta library.
Please see msgraph-sdk-dotnet for information on getting started with this library.
Between 0.x and 4.x there were some major breaking changes:
- .NET Standard minimum version bumped from
netStandard1.3
tonetstandard2.0
- .NET Framework minimum version bumped from
net45
tonet462
- Replacing Newtonsoft.Json with System.Text.Json
- Upgrading Microsoft.Graph.Core dependency to version 2.0.0
View the upgrade guide here..
View the upgrade guide here..
To view or log issues, see issues.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
- NuGet Package: https://www.nuget.org/packages/Microsoft.Graph.Beta
If you are looking to build the library locally for the purposes of contributing code or running tests, you will need to:
- Have the .NET Core SDK (> 1.0) installed
- Run
dotnet restore
from the command line in your package directory - Run
nuget restore
andmsbuild
from CLI or run Build from Visual Studio to restore Nuget packages and build the project
Due to long file names you may need to run
git config --system core.longpaths true
before cloning the repo to your system.
Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT license. See Third Party Notices for information on the packages referenced via NuGet.