System.Web タグの間にある web.config ファイルには、次の 2 つのプロファイル プロパティがあります。
<anonymousIdentification enabled="true"/>
<profile>
<properties>
<add name="CustomerName" allowAnonymous="true"/>
<add name="CustomerID" allowAnonymous="true"/>
</properties>
</profile>
aspx.cs ファイルから Profile.CustomerName または Profile.CustomerID にアクセスしようとしても、表示されません。カスタム プロファイル プロパティを作成すると、aspnetdb が新しいプロパティで自動的に更新されると思いました。プロファイルはインテリセンスにも表示されません。