Results 1 to 4 of 4

Thread: Adding custom profile fields asp.net

  1. #1
    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?

  2. #2
    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";

  3. #3
    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?

  4. #4
    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!

Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,034,764.90739 seconds with 16 queries