Skip to content

The Microsoft Graph Client Beta Library for .NET supports the Microsoft Graph /beta endpoint. (preview)

License

Notifications You must be signed in to change notification settings

microsoftgraph/msgraph-beta-sdk-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status nuget

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.Beta in the NuGet Library, or
  • Type Install-Package Microsoft.Graph.Beta -PreRelease into 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.3 to netstandard2.0
  • .NET Framework minimum version bumped from net45 to net462
  • Replacing Newtonsoft.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

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 restore from the command line in your package directory
  • Run nuget restore and msbuild 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.

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.