How to use Inversion Of Control(IoC) with Azure Worker Role
We used Unity in the Workers of our sample. Take a look here: http://msdn.microsoft.com/en-us/library/ff966499.aspx
in fact these samples abstract common patterns found with workers such as:
- Get a message from a queue
- Do somtheing
- Delete message from queue
etc.
This blog post by Alexandre Brisebois may be useful, he has an example of how he uses Unity to wire up a worker role.
Building Windows Azure Services Without Compromising Testability