Because ASP.NET only supports βProfilesβ because of the box with the βWebsiteβ option. If you are using a web application project (WAP), you need to minimize it yourself.
The problem is that in the web application project there is no profile object that is automatically added to each page, as in the website project, so we cannot get strictly typed programmatic access to the profile properties defined on our Internet. config.
The good news is that this is very doable:
source share