Useful resources on SQL Server Compact Edition

SQL Server Compact Edition Concepts A Technical Comparison of Replication and Remote Data Access Features in SQL Server 2005 Mobile Edition 3.0 Architecting Disconnected Mobile Applications Using a Service Oriented Architecture Q&A on OCS & Sync Services for ADO.NET How Remote Data Access Works Planning for Remote Data Access Implementing Remote Data Access Using Merge…


Useful resources on Windows Mobile 5/6

What’s New for Developers in Windows Mobile 6 The Windows Mobile® 6 developer platform releases focuses on a few core goals: simplify line of business (LOB) application development and deployment, make the task of building a single application that runs successfully across the many different devices in the Windows Mobile family easier, and provide an…


Converting Data to JSON in .NET Framework 3.5

Thanks to Scottgu’s blog ( from where I got this idea to write this blog. I used System.Runtime.Serialization.DataContractJsonSerializer class for serialiazing the data into JSON format instead of System.Web.Script.Serialization.JavaScriptSerializer which is now obselete (can still be used). using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.Linq;using System.Data.Linq.Mapping;using System.Web.Script.Serialization;using System.Runtime.Serialization;using System.IO; namespace JSONConverter {     class Program {        static…


Windows Embedded: FAQS

What is Microsoft Windows Embedded? Windows Embedded is a family of operating system software and tool sets from Microsoft for use in computer devices such as cash registers, automated teller machines (ATMs), industrial controllers, gateways, Internet Protocol (IP) telephones, server appliances, Windows-based thin clients, advanced consumer electronics, and specialized handheld devices. The Windows Embedded family…


Resources on ASP.NET

The useful list of documentation and guidelines on ASP.NET 2.0 and SQL Server 2005 (this is updated list as the old lists addresses have been changed) Reference: patterns & practices Security How Tos Index ASP.NET 2.0 How To: Configure the Machine Key in ASP.NET 2.0 How To: Connect to SQL Server Using SQL Authentication in…


Release - Source Code for the .NET Framework Libraries!!!

The source code for the Microsoft libraries is going to be released later this year.  More information can be found on Scott’s blog Releasing the Source Code for the .NET Framework Libraries (


Virtual Earth - Printing mapping directions to paper

There are several different ways to print the mapping directions to the paper. I have attached a simple sample program that should be able to get started. What this program does is display the directions in a TextArea; using JavaScript create a Post method and have the routing information posted onto another page.   <%@ Page Language=”C#” AutoEventWireup=”true”…


What is Acropolis?

To know more about what is Acropolis, visit the MSDN blog


Displaying the byte[] image in the runtime (without storing it on machine)

Continue from the last blog post: In the last blog I had shown how to convert the byte [] to image and vice-versa. But sometimes there can be a need to display the image without storing it in the machine (server). One way to achieve this to use an <iframe> control and assign a page…


How to convert image into byte[] and byte[] to image using C# in ASP.NET

Recently I worked on a code sample for converting the image to the byte array and convert it back to the image type in ASP.NET 2.0 application.   Here is the code sample:  using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.IO;…