Reputation: 38228
I stumbled upon this project ASP.NET WebProfile Generator
Why would I need proxy class to access profile?
Upvotes: 3
Views: 624
Reputation: 15252
Because ASP.NET only supports Profiles out-of-the-box with the Web Site option. If you are using a Web Application Project (WAP), then you have to roll your own.
The problem stems from the fact that the Web Application Project does not have the Profile object automatically added to each page as with the Web Site project, so we cannot get strongly-typed programmatic access to the profile properties defined in our web.config file.
Good news is that it's very doable:
Upvotes: 3