Wednesday, October 06, 2010

Display Images from Database in Windows Phone 7 (WP7) using WCF service

   The Windows Phone 7 (WP7) Developer Toolkit RTW provides an excellent mechanism to built Rich UX applications on mobile devices (phone). One of the interesting aspect of WP7 programming is that it provides the Silverlight platform for application development. I am a great fan of Silverlight and WPF development and I am going to adopt a similar programming mechanism with WP7, for consuming WCF service and perform the data communication. In this article, I have designed a WCF service which makes a call to a Database and reads data from the table. This table contains Images stored in binary form and through the WCF service, we make the byte array data available to the WP7 application.
I am using SQL Server 2008 and the Table schema is as below: The name of the table is ‘ImageEmployee’:
4102010_image_2.jpg
Read more: net curry.com