I have the following two profile properties in the web.config file between System.Web tags:
<anonymousIdentification enabled="true"/>
<profile>
<properties>
<add name="CustomerName" allowAnonymous="true"/>
<add name="CustomerID" allowAnonymous="true"/>
</properties>
</profile>
When I try to get the name Profile.CustomerName or Profile.CustomerID from the aspx.cs file, it does not appear. I thought that when creating my own profile property, it automatically updates aspnetdb with the new properties. The profile also does not appear in intellisense.
source
share