Archives for Software Dev - Page 56
SqlGeometry Data Type–Treating it alongside other SqlParameters
SqlGeometry is a spatial data type introduced in SQL Server 2008 (R2). It can be found in the namespace. This is a special data type and not one of the…
Unit Tests are nothing but small, controlled experiments
When I was a physicist (before I joined the computer industry), one of my favorite things was running lab ; For a physicist, a simple experiment could prove (or disprove)…
Refactoring Interfaces– separating concerns
Interfaces are the starting point for designing any service oriented architecture – whether they be externally facing web services or internally facing local services. Hence, the correct design of interfaces…
Free, Open Source UML Tools
Actually, seemed to serve my needs of producing a quick UML architecture diagram. It is free and offers an option to export the diagram as a ping image. This post…
Floats and Doubles can lose you money…use Decimals or a custom Money class instead
Ariane 5 Rocket Launcher Crash In 1996, the European Space Agency lost a valuable shuttle just 37 seconds into the launch sequence. After a deep dive into the root cause…
Moving from Oracle to SQL Server – Data Types To Worry About
As you start planning the migration of the schema objects, one immediate concern will be the data type mismatches between SQLServer and Oracle. Here are some helpful links in determining…
Diffs and Merges–Better Tools for TFS
One of the most frequent tasks that developers face is ‘comparing’ (diff between) two versions of a source ; Another related task is that of merging two (or more versions of)…
LINQ versus looping–Performance
Looping and Iterating is bad for performance right? So – a loop like the one below should be bad. for (int i = 0; i <= iterations; i++) { foreach…
VS 2010–View Call Hierarchy
Have you ever wanted to find all implementations of a particular interface method? Or all the overrides of an abstract method? In the past, this meant downloading a plugin such…
Use Funcs only if you want results back
If you are trying to encapsulate a method that returns a value, Funcs are ideal. However, what if your method returns void? Func will not work (Funcs were designed to…