Learn ADO.Net Entity Framework: Performing basic CRUD Operation

In this post I will walkthrough you on performing basic CRUD operation using ADO.Net Entity framework. Database design I am going to use School Database. You can find School database script here . To be precise, I am going perform CRUD operation on only one table Person. Schema of Person table is as below. IContinueContinue reading “Learn ADO.Net Entity Framework: Performing basic CRUD Operation”

Tracing in WCF: Understanding basic steps

Theory behind WCF Tracing is not an exception of classical definition of Tracing. Through Tracing an application provides information about itself. Information may vary from internal state of object to passed input parameter to method. This information should be logged, persisted or saved somewhere. WCF Tracing can be used for the instrumentation of the WCFContinueContinue reading “Tracing in WCF: Understanding basic steps”

Viewing Flickr Images on Windows 7.1 Phone or Mango Phone

In this post I will show you how you can create a Photo Viewer from images of the Flickr Service. Flickr Service Flickr expose a REST based feed to access images. You can find information about Flickr public feed at below link. http://www.flickr.com/services/feeds/docs/photos_public/ Public images feed can be find at http://api.flickr.com/services/feeds/photos_public.gne Expected Output Approach CallContinueContinue reading “Viewing Flickr Images on Windows 7.1 Phone or Mango Phone”

Reading XML file through LINQ: few Tips

In this post I will discuss how could be read XML file using LINQ. We will see some tips as well. Let us say we have XML file as below, this file is stored on D drive. This XML contains information about books. Data.Xml     Fetching all the Books To fetch all the Books,ContinueContinue reading “Reading XML file through LINQ: few Tips”

Presented Demo on Mango Phone in Ahmedabad Community Tech Days on Road

On 11th June 2011 I presented a demo on various new features of Mango Phone. It was a great time presenting there in front of more than 500 audiences. Session details are as follows Topic New Features of Windows Phone 7.1 Duration 20 minutes Venue Ahmedabad Number of Audiences Around 500 Below are the linksContinueContinue reading “Presented Demo on Mango Phone in Ahmedabad Community Tech Days on Road”

Internal classes to understand WCF Message: XmlDictionaryWriter Class

XmlDictionaryWriter class is one of the most important classes to work with Message in WCF. This class is inherited form XmlWriter class. Essentially this takes as Stream as input parameter. This class mainly performs serialization and encoding of the stream to send as Message in WCF.     There are four factory methods of thisContinueContinue reading “Internal classes to understand WCF Message: XmlDictionaryWriter Class”

Internal classes to understand WCF Message: XmlDictionary Class

In last post we discussed the way we could create WCF Message. If you go back and reexamine CreateMessage() function , you will find this function is overloaded with 11 different set of inputs. It is common when you will create Message, you may use XmlDictionary class. XmlDictionary class allows us to create a privateContinueContinue reading “Internal classes to understand WCF Message: XmlDictionary Class”

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 runningContinueContinue 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 isContinueContinue 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 AddContinueContinue reading “Consuming OData in Windows Phone 7.1 or Mango Phone”