Geeks With Blogs

WinToolZone - Spelunking Microsoft Technologies
I work as a developer on the Common Language Runtime (CLR) team, specifically in the areas of exception handling and CLR hosting.

The information in this weblog is provided "AS IS" with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided "AS IS" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

Inside and Out... An attempt to understand technology better... January 2006 Entries
Understanding ASP.NET Request Processing Architecture

A nice article explaining it can be read at

Posted On Wednesday, January 11, 2006 9:30 AM

[Download] CSLMail - SMTP/POP3 email component for .NET Framework and .NET Compact Framework
CSLMail is my pet project on which I have been working for past few years. I have recently worked towards updating, feature enhancing and bug-fixing it, resulting in v2.0. CSLMail 2.0 is a free and feature rich .NET based email component, which supports the SMTP and POP3 protocols, completing the need to design a complete email client. Its comes with complete documentation and features include: SMTP Complete SMTP support for sending emails SMTP Authentication supported Attachments supported using ......

Posted On Tuesday, January 10, 2006 10:03 PM

[Tip] "Real" paging of data records using SQL Server 2005
Scott Guthrie has an excellent example of how to do real-world paging of data records pulled from the DB, using a new feature of SQL Server 2005. Must read ......

Posted On Monday, January 9, 2006 8:45 AM

ASP.NET 2.0 WebService vs WCF Nov CTP Performance Comparison
One of the frequently asked questions at the India Windows Communication Foundation Tour was how does WCF scale as compared to existing technologies, like ASMX? Will WCF services be more scalable than the ones we author today? What do we have to do for better scale? I thought of doing some very basic performance tests to get some data for these questions. The test was done to compare how ASP.NET 2.0 WebServices perform against WCF services. I did these tests on my machine which has 2GB RAM, 60GB ......

Posted On Friday, January 6, 2006 6:50 PM

Single Service implementation for WCF, .NET Remoting and ASMX
[Original Post Date: 4th January 2005] I stumbled on this post by Matt, which is an excellent article that describes how to author a single service that can be consumed by client of .NET Remoting, WCF and ASMX. Must Read ......

Posted On Thursday, January 5, 2006 1:55 PM

[Article] Sharing State across Clients in Windows Communication Foundation (WCF)
[Original Post Date: 2nd January 2005] With WCF, state management in services get more capabilities than just Singleton and PerCall approaches. Two new modes have been introduced that take state management to the next level. PerSession and Shareable modes allow for private sessions and shared sessions across specific clients respectively. I have authored the article, Sharing State across Clients in Windows Communication Foundation, which attempts to help understand these modes of state management ......

Posted On Thursday, January 5, 2006 1:54 PM

[Download] WCF Tour India Demos for Nov CTP
[Original Post Date: 26th December 2005] I have updated the WinFX Beta 1 based WCF Tour India demos for WinFX November 2005 CTP. You can download them from here ......

Posted On Thursday, January 5, 2006 1:49 PM

CLR Profiler for .NET Framework 2.0

[Original Post Date: 26th December 2005]

Download it from here.

Posted On Thursday, January 5, 2006 1:46 PM

[Article] Service Orientation tenets and Home Delivery of Pizza
[Original Post Date: 18th December 2005] Service orientation is a concept and a way of thinking on how to design distributed systems. Technologies like Windows Communication Foundation implement these concepts and make them real. In order to understand the power of such technologies, its imperative we understand SO. I have attempted to help understand this abstract concept in an article titled Service Orientation and Home Delivery of Pizza that you can read here ......

Posted On Thursday, January 5, 2006 1:45 PM

AutoReply for PocketPC 5.0
[Original Post Date: 6th December 2005] AutoReply for PocketPC 5.0 is a Windows Mobile 5.0 based application that will automatically send a SMS to the caller when you are unable to answer their phone call for some reason. This saves you from manually sending a SMS when you get a missed call. Instead, simply set a pre-defined message and activate the application. Any calls that you miss (or not answer) from that point on will be automatically sent a SMS with the message that you set. This application ......

Posted On Thursday, January 5, 2006 10:09 AM

WCF India Tour Presentations and Demos
[Original Post Date: 23rd November 2005] I just concluded the Windows Communication Foundation (WCF) India Tour after two weeks in 4 cities. Download: Presentations from here Demos (based upon Indigo Beta 1 and VS 2005 Beta 2) from here ......

Posted On Thursday, January 5, 2006 10:08 AM

WinFX November CTP Released
[Original Post Date: 21st November 2005] The WinFX November CTP has been released and it works with VS 2005 RTM release. Download the various components: WinFX Runtime Components - WinFX SDK - Visual Studio Extensions for WinFX - ......

Posted On Thursday, January 5, 2006 10:06 AM

Windows Communication Foundation (Indigo) India Tour
[Original Post Date: 9th November 2005] Windows Communication Foundation, formerly codenamed Indigo, is the future of Microsoft distributed computing platform. And to take it to the next level in India, we are having Windows Communication Foundation (WCF) Tour across the month of November. The dates are as below: City Date Bangalore 10th November Pune 15th November Chennai 17th November Hyderabad 22nd November In this tour, we will enable the attendee to understand WCF, its relation with service ......

Posted On Thursday, January 5, 2006 10:03 AM

