Exception Not Found

Mapping an MVC ViewModel to a List of Name/Value Pairs

Let's use ASP.NET Reflection to take properties of a ViewModel and map them to a generic List<>. Includes a working sample project.

Exception Not Found © 2026