Archives for Language features, Development Methodologies - Page 20
Facebook– Essential Missing Functionality
For the world’s leading social networking site, these missing features are inexcusable: Unable to edit status updates (there's a trick that can be used on updates containing images - but…
iTunes 11–Missing sidebar and File menu
Not sure why these are hidden by default on the Windows version of iTunes. To recover the File menu bar –> CTRL B To recover the sidebar –> CTRL S…
C#, .NET Exception Handling Best Practices
The Problem Statement You have just started working on an existing codebase – an n-Tier project - and noticed that the Exception Handling framework wasn’t as well defined as you…
Automatically Expand Windows Explorer Navigation Pane (left pane)
Of the many things I miss in the Classic Windows View – the Windows Explorer navigation is one of them. In Windows 7, the navigation pane (the leftmost pane), does…
A flexible service oriented architecture that handles multiple platforms (multiple devices, multiple databases…)
The Problem Statement Imagine that you have just built a sophisticated application to work against a SQL Server database. You followed a best-practices approach and separated out your presentation, business…
New interfaces for implementing Publish-Subscribe in .NET
You know you are a techie at heart if you find yourself getting excited at the introduction of a couple of new interfaces. .NET introduces IObservable (Publisher) and IObserver (Subscriber).…
ODBC 32 bit drivers on Windows 7
When I opened the ODBC control panel (on Windows 7) and started enumerating the built-in database drivers, I got a bit of a shock. Not only were the Microsoft Access…
Generating Random Numbers C#
When tasked with generating Random numbers, some folks use a static method such as that shown below: Code Snippet static Random rn = new Random(); static int ReturnNextRandom(int maxIndex) {…
VS Compilation Error -The item was specified more than once in the resources parameter
The Issue : Visual Studio throws the following compile time error on a project that includes UI controls (either WinForms or controls). The item was specified more than once…