Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to August 2013 Entries
Methods to verify, are DataTables or DataSets the same.
I wanted to verify, are DataTables in DataSets the same. I found a few similar implementations on StackOverflow, but the one that I've selected ( didn't work and returned unexpectedly false, when comparing two cells with the same values tbl1.Rows[i][c] 2 object {long} tbl2.Rows[i][c] 2 object {long} tbl1.Rows[i][c] == tbl2.Rows[i][c] false I found, that it should be used Equals instead of ==. Equals(tbl1.Rows[i][c], ......

Posted On Tuesday, August 27, 2013 9:49 PM

2 options to write tests for WCF Services
When writing Integration Tests for WCF Services, you have 2 options to access SUT(system under test)1. Inproc – Test Classes are calling methods from application DLLs directly.2. External – Tests are calling external services using client proxy with specified URL.If you own the code of the service, the Inproc method is preferred as it is allow to test units rather the whole object as black-box.If your tests are external clients of the service determined by URL, you need to have the service installed ......

Posted On Saturday, August 17, 2013 11:42 AM

Angular JS vs Knockout JS -quotes and links
Our team need to choose a JS framework. Base on the research Angular is the preferred framework. The only essential concern - if you need to support old IE6/7 browsers(but also there are articles how to support/workaround the IE issues)From supports almost all major browsers:IE6+, Firefox 2.0+, Chrome, Safari and Opera 10+.Link - Knockout : Browser supportAngular Supports only A grade browsers at the moment:IE8 ......

Posted On Saturday, August 17, 2013 11:20 AM

POSTSHARP error PS0052: The plug-in "PostSharp.Patterns.Diagnostics.Weaver" was not found
After some merge of source code branches I've got a build error POSTSHARP : error PS0052: The plug-in "PostSharp.Patterns.Diagnos... required by the type "PostSharp.Patterns.Diagnos... was not found. [C:\Builds\\MAIN_Master\Sou... wasn't able to find immediately which code caused the error, and google also didn't give me an answer.After some investigation I found that PSproj file had missing entries for PostSharp.Toolkit.Diagnosti... ......

Posted On Sunday, August 11, 2013 2:57 PM

Misleading compiler error "is a 'type' but is used like a 'variable'"
The following C# line to call AutoFixture methodfixture.Create<Lis... Error 63 'System.Collections.Generic... is a 'type' but is used like a 'variable' It wasn't obvious, that closing '>' was missing. I believe that compiler can recognize and provide better error message ......

Posted On Sunday, August 11, 2013 2:45 PM

My favorite Visual Studio tools
Recently I've setup Visual Studio on new machine and I wanted to install a few tools, that I am using all the time.It includes Resharper, GhostDoc(aka ctrl-shift-d) http://visualstudiogallery.... - alternative to VS 2012 pending window ( See also my old post Tools to debug/Trace ASP.NET applications.(many of them are outdated already) ......

Posted On Sunday, August 11, 2013 2:40 PM

Copyright © Michael Freidgeim | Powered by: