Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Windows phone 7, WCF, and SQL Azure

3,975 views

Published on

Presentation to a chapter of Professional Association for SQL Server users demo'ing creating a Windows Phone 7 app connectiong to a SQL Azure database using a WCF (Windows Communication Foundation) service.

Published in: Technology
  • Be the first to comment

Windows phone 7, WCF, and SQL Azure

  1. 1. By Dean Willson<br />Presented to fwPASS on 5/24/2011<br />Windows phone 7, WCF, and SQL Azure<br />
  2. 2. Agenda<br />Register as a WP7 developer in the App Marketplace<br />SQL Azure database – Azure management<br />WCF Service/Entity Framework<br />WP7 client<br />Putting it all together<br />
  3. 3.
  4. 4. Marketplace<br />$99/year developer account<br />Azure/ SQL Azure pay to play or MSDN subscription<br />3-5 day certification process for submittal<br />1-5 day certification process for update<br />Paid apps can’t switch to free after approval<br />
  5. 5. SQL Azure<br />SQL Azure Migration wizard http://sqlazuremw.codeplex.com/<br />SSMS (limited functionality)<br />SQL Azure Management Console<br />
  6. 6. wCF<br />WCF .net version 3.5<br />Silverlight 3 supports basicHTTPBinding (not wsHTTPBinding)<br />Updating ServiceReference (contract changes) is a pain<br />add Aspnetdb provider config<br />
  7. 7. WP7 Client<br />No direct database calls (web services, WCF, REST)<br />Asynchronous calls (performance)<br />
  8. 8.
  9. 9. login page<br />.Net Membership provider<br />
  10. 10. gymnast list page<br />Binding ObservableCollection list<Gymnast><br />
  11. 11. Resources<br />http://cloud.dzone.com/news/how-use-wcf-services-access-0<br />http://breathingtech.com/2011/how-to-use-wcf-services-to-access-sql-azure-database-from-windows-phone-7-app-part-2/<br />http://www.danrigsby.com/blog/index.php/2008/03/18/async-operations-in-wcf-event-based-model/<br />http://blah.winsmarts.com/2008-4-Writing_the_WCF_Hello_World_App.aspx<br />http://robtiffany.com/windows-phone-7/windows-phone-7-line-of-business-app-dev-consuming-an-azure-wcf-rest-json-service<br />http://www.africangeek.com/<br />http://www.c-sharpcorner.com/UploadFile/UrmimalaPal/1858/<br />http://www.jeffblankenburg.com/2009/07/07/day-7-using-wcf-web-services-with-silverlight-and-linq/<br />
  12. 12. Blogs<br />dean-o.blogspot.com<br />practicalhoshin.blogspot.com<br />Twitter<br />twitter.com/deanwillson<br />LinkedIn<br />linkedin.com/in/deanwillson<br />Website<br />www.systemental.com<br />Email<br />dean@systemental.com<br />connect<br />

×