SharePoint Calculator Service Part 5 – Service Application PowerShell

In Part 4 of this series, we integrated our Calculator service application creation and provisioning experience with the SharePoint Central Administration site. While this provides a nice experience for ad-hoc SharePoint deployments, we would also like to support scripted deployments which are completely automated. In this article, we’ll build a PowerShell cmdlet to integrate our…


SharePoint Calculator Service Part 4 – New Service Application UI

In Part 3 of this series, we created a service application class that represents a logical endpoint of our Calculator service in the SharePoint server farm topology. We also created a temporary installer (a batch file) to put our service files in the right places on the disk. (We’ll revisit the proper way to do…

2

SharePoint Calculator Service Part 3 – The Service Application

In Part 2 of this series, we integrated our Calculator service with the SharePoint server farm topology by extending the SPIisWebService and SPIisWebServiceInstance classes. These two classes allow administrators to use the SharePoint UX to view the topology and to start and stop our service host process on any server in the server farm. However,…

2

SharePoint Calculator Service Part 2 – Service Instance

In Part 1 of this series, we created a basic WCF service contract and the necessary configuration files to host the service in IIS. In this article, we’ll integrate our service with the SharePoint management experience so that SharePoint administrators can choose which machines in the server farm should host the service. To do this,…

1

SharePoint Calculator Service Part 1 – WCF Contract

This is the first in a series of articles where we’ll build a simple calculator service to demonstrate how a web service can be integrated into SharePoint. We’ll start by building a WCF service with a single method, the “Add” method, which takes two integer parameters and returns their sum as an integer. Here’s the…