Service Bus Queues and Topics Sample Code

May 24, 2011 at 10:20 PM

Has anyone gotten these 2 demos to work with VS2010 SP1 ?

I'm getting the same errors in the following projects:

AppFabricQueue -> Listner
AppFabricQueue -> Sender
AppFabricTopics ->  Topic Sender

XamlParseException in
_service = ServiceLocator.Current.GetInstance<ITopicSenderService>();

The projects
AppFabricTopics -> PaperOrderFullfillment, PrinterOrderFullfillment and AuditSystem connect to the bus and work fine.

Any thoughts?


Jun 8, 2011 at 7:49 AM

Even I tried a lot to make them work. But I am unable to run AppFabricQueue  Sample. I am trying to execute AppFabricTopics now. Hoping it will work.

Jun 12, 2011 at 5:44 PM

I'm getting similar errors with both samples related to the ServiceLocator implementation failing to resolve getting an instance of QueueSender (for the Sender project).  Appreciate the code samples but this is very frustrating not being able to get these to run, especially since the errors aren't even related to the Service Bus functionality and just IOC.

Probably an easy fix related to the ServiceLocator - please provide some guidance!!!!!!