Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Contents tagged with Dynamic languages

  • JSON-style dictionary parameters in C#?

    Eilon has an interesting post about using the new anonymous object initializer syntax in APIs that take dictionaries. The end result looks very much like the JSON parameterized function calls that are very common in many JavaScript frameworks, which shows once more how C# is getting many of the nice features of dynamic languages while remaining statically-typed. While I wouldn't use that just to get named parameters like those frameworks are often doing, it looks well-justified in this context because the parameter it's being used for is actually not predetermined.

  • Dynamic languages in ASP.NET

    David Ebbo wrote a very interesting article that explains in great details how they gave ASP.NET the ability to be driven by dynamic languages. The compilation system, on which David worked for a few years, is explained, as well as why it doesn't apply to dynamic languages. Then he goes on to explain how they were able to integrate IronPython anyway, taking advantage of an existing feature, no-compile pages.