Category: dynamic Subscribe to RSS Feed
-
Travis wrote an interesting blog post about mixing the new dynamic feature in C# 4 and claims. His idea was to use a User class derived from DynamicObject as a proxy to get claims. Here is some of the code he shows: var claims = new[] { new Claim("foo", "3"), new Claim("foo_bar",... read more