Installing IIS and ASP.NET on Vista

less than 1 minute read

By default the IIS on Vista would not be configured. And while publishing using VS 2008, you might face error such as "IIS 6 Metabase and IIS 6 Configuration...

Winform Tip#10: Getting File Properties

less than 1 minute read

Instantiate a FileInfo object with the full path as constructor arg. Then simply call FileInfo.Extension and you will get just the extension of the file.   F...

Ten Traps in C# for C++ Programmers

less than 1 minute read

Though this boils down to basics, these are most often missed out in projects and hence are performance issues.   http://ondotnet.com/pub/a/oreilly/dotnet/ne...

Winform Tip#9: ColorPicker

less than 1 minute read

Choose a textbox over which we will test this experiment: [sourcecode language='csharp'] ColorDialog colorDialog1 = new ColorDialog(); //fontDialog1.ShowColo...

Datagrid, datalist or repeater

less than 1 minute read

Developers often make a decision blindly - they choose a datagrid over datalist and repeater. But that should not be a case. Datagrid provides ability to all...

Silverlight Toolkit

less than 1 minute read

While the community comes up with the new version of Silverlight Toolkit for Silverlight 3. Let us see how it is installed. When installing, ensure that foll...

Development Tips to increase SQL Performance

less than 1 minute read

These are few tips to increase SQL Performance: An index increases time to perform INSERT / UPDATE / DELETE operations.  So minimal uses of indexes should b...

WCF “k__BackingField” Property Naming

less than 1 minute read

While I was working on a project that involved designing WCF services as Backend layer, I ended up defining a class [Serializable] public class ProgramDetail...

Retrieving GAC Assemblies and Information

less than 1 minute read

Retrieving GAC assemblies and their information.  This was a question posed by one of my colleagues while he was developing a product. Now the answer to this...

Silverlight Host for Sharepoint

1 minute read

The solution attached with the post is a very easiest way to host a Silverlight Application in any Sharepoint site. Ready-to-use component is just 9 KB. You...

Winform Tip#7:Browser within Winform

less than 1 minute read

WebBrowser control can be used inside a form to display HTML contents and listen to events such as NavigateComplete or BeforeNavigate Use of ActiveX wrappers...

GC - Static Class Issues!

1 minute read

Understanding the scenario We were working on a Windows Service for a large US bank when we discovered that there are potential issues while using Static Cla...

Winform tip#6:DataGrid vs DataGridView

less than 1 minute read

DataGridView is an enhanced version of DataGrid.  Some of the features lacking in DataGrid are: Multiple column types Multiple ways to display data Multiple...