Results 1 to 2 of 2

Thread: [2005] Membership class in vb.net

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2008
    Location
    Texas
    Posts
    1,288

    [2005] Membership class in vb.net

    Ok, I know you can import system.web.security in asp.net applications, but i was looking for the dll in the .net and comm listings and it isn't there. Can you not use the Membership.createuser() etc in desktop apps?

    If not, what is a good alternative for quality security and roles control?

    Thanks,

    Justin Fox
    You down with OOP? Yeah you know me!
    MCAD and MCMICKEYMOUSE (vb.net)

    ----

    If it even kinda helps... rate it : )

    Edit a Multi-page .tif file and save.

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: [2005] Membership class in vb.net

    We got this working by setting a ref to SYSTEM.WEB and importing SYSTEM.WEB.SECURITY.

    We did .Configuration as well to manage access rules from the VB.Net.

    Did you also do this?

    Did you experience really slow results when validatin a user

    Code:
    If Membership.ValidateUser(UsernameTextBox.Text, PasswordTextBox.Text) = True Then
    That line of code takes 11 seconds to step over. This is running a local SQL database on my laptop - no network involved.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width