Update ASP.Net membership from windows service

后端 未结 2 2003
野趣味
野趣味 2021-01-27 04:24

I am working on a project for a property management company. There is the back end system that stores all of the tenants and property portfolios, and a front end website that a

相关标签:
2条回答
  • 2021-01-27 05:16

    You can basically use it as you were with the web application, they key is that you must have the same machinekey values for your application AND the web application. Otherwise the passwords will not encrypt or decrypt in the proper manner.

    Here is a tutorial that might help you out a bit on using it from a windows app. The process should be the same for your windows service.

    0 讨论(0)
  • 2021-01-27 05:20

    open up the MY PROJECT file in Solution Explorer, and then select the SERVICES tab. Check the "Enable client application services" option and basically fill in the blanks.

    Alternatives, is to create a webservice which will do the processing into the membership provider for you or to have your windows service manipulate the membership data structures (assuming they're in a database or similar option) manually.

    0 讨论(0)
提交回复
热议问题