Author Archives: JohnHowell

About JohnHowell

I am a professional software developer with over 20 years of experience. I currently specialize in Microsoft technologies such as VS, TFS, C#, VB.Net, WCF, WPF, WW, etc.

Yet another nice new feature in .Net 4.5 (beta)

How many times have you written Trace code and used MethodBase.GetCurrentMethod() or the Exception.TargetSite or the StackTrace in that code to get the method name or better yet, tried to get the line number.  Well, they’ve made that much easier … Continue reading

Posted in Uncategorized | Leave a comment

(Not so much) fun with Rhino Mocks

After creating some unit tests, I ran into a problem where the TestInitialization method was failing with either one of two errors. The test initialization was performing something similar to: [TestInitialize] public void Initialize() { myMock = MockRepository.GenerateMock<IMyInterface>(); myMock.Stub(m => … Continue reading

Posted in Uncategorized | Leave a comment

Visual Studio 11 Beta–Holy Smokes Batman!!

Visual Studio 11 Beta and .Net 4.5 Beta became available on February 29th.  Some where expecting the normal incremental updates and improvements but the VS and .Net team appear set to knock this one totally out of the ball park!  … Continue reading

Posted in Uncategorized | Leave a comment

Decompiling .Net

As many of you know, our beloved tool .Net Reflector was bought by RedGate and is no longer free.  The last free version is showing it’s age.  Enter Telerik to the rescue.  They are providing a FREE .Net Decompiler!  And … Continue reading

Posted in Uncategorized | Leave a comment

Building services in Visual Studio

When we’re building WCF services, we often want to debug our code.  Creating a harness to host our service is easy enough but I’ve seen people open two instances of Visual Studio to do this.  One to host and one … Continue reading

Posted in Uncategorized | Leave a comment

Audio and Video in HTML5

Script Junkie delivers another good post about using the <audio/> tag in HTML5.  I really liked the table showing what codecs are supported in each browser.  Thanks Emily! Happy Coding!

Posted in Uncategorized | Leave a comment

Interesting SQL ISNULL behavior

Found an interesting post about the SQL ISNULL function.  Apparently, it behaves differently if you’re using it to test strings.  For example: DECLARE @a VARCHAR(100)DECLARE @b VARCHAR(10) SET @a=’This is much longer than 10 characters‘SET @b=NULL — This will display—        … Continue reading

Posted in Uncategorized | Leave a comment