The Microsoft Graph SDKs are designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph. The SDKs include two components: a service library and a core library.
Theservice librarycontains models and request builders that are generated from Microsoft Graph metadata to provide a rich, strongly typed, and discoverable experience when working with the many datasets available in Microsoft Graph.
Thecore libraryprovides a set of features that enhance working with all the Microsoft Graph services. Embedded support for retry handling, secure redirects, transparent authentication, and payload compression improve the quality of your application's interactions with Microsoft Graph, with no added complexity, while leaving you completely in control. The core library also provides support for common tasks such as paging through collections and creating batch requests.
The Microsoft Graph SDKs are currently available for the following languages:
Start coding: Now you're ready to start coding! Use the SDK to build your app, making calls to the Microsoft Graph API to retrieve data and perform actions on behalf of the user.
Test and debug: Once you've built your app, it's important to test and debug it to ensure it works as expected. Use the tools and techniques provided by your programming language to test and debug your app.
Overall, getting started with the Microsoft Graph SDK involves installing the SDK package for your chosen programming language, initializing it with your application credentials, and using it to make calls to the Microsoft Graph API to access user data and build your app.
There are several reasons why you might want to use the Microsoft Graph SDK to build apps that use the Microsoft Graph:
Easy to use: The Microsoft Graph SDK provides an easy-to-use programming interface that abstracts away many of the complexities of working with the raw HTTP API calls, making it easier to build apps that integrate with the Microsoft Graph.
Faster development: The SDK offers a high-level programming interface that allows developers to focus on building their app's core functionality, rather than spending time dealing with lower-level details of the API calls.
Consistent authentication: The Microsoft Graph SDK handles authentication for you, making it easier to build apps that securely access the user's data.
Better performance: The SDK's internal caching mechanisms can help to reduce the number of API calls needed to retrieve data, resulting in better performance and a smoother user experience.
Regular updates: The Microsoft Graph API is constantly evolving, with new features and functionality being added on a regular basis. The Microsoft Graph SDK is updated to reflect these changes, making it easier to take advantage of new capabilities as they become available.
Overall, the Microsoft Graph SDK can help to streamline the app development process, reduce development time, and provide a more consistent and reliable experience for users.