Developing Timer Jobs for SharePoint 2013 and Office 365

Learn how to create timer jobs the way the pros do for SharePoint Server 2013 and SharePoint Online (Office 365).
  • Lectures 15
  • Video 2 Hours
  • Skill level intermediate level
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

Course Description

Remember, your one-time purchase grants you lifetime access, so you receive all new lectures & updates at NO ADDITIONAL COST.

Timer jobs are SharePoint's way of executing scheduled tasks. Many commercial SharePoint products and custom solutions use them, and they're a super important concept for any serious SharePoint developer to master.

In this course, I'll teach you all about timer jobs for SharePoint Server 2013 and SharePoint Online. I'll also show you the secrets pros use to create solutions that are good enough to sell commercially!

Here are a few examples of how this course is different:

Example #1: You may have seen articles or blog posts telling you to inherit from SPJobDefinition as your base class for a custom timer job. Did you know there are other options that are sometimes better? I cover those in this course.

Example #2: Many free articles and blog posts about timer jobs say "use the property bag for configuration settings." Well, there are other options too, and sometimes those are better! In this course I delve pretty deep into job configuration and the trade-offs between different approaches.

Example #3: Best practices from real-world experience. This is a big deal. I cover things like error handling and progress reporting that other training courses and articles don't cover much, if at all. Why? Because those things matter in real life! Glossing over them might be okay for simple "how to" articles but not when you're building commercial solutions you're selling to people!

I update this course periodically with new information to keep it current and relevant. Since you have lifetime access to this course once you purchase it, you get these updates at no additional cost once you buy.

The Goal: By the time you finish this course, you should feel confident about when timer jobs are an appropriate design choice in SharePoint and how to create one like the pros do!

Good training is about making you more valuable and getting you productive as quickly as possible. All the information you need is wrapped up into this one course and is presented with real-world examples and best practices.

What are the requirements?

  • Minimum 1 year of SharePoint development experience - should be familiar with concepts like features and farm solutions
  • Proficient in C# and .NET

What am I going to get from this course?

  • Over 15 lectures and 2 hours of content!
  • Create a timer job the way the pros do - good enough to sell in a commercial solution
  • Make better choices about base classes, configuration, error handling, and progress reporting
  • Discover how to create timer jobs for SharePoint Online (Office 365)
  • And of course, make yourself a more valuable developer by broadening your skill set

What is the target audience?

  • Junior and mid-level SharePoint developers who want to broaden their skill set (if you're a senior SharePoint dev with 10 years of experience, you probably won't benefit as much)
  • Front-end SharePoint developers who want to get into more back-end development
  • Anyone who's created a timer job before but wants to learn the secrets the pros use when creating commercial solutions

What you get with this course?

Not for you? No problem.
30 day money back guarantee

Forever yours.
Lifetime access

Learn on the go.
Desktop, iOS and Android

Get rewarded.
Certificate of completion

Curriculum

Section 1: Intro
05:05
Introductory lecture that presents an overview of this course.
Section 2: Understanding Timer Jobs
10:09

Even though the title of this lecture makes it sound pretty basic, I chose to begin the course with this because it's an incredibly important concept. As a consultant out in the field, I've seen plenty of cases where timer jobs were incorrectly used because the developers who wrote them didn't have a proper understanding of what timer jobs actually are and how they work. To use an analogy, it would be like an ASP.NET developer creating an entire web application without understanding how the ASP.NET page lifecycle works. Things are bound to go wrong when you don't understand the basics!

In this lecture I discuss what timer jobs actually are, how they work, and how they're stored in the SharePoint configuration database. Timer jobs are an amazingly useful and important architectural concept in SharePoint, and that's why this lecture will offer you a firm foundation and understanding of key concepts before proceeding with the rest of the course.

05:11

Timer jobs are also commonly called "multi-server" jobs. But are they really multi-server jobs? The answer is "it depends." Timer jobs can be "locked" - or exclusively run - at different levels in the SharePoint farm hierarchy. Which level your job needs to run at will be determined by your specific requirements. This lecture discusses the different levels and how they determine where your job runs. It also discusses how jobs are scheduled.

