Create Message in WCF

In last post  we discussed about SOAP Message Versions. Now let us move ahead and create a Message. You can create a Message using CreateMessage() method of Message class . This method is overloaded with 11 different set of input parameters. Easiest you can create a Message by just providing MessageVersion and action On running … Continue reading Create Message in WCF

WCF SOAP Message Version

Service and client communicate to each other through Messages. So they must be agreed upon the Message version while communicating. Service may send Message as POX or may be as SOAP12. When at service side we create a SOAP Message, we term it as Message Object Model. Essentially, we can say Message Object Model is … Continue reading WCF SOAP Message Version

Consuming OData in Windows Phone 7.1 or Mango Phone

Background If you would have read my posts discussing WCF Data Service and Windows Phone 7, there were many steps involved in consuming WCF Data Service in Windows Phone 7 Download OData client for Windows Phone 7 and add as reference in Windows Phone 7 project Create Proxy of WCF Data Service using svcutil.exe Add … Continue reading Consuming OData in Windows Phone 7.1 or Mango Phone

Photo Viewer in Windows Phone 7.1 or Mango Phone

In this post I will show you how to create a simple Photo Viewer? Before I start, I would like to inform you about a gray part of this post that all the Images are attached as a resource in the phone application and this is not recommended. We should have either image in Isolated … Continue reading Photo Viewer in Windows Phone 7.1 or Mango Phone

Fetching Mobile Operator Name in Windows 7.1 Phone [Mango]

In this quick post I will show you, How to fetch Mobile operator name in Windows 7 Phone? Design the page In content Grid, I have put a button. On click event of button, in message box we will display Mobile Operator Name Write Code Behind Add Namespace On the click event of Button we … Continue reading Fetching Mobile Operator Name in Windows 7.1 Phone [Mango]

Get Address from Contact in Windows Phone 7.1 [Mango]

In this post I will show you, how you could get Address from contact and Display it. Expected Output On running of application you will get a button On click of button Contact list will be open On selection of a contact . address of that contact will be displayed in label. Design the page … Continue reading Get Address from Contact in Windows Phone 7.1 [Mango]

Fetching Data from SQL Azure table in Windows 7.1 [Mango] Phone using WCF Data Service

In this article, we will discuss about how to consume data from cloud [SQL Azure] in a Windows 7.1 [Mango] phone. SQL Azure and Windows 7.1 [Mango] phones are two common terms that you can hear about from many tech-savvy people. So I thought it is the right time to integrate these technologies. In this … Continue reading Fetching Data from SQL Azure table in Windows 7.1 [Mango] Phone using WCF Data Service

Inserting Multiple Rows in SharePoint list using SharePoint 2007 Web Services

Today at work, I come across a very simple requirement to “Insert Multiple Rows in SharePoint list using SharePoint 2007 Services”. Although this is very common problem and you might get much information while binging on same topic. But to benefit of my readers, I decided to go ahead blog post solution of above problem.  … Continue reading Inserting Multiple Rows in SharePoint list using SharePoint 2007 Web Services

Code snippet for Fetching Data from Excel using ADO.Net

Today one of my team members asked me a very simple question though very important question, “How could we fetch Excel Records using ADO.Net? Could you give me code snippet of same? “ I replied him; it is pretty possible using oledDbConnection  I told him to add below reference I gave him below straight forward … Continue reading Code snippet for Fetching Data from Excel using ADO.Net

RichTextBox in Windows Phone 7.1 or Mango

RichTextBox control is one of the most welcome controls in Beta release of Windows Phone 7.1 or Mango phone. Beta version of RichTextBox control has come with many limitations  It is Read Only Control does not appear in tool box There is no default style. There are two usual ways to add RichTextBox, one directly … Continue reading RichTextBox in Windows Phone 7.1 or Mango