Publish Azure Project using Windows Azure SDK 1.5 Publish Setting wizard

In this post, I will show you step by step walkthrough to publish a cloud project in Windows Azure Right click on the cloud project and select Publish Windows Azure publish setting wizard will be open. First you need to set the credentials. I assume here that you have not set any credential before so … Continue reading Publish Azure Project using Windows Azure SDK 1.5 Publish Setting wizard

Code to select photo on Windows Phone 7

In this post we will see how could we select a photo saved on device and bind it as source of image control on our application. Expected Output   To work with photo on device you need to work with Choosers. To work with Choosers you need to add Microsoft.Phone.Tasks namespaces. PhotoChooserTask class allows us … Continue reading Code to select photo on Windows Phone 7

Debugging WCF Service from Silverlight: The Breakpoint will not currently be hit at WCF Service error

Assumption Binding configuration at WCF has debugging enabled Cross domain problem has been take care of since WCF and Service is running on different servers. Visual studio is running in administrator credentials or credentials having enough permission to debug on server. While working today I came across a requirement to debug WCF Service from Silverlight … Continue reading Debugging WCF Service from Silverlight: The Breakpoint will not currently be hit at WCF Service error

Reading coordinate values using Accelerometer API in Windows Phone 7

In this post we will see how to read different axis values using Accelerometer API. To work with Accelerometer API first you need to add reference of Microsoft.Devices.Sensors Then below namespace, Now to capture X Axis, Y Axis and Z Axis value you need to follow below steps Step 1 Create task object of Accelerometer … Continue reading Reading coordinate values using Accelerometer API in Windows Phone 7

Code to Send SMS in Windows Phone 7

Launchers are used to perform task provided by phone operating system. Sending SMS is feature of Windows phone operating system and can be used by Launcher API. SmsCompseTask launcher is used to send SMS. This task class is defined as below, To work with SmsComposeTask, first you need to add namespace of Microsoft.Phone.Task Then create … Continue reading Code to Send SMS in Windows Phone 7

Protecting password or any data in Windows Phone 7 using Data Protection API

There may be many scenarios, when you need to save data in protected form for your application in isolated storage. Of course you have an option To encrypt the data with some encryption algorithm Save in the isolated storage Problem with above approach is either you will have to store the key in isolated storage … Continue reading Protecting password or any data in Windows Phone 7 using Data Protection API

What is Channel in WCF?

In Service oriented architecture there are two parties involved, Server and Client .Server and client communicate to each other via Messages. Message travels over the network. For communication; server and client must be agreed upon Format of message Protocol Transport Encoding of the message etc. Channels are the responsible component of WCF for Creation of … Continue reading What is Channel in WCF?

Calling One-Way WCF Service using IOutputChannel

Note: This post is inspired by one of the chapter from book Essential WCF. I tried to put the content in my way. Thanks to the original author. I strongly recommend you to read this post http://winterdom.com/2007/08/ioutputchanneloverirequestchannel One way communication pattern allows client to send message to service and forget. Client doesn’t have to wait … Continue reading Calling One-Way WCF Service using IOutputChannel