SharePoint Tip: Best Timer Job is a Dumb Timer Job


Just came across this tip provided by Eric Gregorich from Secrets of SharePoint. It says “best timer job is a dub timer job”. What this means is, whenever you have to develop a SharePoint timer job which performs heavy tasks, extract the logic into another services that does the heavy tasks. This could be implemented as a workflow, a stored procedure or a custom web service. Then have the timer job calls this functions/methods. This helps the developers to easily debug and reuse the code. Thanks to Eric Gregorich for providing such a useful tip.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s