Angle Bracket Percent

David Ebbo's blog Follow me on Twitter (@davidebbo)

Browse by Tags

Tagged Content List
  • Blog Post: Use C# 4.0 dynamic to drastically simplify your private reflection code

    Update 8/10/2011 : this project now has a home at https://github.com/davidebbo/ReflectionMagic . Also, it is installable via nuget. It's named ' ReflectionMagic '. Private reflection allows you to access private and internal members in other assemblies. Generally, it’s considered to be a...
  • Blog Post: Using C# Dynamic to simplify ADO.NET Data Access

    Update (11/7/09) : fixed Execute() method per Richard’s suggestion to wrap IDataRecord instead of Reader. Recently, I started playing around with C# dynamic, and blogged how it could be used to call static class members late bound . Today, I was talking to Phil Haack , who I think had talked to ScottGu...
  • Blog Post: Using C# dynamic to call static members

    By now, you’ve probably heard that C# 4.0 is adding support for the dynamic keyword, which introduces some aspects of dynamic languages to C#. I had not had a chance to really try it, but recently I was reading Bertrand Le Roy’s post on the topic, and was sort of looking for a good opportunity...
  • Blog Post: C# method overload resolution can play tricks on you

    While working on T4MVC , I ran into a very tricky C# compiler behavior that I thought I’d share.  T4MVC creates various overloads that allow you to avoid literal strings.  One such case is that you can replace: routes.MapRoute( "UpcomingDinners", "Dinners/Page/{page}"...
Page 1 of 1 (4 items)