Jason Rowe

Be curious! Choose your own adventure.

Tag: C#

  • NetMsmqBinding Brain Dump

    I started experimenting with WCF’s NetMsmqBinding and found the abstraction to be a bit tricky. WCF takes care of all the MSMQ details and all you need to do is define the contract and do configuration. The following are some notes about that process. Links msmq wcf and iis getting them to play nice AutoFac […]

  • Shiny New Toys, Visitor Pattern, and Real World Functional Programming

      Last week in the office I thought to my self, “Holiday weekend coming! I’ll have time to play with WP7 or maybe I’ll play with HTML5”. Then I saw this tweet on twitter. We as developers spend too much time playing with baubles and shiny new tools and not enough time on core skills […]

  • Intro to Propositional Logic Using C#

    I’ve been reading about propositional (or sentential) logic in the book “The Annotated Turing”. I put together a quick console app to write out truth tables. It helped me get the hang of the mathematical notation “v”, “&”, and “->”. In C# those would be ||, &&, and !x || y respectively. I hope someone […]

  • Decrypt QueryString – Space + Issue = Uri.EscapeDataString

    While working with encrypted querystrings in ASP.NET I noticed people doing this: The “strScramble.Replace(” “, “+”)” is a scary way to get around the request.querystring automatically changing the “+” into a space.   A better way is to use System.Uri.EscapeDataString before adding the querystring value. Then HttpUtility.UrlDecode works as expected returning the “+”. According to this blog on MSDN (http://blogs.msdn.com/yangxind/default.aspx), […]