百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

pnpcore

> 编程语言
开源

PnP Core SDK 是一款专为 Microsoft 365 设计的现代 .NET SDK,它为与 SharePoint Online 和 Teams 进行工作提供了统一的对象模型。

362 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

PnP Core SDK 是一款专为 Microsoft 365 设计的现代 .NET SDK,它为与 SharePoint Online 和 Teams 进行工作提供了统一的对象模型。

The PnP Core SDK is an SDK designed to work for Microsoft 365. It provides a unified object model for working with SharePoint Online and Teams which is agnostic to the underlying APIs being called. The initial goal for this library will be to cover the needs of developers working with either SharePoint Online or Teams, but we're also open to extend this library further towards other Microsoft 365 workloads if there's community demand for doing so.

Packages and status

Nuget package Downloads Stable Preview
PnP.Core
PnP.Core.Auth
PnP.Core.Admin

Getting started

For more details on how to get started with the PnP.Core SDK checkout our documentation.

I want to help ‍♂️

If you want to join our team and help, then checkout the How can I help section in our docs.

Supportability and SLA ‍♀️

This library is an open-source and community provided library backed by an active community supporting it. This is not a Microsoft provided library, so there's no SLA or direct support for this open-source component from Microsoft. Please report any issues using the issues list.

Frequently Asked Questions ❓

Will this work in modern .NET

Absolutely! One of the key reasons for building PnP Core SDK is to nicely fit into modern .NET development:

  • We currently target .NET Standard 2.0, .NET 8.0, .NET 9.0 and .NET 10.0. Use the .NET 10.0 (LTS) or .NET 9.0 builds if you're using a modern .NET version, use .NET Standard 2.0 for backwards compatibility with .NET Framework 4.6.1+.

  • This library will work cross platform (Windows, Linux, MacOS)

  • This library will work in all places where .NET will work (see our samples to learn more):

    • Backend: e.g. Azure functions v3/v4
    • Web: e.g. ASP.NET core, Blazor
    • Browser (WebAssembly (WASM)): Blazor. We only support Blazor with our .NET 6.0 and later versions
    • .NET MAUI: Windows, iOS, macOS, Android
    • Windows Client: Windows Forms, WPF
    • Mobile: MAUI
  • The library internally uses dependency injection and you can consume it via dependency injection in your applications

What underlying APIs are used

The SDK provides an object model that's API agnostic, when you as a developer for example load a model (List, Team, Web,...) the SDK will use the best possible API for loading that model being for the most part Microsoft Graph v1.0 and SharePoint REST. Depending on the needs the SDK will use Microsoft Graph Beta calls and in some cases the CSOM endpoint (client.svc) is called. But the good thing is that all of this is transparent for you as developer! You'll have a consistent development experience regardless of the underlying APIs being called.

As Microsoft Graph is our recommended API to work with Microsoft 365, the SDK will favor Microsoft Graph whenever it makes sense, the "fall back" to SharePoint REST only happens when Microsoft Graph can't provide the needed data or consistency.

What's the relationship with the existing PnP Framework library

The PnP Framework library is very popular library that extends SharePoint using mainly CSOM. This library contains the PnP Provisioning engine, tons of extension methods, etc...but this library has also organically grown into a complex and hard to maintain code base. One of the reasons why the PnP Core SDK development started is to provide a new clean replacement for PnP Framework with a strong focus on quality (test coverage above 80%, automation). As this transition will take quite some time and effort, we plan to gradually move things over from PnP Framework to the PnP Core SDK. Going forward PnP Framework features will move to the PnP Core SDK in a phased approach.

Community rocks, sharing is caring!

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.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#dotnetdotnet-standarddotnet8dotnet9

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言