Using SharePoint CSOM inside .Net Core application
I want to get data from SharePoint list by CSOM library on .Net Core MVC application. There are absolutely no problem to achieve that on .Net Framework aplication because Microsoft.SharePoint.Client library contains ExecuteQuery method. Unfortunately .Net Core equivalent not. I've made Async function public async Task<ActionResult> GetRequests() { ClientContext context = new ClientContext("https://xxx/sites/xxx/"); List certificatesList = context.Web.Lists.GetByTitle("Items"); CamlQuery query = CamlQuery.CreateAllItemsQuery(100); ListItemCollection items = certificatesList.GetItems(query); con
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.