Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 21-07-2009
Member
 
Join Date: Oct 2008
Posts: 115
Adding custom profile fields asp.net

I have developed an application in ASP.Net, I need this type of provider that keeps profile information on those members and use role-based authorization, makes ASP.NET 2.0 because i think it was an easy decision for new development. since new users will need to specify custom fields not available in the SqlProfileProvider, such as FirstName, LastName, Address, etc. and plan to use the SqlTableProfileProvider provided here with Forms Authentication. Please provide your opinion whether this possible?
Reply With Quote
  #2  
Old 21-07-2009
Member
 
Join Date: Oct 2008
Posts: 167
Re: Adding custom profile fields asp.net

ASP.NET 2.0 allows for a very robust user authorization/authentication system with little to no code. The default Profiling system in ASP.NET 2.0 fits into many website use-cases, but not all. The default Profiling system in ASP.NET 2.0 fits into many Web site use-cases, but not all. Luckily, none of these systems in ASP.NET 2.0 require you to meet their specific feature set. ASP.NET 2.0. Then you can refer to the Profile.FavoritePasta profile setting anywhere in your web application, and it's automatically mapped to the current user:

Profile.FavoritePasta = "Pumpkin Ravioli";
Reply With Quote
  #3  
Old 21-07-2009
Member
 
Join Date: Mar 2008
Posts: 227
Re: Adding custom profile fields asp.net

Use something called a Provider Model to allow extension or replacement of their implementation to fit into Web site specific use-cases. I have some doubt in my mind Why is it the fieldnames are bashed into one field and the values into another instead of the traditional and surely far more effective approach giving each field its own field so that each profile only requires one record in the database? Is it possible to create a custom provider to deliver such functionality?
Reply With Quote
  #4  
Old 21-07-2009
Member
 
Join Date: Oct 2008
Posts: 115
Re: Adding custom profile fields asp.net

Problem solved - by removing the property declarations from web.config.

The configuration of the Profile for a particular Web site is as simple as adding a profile section to the web.config file, The configuration generates a type-safe wrapper for Profile data where you can set or get the data configured in the configuration file because they are already defined in the new class that inherits profile base there is no need to declare them in web.config.

that isn't so clear in the post!
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Adding custom profile fields asp.net"
Thread Thread Starter Forum Replies Last Post
Can we use custom fields for resources in Project 10? Shika Windows Software 6 25-03-2012 05:10 PM
custom fields, duration1 from start1 and finish1 mbbackus Microsoft Project 2 14-11-2011 11:09 PM
View facebook user's profile without adding them ? Mehraj Technology & Internet 3 01-07-2009 08:09 PM
Adding Custom Sound Event in XP Orton Customize Desktop 3 04-04-2009 09:33 AM
MS Project Calculated Fields- adding text vojislavcar Windows Software 4 19-09-2008 06:26 PM


All times are GMT +5.5. The time now is 04:39 AM.