AppFabric Caching (and SharePoint): Configuration and Deployment (Part 2)

Part 1: AppFabric Caching and SharePoint: Concepts and ExamplesPart 2: AppFabric Caching (and SharePoint): Configuration and Deployment The Distributed Cache Service SharePoint’s distributed caches are hosted and maintained by the Distributed Cache Service, itself a thin wrapper over a Windows Server AppFabric cluster. Understanding SharePoint’s Distributed Cache Service requires an understanding of AppFabric together with…

9

AppFabric Caching and SharePoint: Concepts and Examples (Part 1)

Part 1: AppFabric Caching and SharePoint: Concepts and ExamplesPart 2: AppFabric Caching (and SharePoint): Configuration and Deployment To assist with scaling and performance, SharePoint 2013 utilizes Windows Server AppFabric to maintain an in-memory cache of frequently-used data. While this in-memory cache achieves its goals and does improve scalability, it also adds another service to maintain…

12

SharePoint Low-Trust Apps for On-Premises Deployments

PowerShell Functions and Scripts Post Note: I’ve been wanting to share the details on setting up an OnPrem SharePoint environment to support low-trust apps for a while now. I had some help from the Product Group to get things working, and there were several catches and ‘Aha!’ moments involved which many of you are I’m…

26

SharePoint Apps PowerShell Helpers

Setup Details Post Download the scripts referenced in this post via the attachment at the end. Replace-SPSTSSigningCertificate Parameters -CERPath: A location to store the newly created self-signed certificate, in case it’s needed for other applications (e.g. AD FS). -PFXPath: A location for the new self-signed certificate together with its associated private key. -SPSTSCertName: The name…

5

Better SharePoint Lists and List Items in PowerShell

Those who’ve read some of my previous articles or attended my PowerShell trainings know how much emphasis I put on PowerShell’s object-centric nature. The great power of PowerShell lies in its ability to dynamically create objects and members from many different object frameworks, including .NET, COM, WMI, XML, and ADO.NET data sources. SharePoint lists are…

7

The Timer Recycle Job (job-timer-recycle)

Name job-timer-recycle Title Timer Service Recycle Default Schedule Daily at 6:00 AM Service TimerService LockType None (Server) Type Microsoft.SharePoint.Administration.SPTimerRecycleJobDefinition BaseType SPAdministrationServiceJobDefinition   In SharePoint 2010 a daily job to recycle the Timer Service was introduced. Because many jobs written by many parties run in the same Timer Service process, one misbehaving job could cause problems…

6

The SharePoint Administration Service and SPAdministrationServiceJobDefinition

The Timer Service Recycle, Password Management, and Application Server Administration Service recurring timer jobs all derive from the SPAdministrationServiceJobDefinition class. We’ll begin here by presenting and discussing this special timer job class and the SharePoint 2010 Administration Windows service with which it interacts. Then we will discuss these jobs in detail. SharePoint 2010 Administration Service…

5

SharePoint Timer Job Locks and Scope

With this post it’s time we take our best shot at discussing a somewhat confusing topic – SharePoint timer job locks and scopes. I’ll do my best to describe things; if you have questions or need further clarification post a comment and I’ll attempt to clarify further. All timer jobs have a scope of action…

13

SharePoint Timer Service: Config Refresh and Internal Jobs

In describing the invocation and execution of timer jobs within SharePoint’s Timer Service framework, there are a few possible approaches. We could begin by describing the SPJobDefinition class and its various descendants. Another approach would be to describe how the Timer Service instantiates and invokes the jobs. The approach we’ll take is to go through…

1

The SharePoint Timer Service

As a single unified logical entity, a SharePoint farm requires a mechanism to run tasks necessary to provide its services. These tasks include updating components of the farm such as servers and services, and updating data and configuration in farm databases. To run these tasks, SharePoint provides its own scheduled tasks management service, manifested as…

3