What is Webprofile useful for?

I came across this ASP.NET WebProfile Generator project

Why do I need a proxy class to access the profile?

+3
source share
1 answer

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:

+3
source

All Articles