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 SilverlightContinueContinue reading “Debugging WCF Service from Silverlight: The Breakpoint will not currently be hit at WCF Service error”
Author Archives: Dhananjay Kumar
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 AccelerometerContinueContinue 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 createContinueContinue 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 storageContinueContinue 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 ofContinueContinue 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 waitContinueContinue reading “Calling One-Way WCF Service using IOutputChannel”
Inserting Null Value for Integer columns in Windows Azure Table
I recommend to read below post before you start reading this post Creating Azure Table using CloudTableClient.CreateTableIfNotExist There may be requirement when you need to insert null values for values type columns in Azure table. In our recent project, we had a requirement to insert null values for integer columns. Usually if you don’t provideContinueContinue reading “Inserting Null Value for Integer columns in Windows Azure Table”
Creating Azure Table using CloudTableClient.CreateTableIfNotExist
I discussed Three simple steps to create Azure table in my last post. Just after submitting the post, I got a comment from Neil Mackenzie that I can avoid creation of context class [Step 2] in last post. He helped me with the link for the best practice on MSDN This post is to accommodateContinueContinue reading “Creating Azure Table using CloudTableClient.CreateTableIfNotExist”
Three simple steps to create Azure table
Please read post at below link for recommended way to create table, https://debugmode.net/2011/10/12/creating-azure-table-using-cloudtableclient-createtableifnotexist/ In this post I will show you three simple steps to create Azure Table. Let us say you want to create Azure table called Employee with following columns EmployeeID EmployeeName EmployeeSalary Step 1: Create Entity class First step is to create entityContinueContinue reading “Three simple steps to create Azure table”
Reading EXCEL FILE in a collection using Open XML SDK 2.0
In my previous article I talked about Inserting in Excel file from C# collection using Open XML SDK 2.0 before you go ahead, I strongly recommend you to read this post. In this post, let us try to do the reverse process. We will read all the rows of Excel file List of Bloggers. AgainContinueContinue reading “Reading EXCEL FILE in a collection using Open XML SDK 2.0”