13:37
This lecture explains and demonstrates how timer jobs are managed and monitored in SharePoint. Even though this lecture has more of an administrator slant than a developer slant, it's important to understand the concepts presented here because your custom jobs will have to be managed and monitored once deployed to a production SharePoint farm.
Section 3: Developing an On-Premise Custom Timer Job
02:39
This lecture demonstrates how to set up the Visual Studio project that will contain your custom timer job.
07:53

The job definition class is the heart of a timer job. This lecture demonstrates how to create a custom job definition class and talks about what needs to go inside of it (and why).

06:29
Although SPJobDefinition is the base class most commonly used for custom timer jobs, there are some other base classes that might be better or easier to work with in certain cases. This lecture offers a code-oriented look at those alternative base classes and discusses when they might be appropriate to use.
17:40
Timer Jobs, like other custom solutions deployed to SharePoint, often need to retrieve configuration settings such as connection strings, credentials, templates, and so on. This lecture presents some options for where these settings can be stored for your custom jobs. It also presents some real-world examples and trade-offs that will help you decide which mix of configuration options is appropriate for your specific requirements.
05:09
An important (but often overlooked) aspect of creating custom timer jobs is progress reporting. Any job that shows up in Central Administration and can be viewed by administrators should report progress so the administrator can see how far along it is. Progress reporting can also be of great help to the timer job developer because debugging is a lot easier when you have a sense of how your job is progressing. This lecture demonstrates how to report progress from a timer job and also shows where that progress is viewed in Central Administration.
07:43
As with any custom solution deployed to SharePoint, logging and error-handling are critical when it comes to debugging and providing support for your custom timer jobs. This lecture demonstrates logging and error-handling in a custom timer job.
Developing an On-Premise Custom Timer Job
3 questions
Section 4: Deploying and Debugging an On-Premise Job
08:48
A feature is a common way to deploy custom timer jobs. This lecture demonstrates how to create a feature in Visual Studio that will provision and unprovision your custom job in SharePoint.
07:16
A key aspect of developing a custom timer job is being able to test and debug it. Unfortunately this process isn't quite as straight-forward as you might expect. This is largely due to timer jobs running in the SharePoint timer service rather than in IIS application pools like other code you might be accustomed to debugging in SharePoint. This lecture demonstrates how to debug and test your custom timer jobs.
Deploying and Debugging Your Job
4 questions
Section 5: Timer Jobs for Office 365 (SharePoint Online)
01:07

With farm solutions not available to us in Office 365, this lecture discusses which options are available to us for building timer jobs against SharePoint Online.

08:37

This lecture demonstrates a workflow-based approach for building timer jobs against a SharePoint Online site. With new looping capabilities built into SharePoint 2013 workflows, this can be a perfectly viable approach for many scenarios.

10:56

This lecture demonstrates how to create a timer job with server-side code (remotely hosted) that runs against a SharePoint Online site. The ASP.NET Visual Studio project demoed in the lecture is available as a downloadable resource. Feel free to download it and use it as a starting point for your own timer jobs.

Timer Jobs for Office 365
2 questions

Instructor Biography

Bart McDonough , Software & Web Developer / Freelance Writer / Musician

As my bio headline illustrates, I'm a proud practitioner of the "slash career." I've always had a knack for computers and technology, so most of my professional background is in software and web development. I also enjoy writing and have authored books and articles on a variety of subjects. And since I'd be crazy to stop there, I also volunteer in music ministry (singing and playing piano) at Holy Apostles Catholic Church in Colorado Springs, Colorado.

Join the biggest student community

6,400,000

Hours of video content

28,000,000

Course Enrollments

7,500,000

Students

Reviews

Average Rating
5.0
Details
  1. 5 Stars
    1
  2. 4 Stars
    0
  3. 3 Stars
    0
  4. 2 Stars
    0
  5. 1 Stars
    0
Ready to start learning?
Preview this course