sfeldman.NET

.NET, code, personal thoughts

  • Moq with NameValueCollection

    Mocking HttpRequest and HttpResponse is not complicated with HttpRequestBase and HttpResponseBase introduced in ASP.NET. I had to mock ServerVariables property of HttpRequest and run into an issue – I was accessing an indexer property and didn’t know how to do this. Gladly, ran into a post that mentioned that indexer is actually utilizing a virtual Get() method. Reflector has confirmed that.

  • Writing a Custom ConfigurationSection

    Writing a Custom ConfigurationSection is not a big task, but can be very challenging if you forget some details. I loved this post as it reminded me that you have to have both the Section tag and the collection within it tag… dah!

  • Join.me

    Working with remote team members can be sometimes challenging. Working with temporary team members is even more challenging. IT can sometime get in your way when you need screen sharing, and you need it fast. Typically I’d go first with the official route – IT provided service (in case company provides that service or has acquired it), VNC (if IT supports it), or something else, more creative.

  • Happy 2012

    Life is a book. Each one of us is an author. Every year is a chapter. Every New Year eve we wish to start fresh, to begin a new chapter in our life. Let me wish you to live your next year in a such way, that you would be proud to add another chapter to your life book, proudly looking at the passing year and building on top of that many other chapters, full with love, happiness, great achievements, and people so dear to your heart.

  • ESENT Database

    Thank to Oren Eini, now I have another tool under my toolbelt – ESENT database. Fully transactional database, deployed with all windows, just add managed wrapper and good to go. Moral of this post – there’s so much under my nose that I am not even aware of…

  • IconFinder

    I have always wanted to be able to find free icons for the documents and visual explanations I was putting together, w/o violating any creator rights and yet being able to find quality items. Finally a co-worker of mine, Eliot Negelev, has showed me the site that does it: IconFinder.com Love it!

  • NServiceBus Course – Afterthought

    I have attended Enterprise Development with NServiceBus course last week. Interestingly, a lot of questions I had back a while ago where answered. Either I was missing the knowledge, or not asking the right questions. Either way, what I was trying to accomplish a year and something ago with BizTalk could be done ten times simpler with NSB. BizTalk was a great tool for mapping, but definitely neither a services platform nor a bus. Long-term running processes with BizTalk (aka Orchestrations) felt plain wrong. The fact that one was not able to test the bread and butter of a business process w/o having a full end to end integration testing was mind blowing. Creating messages outside of BizTalk has felt like a shameful sin.