TechED Sri Lanka Presentations
[Original Post Date: 17th October 2005] Below are the presentations for the sessions delivered at TechED Sri Lanka: What's new in Windows Mobile 5.0 Developing High Performance Applications with .NET Compact Framework VC++ 2005: New Features For Better Performance Building Bluetooth Applications with Windows CE 5.0 and Windows Mobile SQL Mobile 2005: Overview ......

Posted On Thursday, January 5, 2006 10:00 AM

India Technology Roadshow Presentations and Downloads
[Original Post Date: 14th October 2005] Technology Roadshows, which have been on for almost a month across India, have been very successful. I have been speaking in the Developer Track on Building Performant Applications using .NET Framework 2.0 and Debugging Techniques for .NET Framework 2.0 and VS 2005. You can download the presentations and demos from ......

Posted On Thursday, January 5, 2006 9:58 AM

Off to TechED Sri Lanka
[Original Post Date: 9th October 2005] TechED Sri Lanka is on from 12th October to 14th October. And I am off to present there - primarily on Windows Mobile and Developer Tracks. Check the agenda here ......

Posted On Thursday, January 5, 2006 9:55 AM

WindowsIdentity Debugger Visualizer for Visual Studio 2005
[Original Post Date: 9th October 2005] I just finished implementing WIVisualizer, a WindowsIdentity debugger visualizer for Visual Studio 2005. It displays important details like: Username Authentication type Impersonation Level Account type - System or Guest Anonymous or Authenticated identity Windows groups the identity is member of Here's a screen-shot for the same: It has been built using the Visual Studio 2005 Release Candidate and can be downloaded from here. To install, simply copy the DLL ......

Posted On Thursday, January 5, 2006 9:53 AM

[Download] vCardCE10 - vCard generation library for .NET Compact Framework 1.0
[Original Post Date: 26th September 2005] Few weeks back, I had written ShareContacts - an application for Windows Mobile 5.0 based PocketPC that could be used to share contacts, using the vCard format, with other devices. Since it was done using .NET Compact Framework 2.0, and also used some APIs specific to Windows Mobile 5.0, I decided to work upon it and get the (almost) same functionality to Windows Mobile 2003 platform. The result is vCardCE10 - class library that allows you to set few properties ......

Posted On Thursday, January 5, 2006 9:51 AM

Image Visualizer for VS 2005 Beta 2
[Original Post Date: 25th September 2005] I am currently on the Technology Roadshow across 6 six cities in India, where I am talking about Building performant applications and Debugging Techniques for .NET Framework 2.0. One of the things the developers here are amazed at are the DataTips that have been introduced with VS 2005, and also with Visualizers. Infact, when I demonstrate the DataSet Visualizer that ships with VS 2005, you can hear the WOW! of the audience :) In the same session, we then ......

Posted On Thursday, January 5, 2006 9:48 AM

Technology Roadshow: September/October 2005
[Original Post Date: 18th September 2005] Starting from 20th of September, Technology Roadshow starts in India. We are going to 6 different cities and doing two complete days of technical sessions across a breadth of technologies: for developers, IT professionals, Windows Mobile and Tablet PC developers and Architects. Below are the dates for the same: City Day 1 Day 2 Mumbai 20th Sep 21st Sep Pune 22nd Sep 23rd Sep Chennai 27th Sep 28th Sep Hyderabad 30th Sep 1st Oct New Delhi 4th Oct 5th Oct Bangalore ......

Posted On Thursday, January 5, 2006 9:46 AM

Adding process enumeration support in Rotor v1.0
[Original Post Date: 5th September 2005] Share Source CLI, better known as Rotor, is one of the best ways to understand how .NET Framework works. And with the source code availability as part of Rotor distribution, its an excellent academic/hobby interest - you can extend it by adding more functionality, or modify the existing one and see how it behaves. Yesterday, I went about doing the same. One of the functionality which I found missing in Rotor is that of enumerating system process list. .NET ......

Posted On Thursday, January 5, 2006 9:44 AM

Sharing Contacts from PocketPC - the vCard way
[Original Post Date: 28th August 2005] One of the features I miss in PocketPC is that of sharing contact details with other people without requiring to beam them off Bluetooth - basically meaning sending the data as a message to the recipient in question. A lot of other devices support such a functionality and I have had more than one occasion when I wished that such a feature was present in PocketPC device. This lead me to explore on how to implement such a functionality and that too, in a standardized ......

Posted On Thursday, January 5, 2006 9:42 AM

Playing Sudoku...
[Original Post Date: 22nd August 2005] Over the past weekend, I have been working a lot on Sudoku, the number game that has been catching up in India a lot. I started off with implementing a Sudoku solver (which, btw, is partially done - it can calculate all the optimized potential values for a given box in the 9x9 grid) and today, finished off with an implementation of a Sudoku generator, PlaySudoku - a Windows based application using which you can play the game: The game is free for download from ......

Posted On Thursday, January 5, 2006 9:37 AM

Enumerating Managed Processes
[Original Post Date: 16th August 2005] System.Diagnostics.Process class is a managed wrap over a subset of the ToolHelp API - as it enumerates only the process list. Not only that, it will list all the running processes, irrespective of whether they are running unmanaged code or running managed code. What if you wish to identify which of these processes are running managed code? Unfortunately, neither the ToolHelp API, nor the Process class allow us to identify managed processes from the list they ......

Posted On Thursday, January 5, 2006 9:33 AM

Copyright © Gaurav Khanna | Powered by: