Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How do I: use ASP.NET authentication provider by a Windows forms application

How do I: use ASP.NET authentication provider by a Windows forms application

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwinformssecurityquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Shimmy Weitzhandler
    wrote on last edited by
    #1

    ASP.NET Service Application

    Shimi

    P 1 Reply Last reply
    0
    • S Shimmy Weitzhandler

      ASP.NET Service Application

      Shimi

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Shimi Weitzhandler wrote:

      ASP.NET Service Application

      What? Do you mean how can you use the membership and roles providers in a winforms application? If so, you need to add a reference to the system.web entries for the membership and roles providers into your app.config file. You also need to add a reference to System.Web in your application.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      S 1 Reply Last reply
      0
      • P Pete OHanlon

        Shimi Weitzhandler wrote:

        ASP.NET Service Application

        What? Do you mean how can you use the membership and roles providers in a winforms application? If so, you need to add a reference to the system.web entries for the membership and roles providers into your app.config file. You also need to add a reference to System.Web in your application.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        S Offline
        S Offline
        Shimmy Weitzhandler
        wrote on last edited by
        #3

        I understand. what is the major class to implement a win-forms membership login form e.g. a methods to authenticate users, as well as an event that is raised when the user is due to whatever reason unauthorized (or if the member lost connection with the provider so I can let the user perform some unique tasks and savethem to dabase only if he authorizes within x hours etc.) thanks! :laugh: ;) :-D

        Shimi

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups