如何使用ASp.NET MVC表单添加sharePoint联机列表以存储数据,而不使用任何SQL Server? [英] How to Add sharePoint Online List with ASp.NET MVC Form to store data Instead of using any SQL Server?

查看:42
本文介绍了如何使用ASp.NET MVC表单添加sharePoint联机列表以存储数据,而不使用任何SQL Server?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Office 365 SharePoint Online的新用户.

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

有可能吗?如果可能的话怎么办?

正在等待您提供有用的帮助.

非常感谢.

解决方案

您可以使用SharePoint REST API来选择,插入,更新和删除SharePoint列表中的数据.最大的挑战不是"CRUD",而是凭证.您可以在365中使用REST API在网络上找到许多博客文章.

有关REST API的一些资源:

https://docs.microsoft.com/zh-cn/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/zh-cn/sharepoint/dev/general-development/how-to-a-void-getting-throttled-or-blocked-in-sharepoint-online

I am new in Office 365 SharePoint online.

I know ASP.NET MVC Entity Framework. Now I want to develop a web application using ASP.Net MVC where I want to use SharePoint Online List to Insert/Delete/Update/View (CRUD Operations) my form data or others data instead of MS Server or other external database sources.

Is it possible? If possible then how?

Waiting for your informative help.

Thanks in advanced.

解决方案

You can use the SharePoint REST API to select, insert, update and delete data in SharePoint lists. The biggest challenge is not the "CRUD", it's the credentials. You can find many blog articles on the web on using the REST API in 365.

Here's a few resources on the 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

One with an Office 365 focus:

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

这篇关于如何使用ASp.NET MVC表单添加sharePoint联机列表以存储数据,而不使用任何SQL Server?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