I am trying to use a generic list as a user profile property. I admit that this most likely makes my life harder than necessary, but I don't want to change the programming model just because the data warehouse is struggling.
I have it in my web.config
</providers> <properties> ..... <add name="AListProperty" type="System.Collections.Generic.List`1[[System.Int32]]"/> <add name="AnotherListProperty" type="System.Collections.Generic.List`1[[MyNamespace.Web.UI.MyReallySimpleClass]]"> </properties> </profile>
The first property, "AListProperty" works fine. The second option raises many exceptions, depending on how I deal with this in web.config. MyReallySimpleClass is public, serializable and consists of 2 open fields (currently)
So my questions are: 1. Does anyone know where the declaration format of these types in web.config is documented. 2. What am I doing wrong? It looks great, I do not see differences in semantics between the two declarations.
thanks
source share