Personalization Changes in VS.NET 2005 CTP

I started trudging my way through some more hands on labs, and when I got to the personalization HOL, the suggested web.config entries wouldn't work:

<personalization>
    <
profile
>
        <
property name="NickName" type="System.String"
/>
        <
property name="Address" type="System.String"
/>
    </
profile
>
</
personalization>

So, after doing some digging around the newsgroups...I found a thread in one of the private Whidbey newsgroups, stating that personalization had been changed, and that you need to use the following format in the CTP drop:

 

<profile>
    <properties>
        <add name="NickName" type="System.String"/>
        <add name="Address" type="System.String"/>
        <add name="SelectedTheme" type="System.String"/>
    </properties>
<
/profile>

 

Happy Whidbey Coding!

No Comments