I’m looking for some advise / best practices for setting up a WCF application in Windows Azure.
Currently I have an SQL Azure DB and I want to make some services which need to provide information for iPhone and some other 3rd party products.
1) How do I develop a WCF application in Windows Azure, using SQL Azure data?
2) What is the best architecture to do this and what is the best way to make this secure?
I’m using C# as language.
You can create the WCF Web Role by using the Azure SDK, or you can host your WCF on a worker role as well. It’s up to you.
Connect to SQL Azure would be very very similar as what you did to connect to SQL Server, just pay attention to the connection string.
Since you mentioned this WCF will be used for iPhone and some 3rd part application, I strongly recommended you have a look on WCF RESTful Toolkit, and the JSON format. Since for this scenario, RESTful API (or web api) with JSON format would be the best.