Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to June 2013 Entries
Number of Unit test projects in Visual Studio solution
Some time ago I have discussion with my co-worker how to organize test projects. Should we have a single test project that does all sorts of things and references every project?It is good to have one integration test dll, but for unit tests, what is the point merging everything into one.In ideal world I agree that small independent projects are better. Unfortunately we have solution size limitations From ......

Posted On Sunday, June 9, 2013 12:11 PM

Office customization tips
I've posted below a few Office customization tips, that I prefer to setup when using a new computer.Display File Path in Excelfrom to display the file path of the current open file (Excel 2007):Right click on the ribbonChoose "Customise quick access toolbar"Select "All commands"Then choose "Document Location"Click "Add".. and it will appear on the rightMS Word 2007/2010 - display path and filename in menu barhttp://www.technologyque... ......

Posted On Sunday, June 2, 2013 9:51 PM

Serialization error when property is declared as base class, but populated by derived class
I've receive quite generic error Message : Type 'MyclassType' with data contract name 'MyclassType:http://schemas... is not expected. Consider using a DataContractResolver or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.Type : System.Runtime.Serializatio... mscorlib, Version=, Culture=neutral, ......

Posted On Sunday, June 2, 2013 9:08 PM

Response for REST method was truncated because default MaxItemsInObjectGraph was not big enough.
We have a REST service with attributes [WebGet(UriTemplate ="...", BodyStyle =WebMessageBodyStyle.Bare, ResponseFormat =WebMessageFormat.Xml)]Norm... it worked fine. But for particular data it has a huge response that was truncated. The size returned in a few attempts in IE browser was 2196456, in Chrome slightly different 2195397.After a search in google I found that has a number of suggestions. For WCF service that will transfer large amount of data in ......

Posted On Sunday, June 2, 2013 2:29 PM

Upgrading PostSharp from ver 2.1 to new version 3.0
I was upgrading our solutions from PostSharp 2 to PostSharp 3. The small solution based on cache attribute from was upgraded without any problems.Upgrading my main solution by installing nuget package PostSharp also was quite well. The only annoying thing was that installer added RequiresPostsharp.cs file to all projects, that already had SkipPostSharp=true setting and I had manually remove themThe issue was reported athttp://support.sharpcraft... ......

Posted On Sunday, June 2, 2013 2:17 PM

Copyright © Michael Freidgeim | Powered by: