Scheduled Jobs
Here is an example of how to schedule jobs using MEF as the Common Service Locator.

Common Service Locator
The Common Service Locator is used internally to build objects. You must setup common service locator to use your favorite IoC tool.

Here is an example using MEF
var catalog = new DirectoryCatalog(AppDomain.CurrentDomain.BaseDirectory);

ServiceLocator.SetLocatorProvider(() =>
{
	var container = new CompositionContainer(catalog);
	return new MefServiceLocator(container);
});
You must set the Common Service Locator before you use anything in the CloudEngine. Note: You generally only need to do this for your worker role. The Azure Toolkit generally doesn't use the Common Service Locator for anything in a web role or other type of client application. You can find all the service locators that will work with your favorite IoC tool here under the heading "Service locator adapter implementations".

Queue Commands
Adding Messages Queues
Table Storage
Blob Storage

Last edited Apr 7, 2011 at 3:35 PM by ntotten, version 5

Comments

RichardAlan Mar 27, 2011 at 3:55 PM 
I downloaded the repository. It's great software and exactly what I am looking for. I guess hundred and hundreds of hours must have gone into its development. However please can you add some samples on how we can use the software. The only documentation I see does not do your great product justice and looking at the documentation alone I would never use your code.

I managed to get some ideas on how to create a table and add a record to a table but please please can you create some examples on how we can get data from a table using IAzureTable<> get() or getall() ..

Thanks