Geeks With Blogs

News Awarded Microsoft MVP C#.NET - 2007, 2008 and 2009

I am born in Bangladesh and currently live in Melbourne, Australia. I am a Microsoft Certified Application Developer MCAD Chartered Member (C# .Net)and born in Bangladesh.
I am founder and Chief Executive Officer of
Simplexhub, a highly experienced software development company based in Melbourne Australia and Dhaka, Bangladesh. Co-founder and core developer of Pageflakes
Simplexhub, is on its mission to build a smart virtual community in Bangladesh and recently launched beta an ASP.NET MVC application written in C#.NET.

Some of My Articles
Flexible and Plugin based .Net Application..
Mass Emailing Functionality with C#, .NET 2.0, and Microsoft® SQL Server 2005 Service Broker'
Write your own Code Generator or Template Engine in .NET
Shahed Khan blog January 2007 Entries
Distributing data to other systems and in this instance I used MSMQ
I remember last year I designed a application where I had couple of Webforms to collect data and I was storing in the database.Ie. Webform facilitates insert, Update and Delete of Person and allow to set reminders for the person, which is later on send to him via Email, SMS and other ways... This year the client wanted one of their legacy application to pickup the reminders and display on is own calendar.... but the catch is the the legacy app will use its own database structure and its own ......

Posted On Thursday, January 25, 2007 5:15 AM

Can you find the C

Posted On Tuesday, January 23, 2007 1:33 AM

Links to Microsoft Visual Studio Documentation and Related Resources....
Source MSDN Blogs: Links to Microsoft Visual Studio Documentation and Related Resources Note: These links are subject to change at any time. Official Documentation for Visual Studio Visual Studio 2005 documentation starting page: Visual Studio 2005 SDK documentation starting page: ......

Posted On Monday, January 22, 2007 11:55 PM

Improving Reflection Performance
Some tips to keep in mind when using reflection....Source MSDN: Reflection Performance There are various reasons why an application can't define a static extensibility contract, but it's usually a result of the flexibility the architect built in. Here are some ways to reduce some of the cost of reflection and of the MemberInfo cache. Avoid using Type.InvokeMember to call late-bound methods Type.InvokeMember ......

Posted On Monday, January 22, 2007 11:31 PM

Use Reflection wisely and be aware of the list Costly functions vs the fast ones
Here is the list of Fast and Light Functions and Costly Functions. So when you write your next piece of codes be more careful to choose the right methods. Fast and Light FunctionstypeofObject.GetTy... == Object.GetTypeType equivalence APIs (including typehandle operator overloads)get_Moduleget_Mem... of the IsXX predicate APIsNew token/handle resolution APIs in the .NET Framework 2.0 Costly FunctionsGetXX APIs (MethodInfo, PropertyInfo, FieldInfo, and so on)GetCustomAttributesType.... ......

Posted On Monday, January 22, 2007 12:14 AM

CLS - Common Language Specification, consider making your code CLS compliant.
Making your code CLS compliant is important, as this confirms that the classes should only expose features that are common to the CLS. So anyone using your classes and writing in a different programming language do not face any issues. To make sure, CLS compliancy is checked by the C# compiler we have to explicitly define the CLSCompliantAttribute.Marking inside AssemblyInfo.cs class======================... CLSCompliant(true)] Marking an entire assembly as CLS compliant ===========================... ......

Posted On Thursday, January 18, 2007 1:58 AM

Pageflakes take away feature
Like I took this sudoku flake here in this blog: Choose your flake at and go to edit and press Export button and this will give you a html similiar to this:<script type="text/javascript" src="http://www.pageflakes.... allowtransparency="true" id="pffid29970474" scrolling="no" frameborder="0" hidefocus="true" src="http://www.pageflakes.... style="border:none 0px #cccccc;margin:0px;width:32... ......

Posted On Wednesday, January 17, 2007 2:09 AM

Testing Bandwith Speed
Its not as hard as it sounds anyone can do this by throwing some javascript. Most of the speed test sites that are available, downloads a predefined file (a jpg or something with known size) and then uses javascript to find the time elapsed and then calculate the result.In one of the popular site I saw something like this: <html><script language="JavaScript">fu... RightNow(){time = new Date();return time.getTime();} function CalculateSpeed(timeStart){t... = RightNow();timeElapsed ......

Posted On Wednesday, January 17, 2007 1:24 AM

Taking Asp.Net2.0 applications offline with app_offline.htm
Asp.Net 2.0 comes with this cool feature, just place a file named app_offline.htm in the root folder of your web application, this will shut-down the application and also unload the application domain from the server, not only this it will stop processing any respond to all requests for dynamic pages and send back the content of app_offline.htm file.So in the app_offline.htm you can put "Under Construction", "Will come back in 5 min" etc. When you remove app_offline.htm file again the next request ......

Posted On Tuesday, January 16, 2007 11:03 PM

Free Asp.Net Goodies
Some zero cost resources for develpers.source: OpenSourceProjects:SmartCod... A free opensources code generation tool that uses pure to generate your text base output.DotNetNuke ( A content management portal.nGallery ( Is an image gallery project written in C#. .Text ( blogging engine written in C#Community ......

Posted On Monday, January 15, 2007 2:46 AM

Asp.Net Ajax Debugging
Dan Walhin made this good video tutorial to show us steps needed to debug client side script : Video : Debugging Ajax Application with Visual Studio 2005 Basically, The following steps need to be performed Step1: Need to tweak IE to enable client script debugging :Go to Tools > Internet Options > Advanced and uncheck both "Disable script debugging (Internet Explorer)" and "Disable script debugging (Other)" .Step2:Then in your client code where you want the breakpoint write"Something") ......

Posted On Sunday, January 14, 2007 11:49 PM

Some Useful Asp.Net Ajax /xml Tutorial Videos to let you start quickly
All the following Videos are available in this bloghttp://blogs.interfacet... Video: Viewing Albums with WPF/E and ASP.NET AJAX Video: Edit XML Data with the XmlDocument Class Video: Using XPath with the XmlDocument Class Video: Parsing XML with the XmlDocument Class Video: Debugging ASP.NET AJAX Applications with VS.NET 2005 Video: Calling Web Services with ASP.NET AJAX and JavaScript Video: Using the ASP.NET AJAX UpdatePanel, Triggers and PageRequestManager Video: Minimize Code ......

Posted On Sunday, January 14, 2007 11:39 PM

Code blocks formatting in blogs

This GREAT! code formatter lets you format your code blocks. It's simple, you have to copy/paste into a text box, select the technology c#, VB, HTML/ASPX, XML also you can turn on/off line numbers, and alt line back colors.

The Service is available here.

the source code is also available in the site.

Posted On Friday, January 12, 2007 2:03 AM

Just Uploaded SmartCodeGenerator CTP 2.4.0 at CodePlex
Just Uploaded SmartCodeGenerator CTP 2.4.0 at CodePlexSmartCodeGenerator CTP 2.4, 4 Jan 2007 contains support for .Net2.0 and now you get out of the box DBSchemaProvider for MSSQL2000, MSSQL2005, Oracle and MySqlAlso written and quick example using the DBSchemaProviders....All this is downloadable from here: ll appreciate if you post your thoughts, suggestion, advise for this project ......

Posted On Thursday, January 4, 2007 6:34 AM

MS SQL 2000 Schema Discovery Queries
Below is the list of queries that I am upto with my MSSql2000DBSchemaProvider for SmartCodeGenerator. I thought this might be useful and quick reference for others too.GetTables string cmdText = string.Format(@"Select TABLE_NAME, TABLE_SCHEMA OWNER, REFDATE CREATE_TIME FROM INFORMATION_SCHEMA.TABLES , sysobjectswhere Table_Name = sysobjects.[name] and TABLE_CATALOG = '{0}' AND TABLE_TYPE = 'BASE TABLE' ORDER BY 1", database.Name);GetTableColu... commandText = string.Format(@"Select COLUMN_NAME, ......

Posted On Wednesday, January 3, 2007 5:55 AM

I have been awarded MVP for Year 2007
Happy New Year Everyone. I just found this morning I have been awarded MVP ( Microsoft’s Most Valuable Professional ) Award for Year 2007 for my contribution to the Visual c# Community. My MVP Profile: might be also interested to see the following links:My Blog: http://www.geekswithblogs.n... My Current Open Source Project at CodePlex : SmartCodeGenerator My Articles at CodeProject: 1. Ready-to-use Mass Emailing ......

Posted On Tuesday, January 2, 2007 1:59 AM

SmartCodeGenerator - DBSchemaProviders for MySql and Oracle

The SourceCode of Implemented DBSchemaProviders for Oracle and MYSql was mising in the zip file, sorry for the inconvenience.

The correct files are uploaded and is downloadable.

Posted On Monday, January 1, 2007 5:45 AM

WinForms UI Thread Invokes
WinForms UI Thread Invokes: An In-Depth Review of Invoke/BeginInvoke/InvokeRe... very good read Marshalling the execution of your code onto the UI thread in the Windows Forms environment is critical to prevent cross-thread usage of UI code. Most people don't understand how or when they'll need to use the marshalling behavior or under what circumstances it is required and when it is not. Other users don't understand what happens when you use ......

Posted On Monday, January 1, 2007 1:21 AM

Copyright © Shahed Khan | Powered by: