Using SSL with WP7, WCF service and Azure

I'm trying to connect to my azure WCF service using an SSL certificate. I've seen a good few tutorials talking about changing the 'binding' properties in the web.config file but the tutorial I followed results in this not being possible (as far as I can see):

The data in my Azure database is exposed using my Azure hosted WCF service and at the moment, the connection string contains sensitive data.

Using my SSL certificate (I recently purchased a wildcard SSL certificate) I'd like to connect to my Azure hosted WCF service from my WP7 app.

Essentially I'm looking for some guidance:

  • How do I setup the SSL connection between my WP7 app and my Azure hosted WCF service so that only users of the app can access the service?



You'll need to do a few things:

  1. Configure both the client (WP7) and the server (WCF service) to use the basicHttpBinding with Security mode set to Transport. This will allow you to use an HTTPS endpoint.

       <binding allowCookies="True">
         <security mode="Transport" />
  1. Upload the certificate in your cloud service through the portal.
  2. Add an HTTPS endpoint referencing the certificate (through the thumbprint) in the Web Role (csdef and cscfg).
  3. Map a CNAME to your cloudapp address that matches the wildcard domain defined in your certificate.

Need Your Help

Spring MVC, handle errors in @service layer and send them to the jsp

java validation spring-mvc service multi-layer

I seek the best way to handle error validation in the @service layer in a spring mvc application.

Metatag displays as html ouptout (aspx page) html meta-tags

protected override void OnLoad(EventArgs e) {

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.