Archives for Software Dev - Page 57
Inserting copyright notice into your source files
UPDATE : The ‘Macros’ is no longer found under the ‘Tools’ menu in VS2012. You can download this extension for VS 2012 that provides macros capability – though I found…
Visual Studio Plugins that you (read ‘I’) didn’t know existed…
Of these, the only one I had been using was
Architecture for multiple services differentiated by Feature and by Platform
Say you have a set of services that your application (the server side) exposes. These could be categorized by feature: Account Service – contains methods for Creation, Deletion, Updating of…
Approximating Energy Levels for a Particle in a Box
Probably one of the more startling revelations of Quantum Theory is the ‘wave-like’ nature of all particles. Not just photons. Physicists had a much easier time accepting the wavelike nature…
The most powerful pattern of all–The State Pattern (with C# source code)
If there was a pattern that could be used just about anywhere, in any situation – and still work, what would that pattern be? For me, the answer is the…
Command Pattern to the rescue
Recently, I was asked to take an existing library of methods (written in c#) that worked against a particular platform (say Oracle on the backend) and build an equivalent set…
Searching through and Editing csproj files
Visual Studio’s capabilities, when dealing with .csproj files, are somewhat limited. It restricts users – both when searching for content in .csproj files – as well as the ability to…
VS 2010 Solution Explorer–Collapse Solution
In VS2010, the Solution Navigator provides a Collapse All feature (as shown above), enabling you to collapse all projects within a solution. Unfortunately, the collapsed projects do not stay collapsed…
Detaching, Dropping SQL Server Databases–Some gotchas
There’s a couple of different ways to drop/detach databases from sql server (assuming the obvious Right Click, Delete option in Management Studio did not work for you) Method 1 -…
Property Bags–A Life Saver for the practicing OO Developer
(Full Source Code Available at the end of this article) The basic idea is simple enough – you have a type (class) with certain properties that is being used by…