New Ways of Accessing Data : Presenting in Kolkata Community Tech Days

Hi Friends I will be delivering a session in Kolkata Community Tech Days on 2nd July. Read Kolkata session details here Register here Session details are as follows, Address: Rotary Sadan 94/2 Chowringhee Road Kolkata – 700020 Date: 2nd July 2011 Title: New ways of accessing your Data Abstract: This demo oriented session will explore … Continue reading New Ways of Accessing Data : Presenting in Kolkata Community Tech Days

DataContext in LINQ

To make a communication with Database a connection must be made. In LINQ this connection is created by DataContext. Essentially Data Context class performs below two tasks Create connection to database. It submits and retrieves object to database. Converts objects to SQL queries and vice versa You can say, it acts as exactly the same … Continue reading DataContext in LINQ

Connection string in LINQ

It is very common that you come across scenario when at run time you need to change the database server and so the connection string is used in your LINQ. This may come as requirement, if you are moving your application from dev server to staging and from staging to production. There are two ways … Continue reading Connection string in LINQ

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. I … Continue 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 WCF … Continue 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 Call … Continue 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, … Continue 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 links … Continue 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 this … Continue 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 private … Continue reading Internal classes to understand WCF Message: XmlDictionary Class