Paul's Petrov Whiteboard

[BizTalk, Enterprise Application Integration, Business Process Automation, SOA, .NET]

  Home  |   Contact  |   Syndication    |   Login
  67 Posts | 1 Stories | 133 Comments | 30 Trackbacks

News

Archives

Post Categories

Image Galleries

BizTalk

Other

Software Engineering

Simple trick that saves me some time and coding when writing custom configuration objects is to define generic collection for them. Let's say I created several custom configuration elements derived from my CustomConfigElementBase which in turn inherits from System.Configuration.Config... Instead of defining strongly typed collections for each type I can simply define class: public class GenericConfigElementCollect... : ConfigurationElementCollection where T : CustomConfigElementBase,...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

I don't know why this site changed it's good ol' name from The Daily WTF to "politically correct" WorseThanFailure but I wouldn't do it in my case. I happen to perform code reviews on Java to .Net migration recently and in both I find enough "programming pearls" to keep me saying WTF every day for weeks. I thought about posting some of them and sharing the link with creators of such masterpieces as I may guess who's behind. They might get angry at me but it's for good to let them learn from their...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Good post about MSF 4.0 by Charles Young
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati