Calculator Service Source Code

By request, see the attached file for an early look at the source code for the Calculator Service as a Visual Studio 2010 project. This is a work in progress. Some features are not yet implemented, and I haven’t yet explained some of the implemented features. Use at your own risk, no warranties implied, etc….

9

SharePoint Calculator Service Part 10 – Service Client

So far, we’ve been covering the service side of our Calculator service. We have a working service application that can be deployed and managed in a SharePoint server farm. In this article, we’ll switch focus to the client side. Remember that SharePoint service applications live in the middle-tier, so our “client” is actually another server—typically,…

2

SharePoint Calculator Service Part 9 – Claims Auth

One of the game-changing features of SharePoint 2010 is support for claims-based identities. It opens up a whole new set of exciting scenarios by blowing the doors off of the walled garden of the Active Directory. Well, maybe I exaggerate, but only slightly! In this article, we’ll modify our Calculator service application to support claims-based…

8

SharePoint Calculator Service Part 8 – Delegated Administration

In Part 7 of this series, we created a cmdlet to allow an SharePoint farm administrator to easily modify settings of our Calculator service application using PowerShell. In this article, we’ll add support for delegated administration. About Delegated Administration One of the many cool new features of SharePoint 2010 is the ability to grant users…

0

SharePoint Calculator Service Part 7 – Custom Admin Setting PowerShell

In Part 6 of this series, we created a custom setting for our Calculator service application and a web page to manage the setting from the SharePoint Central Administration web site. In this article, we’ll create the accompanying PowerShell cmdlet so the setting can be scripted. The proposed syntax of the new cmdlet is: Set-CalculatorServiceApplication…

0

SharePoint Calculator Service Part 6 – Custom Admin Setting

In Part 5 of this series, we created a PowerShell cmdlet to enable SharePoint administrators to script deployment of our Calculator service application in a server farm. In this article, we’ll create a custom setting that administrators can use to modify the behavior of our service application. Specifically, we’ll create a new Precision setting, which…

0

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…

0

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