DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 21 Jun 2007 11:31:22 +0800,    posted on: microsoft.public.dotnet.framework.aspnet.security        back       

Thread Index
  1    Osamede Zhang
          2    Dominick Baier
          3    Osamede.Zhang


How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible   
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
Date:Thu, 21 Jun 2007 11:31:22 +0800   Author:  

Re: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible   
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
Date:Thu, 21 Jun 2007 05:41:25 +0000 (UTC)   Author:  

Re: How can I use " ProfileCommon" class in MyWebsiteCore.dll,Is That possible   
Thank you very much.
On Jun 21, 1:41 pm, Dominick Baier
 wrote:

> 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- Hide quoted text -
>
> - Show quoted text -
Date:Fri, 22 Jun 2007 04:26:41 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us