close

Free Endpoint Security Solutions

</bindings>

Now that I had the server side set up, it was time to work on the WP7 side of the sample.  As I mentioned before, there are a lot of samples available for setting up both the service and client side of a Service Bus connection. What there was not (at least that I could find) was examples of setting up a client to authenticate with ACS, without using assemblies from the Azure AppFabric SDK such as Microsoft.ServiceBus.dll.  Adding to the “fun” was that all web calls on Windows Phone 7 must be done asynchronously – meaning the System.Net.WebClient behaves a little differently on WP7 than it does on a desktop or server app.  So, that said, let’s get on with it! 

There are two things that are needed – authentication with ACS and sending the ACS provided token to the service.  Let’s start with authenticating the client with ACS.  For my sample I decided to go with what is the most basic form of authentication, a shared secret.  This will involve creating a WRAP message, sending it to ACS, and then extracting the ACS token from the response.

private void GetDataUsingAcsSecurity()

endpoint security download     endpoint security by bitdefender cannot be successfully installed

TAGS

CATEGORIES