【问题标题】:How to add sharePoint Online List with ASp.NET MVC Form to store data instead of using any SQL Server?如何使用 ASp.NET MVC 表单添加 sharePoint 在线列表来存储数据而不是使用任何 SQL Server?
【发布时间】:2018-08-18 03:51:03
【问题描述】:

我是 Office 365 SharePoint Online 的新手。

我知道 ASP.NET MVC 实体框架。现在我想使用 ASP.Net MVC 开发一个 Web 应用程序,我想使用 SharePoint Online 列表插入/删除/更新/查看(CRUD 操作)我的表单数据或其他数据,而不是 MS Server 或其他外部数据库源。

我该怎么做?

【问题讨论】:

    标签: asp.net-mvc office365 sharepoint-online sharepoint-designer sharepoint-list


    【解决方案1】:

    您可以使用 SharePoint REST API 来选择、插入、更新和删除 SharePoint 列表中的数据。最大的挑战不是“CRUD”,而是凭证。你可以在网上找到很多关于在 365 中使用 REST API 的博客文章。

    这里有一些关于 REST API 的资源:

    https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest

    https://msdn.microsoft.com/en-us/library/office/jj860569.aspx

    https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/complete-basic-operations-using-sharepoint-rest-endpoints

    专注于 Office 365:

    https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-avoid-getting-throttled-or-blocked-in-sharepoint-online

    【讨论】:

      猜你喜欢
      • 2023-04-09
      • 2017-07-19
      • 2011-04-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-02-05
      • 2021-07-31
      相关资源
      最近更新 更多