Ok, I found some useful information on the internet on the subject but some of it seemed... a bit wrong. In my company we have several WCF websites and i just wanted to just plainly use IIS and not start to use some windows services for cron-jobs. The task at hand was to periodically call a WCF method. here is what i did: Create a new project in Visual Studio. I chose a "WCF Service Application". Go to the project properties and change and remember the Assembly name. Create a new class "PreloadCode" like this: namespace XXX.WasAutostartTest { public class PreloadCode : IProcessHostPreloadClient { private static Logger Log = LogManager.GetCurrentClassLogger(); public void Preload(string[] parameters) { Log.Info("Preload called!"); //do your custom code here... like me calling the WCF service! ...