将现有Sharepoint中的数据消费/修改到.Net Core Web应用程序中. [英] Consume / Modify data from an existing Sharepoint into a .Net Core web application.
问题描述
大家好,
在我的组织中,我正在尝试使用.Net Core创建一个新的Web应用程序...但是,Sharepoint Web应用程序中已经有很多信息,实际上这是一个包含其他一些最小内容的列表...但是重要我需要的是
暴露"通过我的.Net Core应用程序从此列表中获取这些数据以进行插入,更新,删除和选择所有这些信息.
Hello guys,
In my organization i am trying to create a new web application with .Net Core... But there is already lots and lots of information in a Sharepoint web application which in fact is a list with some other minimun stuff... but the important thing is that i need
to "expose" this data from this list for Insert, Update, Delete and Select all this info through my .Net Core application.
所以...也许可以访问共享点获取/保存的数据库?或者也许我可以像API一样公开此共享点列表的信息.我对共享点管理一无所知,我可以问那个 被分配给这个,但是首先我想问,然后再向他发送无知的邮件,嘿.
So... maybe accessing to the database where the sharepoint gets / saves may be possible?, or maybe i can expose the info of this sharepoint list like an API. I know nothing about sharepoint management, i can ask the guy who is assigned to this, but first i wanted to ask before sending an ignorant mail to him, hehe.
推荐答案
> ;也许可以访问共享点获取/保存的数据库?
> maybe accessing to the database where the sharepoint gets / saves may be possible?
从不这样做.不支持此功能,并且可能会有一些有趣的副作用.
Never do this. This is not supported, and could have some interesting side effects.
使用以下命令从外部系统访问SharePoint列表和库数据:
Access SharePoint list and library data from external systems using:
- REST API(支持CRUD的Web服务)
- 服务器端API. (DLL,但可能需要完整的.NET)
- 客户端API/客户端对象模型(CSOM-可能需要完整的.NET)
- PowerShell ;-)
首选REST,因为它不依赖于语言或框架,而仅依赖于基本的Web服务调用.
REST is the preferred as it does not depend on a language or framework, just basic web service calls.
https://msdn.microsoft.com/en-us/library/ff798339.aspx
https://msdn.microsoft.com/zh-我们/library/office/jj860569.aspx?f=255&MSPPError=-2147217396
这篇关于将现有Sharepoint中的数据消费/修改到.Net Core Web应用程序中.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!