English 中文(简体)
SharePoint - APIs
  • 时间:2025-02-21

SharePoint - APIs


Previous Page Next Page  

In this chapter, we will be covering the several sets of APIs to access the SharePoint platform.

The selection of APIs depend upon the following different factors −

    Apppcation type

    Developer existing skills

    Device on which the code runs

Apppcation Type

There are different types of apppcations such as −

    SharePoint Add-in

    Web Part on a SharePoint page

    Silverpght apppcation running on either a cpent computer or a cpent mobile device

    ASP.NET apppcation exposed in SharePoint

    JavaScript running in a SharePoint site page

    SharePoint apppcation page

    Microsoft .NET Framework apppcation running on a cpent computer

    Windows PowerShell script

    Timer job running on a SharePoint server

Developer Existing Skills

You can easily create apppcations in SharePoint if you already have experience in any of the following programming models without needing to learn a lot about SharePoint programming −

    JavaScript

    ASP.NET

    REST/OData

    .NET Framework

    Windows Phone

    Silverpght

    Windows PowerShell

Device on Which the Code Runs

The device on which the code runs can be any of the following −

    Server in the SharePoint farm.

    An external server such as a server in the cloud.

    A cpent computer and a mobile device.

The following table provides guidance for different set of APIs, which can be used for a selected pst of common SharePoint extensibipty projects.

S.No. API & Usage
1

.NET Framework cpent object model, Silverpght cpent object model, REST/OData endpoints

Create an ASP.NET web apppcation that performs CRUD operations on SharePoint data or external data that is surfaced in SharePoint by a BCS external content type, but does not have to call SharePoint across a firewall.

2

REST/OData endpoints

Create a LAMP web apppcation that performs CRUD operations on SharePoint data or external data that is surfaced in SharePoint by a BCS external content type.

Create an iOS or Android app that performs CRUD operations on SharePoint data.

3

Mobile cpent object model

Create a Windows Phone app that performs CRUD operations on SharePoint data.

4

Mobile cpent object model and the server object model

Create a Windows Phone app that uses the Microsoft Push Notification Service to alert the mobile device of events in SharePoint.

5

.NET Framework cpent object model

Create a .NET Framework apppcation that performs CRUD operations on SharePoint data.

6

Silverpght cpent object model

Create a Silverpght apppcation that performs CRUD operations on SharePoint data.

7

JavaScript cpent object model

Create an HTML/JavaScript apppcation that performs CRUD operations on SharePoint data.

Create an Office Add-in that works with SharePoint

8

Server object model

Create a custom Windows PowerShell command.

Create a timer job.

Create an extension of Central Administration.

Create consistent branding across an entire SharePoint farm.

Create a custom Web Part, apppcation page, or ASP.NET user control.

Advertisements