Re: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- From: Dominick Baier <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 21 Jun 2007 05:41:25 +0000 (UTC)
Hi,
you have to derive a class from ProfileBase - add your properties and annotate them (have a look at the docs)
Then you specify that class in the inherits attribute in the profile element in web.config.
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
You know ASP.NET automatically generates a class named Profile in the
Temporary ASP.NET Files directory, But I want to write this class by
myself,So I can use it in my class library,
What should I do?
Thanks for your read
.
- Follow-Ups:
- Re: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- From: Osamede.Zhang
- Re: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- References:
- How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- From: Osamede Zhang
- How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- Prev by Date: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- Next by Date: Re: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- Previous by thread: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- Next by thread: Re: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible
- Index(es):