There are times one needs to edit a project file (csproj, vbproj or others) in XML editor or just text editor because all settings are not available through […]
Adding features to Visual Studio 2008 SP1
While trying to compiling nVidia CUDA kernels on my Windows 7 x64 I realized that somehow I didn’t install the Visual Studio 2008 C++ x64 compilers and tools. […]
The slides and code from my “Making asp.net mvc applications strong typed” presentation
Yesterday I held a presentation (as the part of Bleeding Edge 2009 conference) on how to make ASP.NET MVC applications strong typed by using CodeSmith and CodeRush (actually […]
Powerful and easy installation authoring of .net applications with Advanced Installer
Lately I’ve built a .net class library that supports COM as well. To make setup file I usually use Visual Studio’s Setup Project because I rarely do anything […]
A better call to Control.Invoke
Whenever one needs to interact with WinForms UI from within another thread (the one that didn’t create the UI controls) one has to rely on the Control.Invoke (or […]
Packing assemblies to a single file for Righthand.Dataset.Visualizer
A while ago I’ve created Righthand.DataSet.Visualizer, an advanced DataSet visualizer. Today I’ve added support for displaying a single table as well. It wasn’t a big deal but I […]
Autoimplement base class constructors with CodeRush
How often do you derive a class and re-create all of the base constructors? This is not an uncommon task, let’s take a custom exception class for example: […]
Using extension methods to make code less cluttered
Here is an example where an extension method is useful. Take this [LGP] code for example: public EntityCollection<CustomersEntity> GetCustomers() { using (DataAccessAdapter da = new DataAccessAdapter("Data Source=[SERVER];Initial Catalog=Northwind;Integrated […]
CodeRush Xpress is free
A stripped (more express) version of CodeRush, called CodeRush Xpress, is available for download at no charge! And even a bunch of refactorings are included. See the announcement […]