How can we have web API in sharepoint solution? I need to use this web APIs in web part of sharepoint solution.
Related
I want to implement Google Sign-In for Server-Side Apps (https://developers.google.com/identity/sign-in/web/server-side-flow) in .Net Core - Web API or MVC. Is there any SDK for this?
I am required to create a share feature (like the one in Sharepoint or OneDrive) for documents, items and folders, for Sharepoint online and on-premise, in a Xamarin app.
What I have:
Sharepoint REST API.
Xamarin app connected to a Sharepoint online and on-premise server.
Sharepoint content is available in Xamarin app and user can select the option Share item which I have to implement.
What I need:
The logic to implement to be able to create the shareable link and actually share it like the Sharepoint website online does it (check screen shot).
#Mohamed Aloui,
You could have a try the below endpoint to create a sharing link:
/_api/Web/Lists/GetByTitle(‘Documents’)/Items(1)/sharelink
or
/_api/web/GetFileByUrl(#v)/ListItemAllFields/ShareLink?#v='/sites/testsite/Mylib/test.txt'
You can get an example through F12 tool:
Below is a tutorial blog and a similar thread, you may take a reference:
How to create a shared link with an expiration date for the item of OneDrive For Business via Rest API?
https://learn.microsoft.com/en-us/answers/questions/84801/calling-the-sharelink-sharepoint-rest-api-endpoint.html
BR
Step by step integration of FedEx Web Service for Tracking Shipment Information...!
I have already downloaded the API Reference and whole api with FedEx site and try to connect with my website but when i click on the track button it shows only XML file and its details with my website.
If you're looking for an easy-to-use C# client library, you can check out Shippo and their C# client library. It's an easy way to integrate FedEx in C# without manually integrating the FedEx Web Services directly (FedEx doesn't provide any wrappers for specific programming languages).
Recently announced at Microsoft Build is the ability to convert an existing ASP.NET Web API to an Azure Mobile Service. I was curious as to if anyone has successfully done this yet, and the steps needed to do so.
Things I've tried thus far:
Added the Azure Mobile Service .NET Backend & Azure Mobile Service -
Entity Framework Nuget Packages to my existing ASP.NET Web API
project.
Resolved an issue with OWIN and AMS(ZUMO) conflicting Startup.cs assemblies.
Ensured the ASP.NET Web API compiles locally, and published as an Azure Mobile Service.
However whenever publishing, it seems I only get a runtime error on the server.
Here was the best example of potentially doing this: http://channel9.msdn.com/Events/Build/2014/3-623
Secondly I've looked a bit into just running the OWIN pipeline via: http://www.strathweb.com/2014/02/running-owin-pipeline-new-net-azure-mobile-services/
I know that this is in a preview mode, but figured some document trail would help!
Can you try adding your existing WebAPI assets to Mobile Services project you create from VS? This will make sure all the right things are wired up. Also, check the Logs tab in the portal for any clues.
This should help..
http://blogs.msdn.com/b/azuremobile/archive/2014/04/10/creating-an-azure-mobile-services-net-backend-from-scratch.aspx
Thanks
Supreet
I'm developing a Sharepoint 2013 WebPart. (We're using web parts rather than the new app model because we're leveraging a large amount of existing web parts from an older project).
For my portion, I have some javascript objects I'd like to send back to the server using AJAX, because I'm used to developing with MVC and the Web API and that's what I'm used to. What's the easiest/best way for me to do this?