January 2015 Entries

WebJobs QueueTrigger not working?

I’ve just spent quite some time trying to figure this out, you read many good things about WebJobs, and as luck would have it, you’re in the market for some nifty backend processing whenever something is added to a queue, so now seems a good time to take a proper look. So, right click on my web app, and select ‘Add, New Web Jobs’ and create a new WebJob project. Then start adding my code: class Program { static void Main() { var host = new JobHost(); host.RunAndBlock(); } public static void ProcessQueueMessage([QueueT... ......

Getting VpnNetworkSetupFailure on Azure when setting up a Virtual Network from a Website Instance?

This is one of the most annoying errors I’ve come across purely as to find the information involved hunting through many layers. For those who want the quick ‘give me something to try please!’ solution, ensure the name of your website instance is 38 characters or less. The explanation Let’s create a new website using the Preview Portal: The name in full is: Test-Virtual-Network-Error-... which is 43 characters. Note that we have the Green Tick of Success next to the URL field, this name ......