BradleyB's WebLog

ASP.Net WebProfile Generator

Tim McBride has published a cool sample that will generate a WebProfile class for accessing the ASP.NET profile object from within the code behind files of a Web Application Project.

http://www.gotdotnet.com/Workspaces/Workspace.aspx?id=406eefba-2dd9-4d80-a48c-b4f135df4127

Because Web Application Projects compile the code behind files in advance of ASP.NET they do not have access to dynamically generated types like the Profile object.  This sample provided an add-in into VS that will generate a WebProfile proxy class that will fetch profile information from the real ASP.NET profile object at runtime.

Hope it helps,
Brad.

Comments

Mike said:

For review
# May 10, 2006 10:11 AM

ScottGu's Blog said:

I am very happy to announce that the final release of the VS 2005 Web Application Project is now available.  ...
# May 22, 2006 3:24 AM

Erics Blog said:

I bloged about not being able to use the Profile feature of ASP.NET 2.0 in the new Web Application Project

# August 25, 2006 3:22 AM

Erics Blog said:

I bloged about not being able to use the Profile feature of ASP.NET 2.0 in the new Web Application Project

# October 31, 2006 3:21 AM

nettellect said:

The GotDotNet site is being phased out

any other working link for Asp Web Profile Generator

please share with me

# June 22, 2007 2:34 AM

matchbx said:

The GotDotNet site is being phased out.  Where can I download the Web Profile Generator.......

# July 3, 2007 10:26 AM

Lee said:

# July 11, 2007 1:38 PM

.NET MVP KenLin's Blog said:

Last time, I speak in UserGroup gathering in 2007 Sept right after MSDN Seminar, the topic was "Experience

# October 30, 2007 3:25 AM

.NET Hacks and Tips (beta) said:

Last time, I speak in UserGroup gathering in 2007 Sept right after MSDN Seminar, the topic was "Experience

# October 30, 2007 3:25 AM

MrMono said:

Hust found this article on codeproject.com

www.codeproject.com/.../WebProfileClassGenerator.aspx

# July 30, 2008 8:58 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)