Top "Dynamicobject" questions

A Microsoft .NET Framework (version 4+) base class for specifying dynamic behavior at run time.

Loop DynamicObject properties

I'm trying to understand the DynamicObject type. Found this MSDN article to be very consise and clear as how to …

c# dynamicobject
Is there a way to convert a dynamic or anonymous object to a strongly typed, declared object?

If I have a dynamic object, or anonymous object for that matter, whose structure exactly matches that of a strongly …

.net c#-4.0 anonymous-class dynamicobject
Differences between ExpandoObject, DynamicObject and dynamic

What are the differences between System.Dynamic.ExpandoObject, System.Dynamic.DynamicObject and dynamic? In which situations do you use these …

c# .net dynamic expandoobject dynamicobject
dynamic does not contain a definition for a property from a project reference

I am getting an error that says: 'object' does not contain a definition for 'Title' all the code is also …

c# .net dynamic dynamicobject
Cannot apply indexing with [] to an expression of type 'System.Dynamic.DynamicObject'

When I try to assign a value to the ViewBag I get the following error: Cannot apply indexing with [] to …

c# asp.net-mvc viewbag dynamicobject
C# 4.0 Dynamic vs Expando... where do they fit?

I am trying to learn all the new goodies that come with C# 4.0. I am failing to understand the differences …

c#-4.0 expandoobject dynamicobject dynamic-keyword
Read values from a Dynamic Object C#

I'm trying to read values from System.Web.Helpers.DynamicJsonObject. I can see the values in the debugger but I …

c# asp.net-mvc json dynamicobject
Is there mongodb C# driver support System.Dynamic.DynamicObject in .NET 4?

Im working on a project that use .NET Razor and mongodb. I would like to do something like this: @{ var …

c#-4.0 mongodb mongodb-.net-driver dynamicobject
"'System.Dynamic.ExpandoObject' does not contain a definition for "PropertyName"

I have the following code that generates Dynamic object from XML file: C# private static List<dynamic> GetClientObject() { …

c# .net-4.0 expandoobject dynamicobject
Count objects within dynamic anonymous object (C#)

I have a dynamic object (it's actually json) that I pass into my MVC WebApi controller. The json object contains …

c# asp.net-mvc linq anonymous-types dynamicobject