msgraph-beta-sdk-dotnet
msgraph-beta-sdk-dotnet copied to clipboard
The Microsoft Graph Client Beta Library for .NET supports the Microsoft Graph /beta endpoint. (preview)
Microsoft Graph Beta .NET Client Library
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
Installation via NuGet
To install the client library via NuGet:
- Search for
Microsoft.Graph.Betain the NuGet Library, or - Type
Install-Package Microsoft.Graph.Beta -PreReleaseinto the Package Manager Console.
Using the beta client along with the v1.0 library
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.
Getting started
Please see msgraph-sdk-dotnet for information on getting started with this library.
Notes
Upgrading to v4
Between 0.x and 4.x there were some major breaking changes:
- .NET Standard minimum version bumped from
netStandard1.3tonetstandard2.0 - .NET Framework minimum version bumped from
net45tonet462 - Replacing Newtosoft.Json with System.Text.Json
- Upgrading Microsoft.Graph.Core dependency to version 2.0.0
View the upgrade guide here..
Upgrading to v5
View the upgrade guide here..
Issues
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 [email protected] with any additional questions or comments.
Other resources
- NuGet Package: https://www.nuget.org/packages/Microsoft.Graph.Beta
Building library locally
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 restorefrom the command line in your package directory - Run
nuget restoreandmsbuildfrom 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 truebefore cloning the repo to your system.
License
Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT license. See Third Party Notices for information on the packages referenced via NuGet.