Using Dynamic Anonymous Types in Razor

Ancient Knowledge

This article is getting old. It was written in the ancient times and the world of software development has changed a lot since then. I'm keeping it here for historical purposes, but I recommend you check out the newer articles on my site.

A useful extension for developers that don’t shy away from anonymous types in their viewmodels.

Using Dynamic Anonymous Types in Razor