I am trying to run Webjobs locally, with an Azure emulator, but throwing an exception. I just found old messages (from the beginning of 2015) that the Azure emulator does not support local execution due to some unsupported Blob functionality. I wonder if this restriction really works or is there some kind of workaround?
When running locally, I create a JobHostConfiguration as:
JobHostConfiguration config = new JobHostConfiguration();
config.StorageConnectionString = "UseDevelopmentStorage=true";
config.DashboardConnectionString = "UseDevelopmentStorage=true";
When initializing, I get the following exception:
Unhandled Exception: System.InvalidOperationException:
Failed to validate Microsoft Azure WebJobs SDK Storage account.
Any idea on how to get WebJobs to execute locally? Any famous work around? Thanks in advance.
source
share