简体   繁体   中英

How to use ASP.NET Membership with Active Directory for a company

I am new to the world of ASP.NET Web Forms and I was a Java developer for 3 years and I have a good knowledge of C# but I just used it for developing simple console applications. Now, I am having a project in ASP.NET and the first thing I am thinking to do is the administrative tasks like adding users and managing users roles. For this part, I am having two options either to use the forms authentication or to use the active directory. I am gonna use the active directory with the ASP.NET Membership but now I am facing some problems.

I tried to follow the procedures written on the following link .

But I failed to get them right from the first step which is creating a new website because as you see, the author specified the web location as HTTP and then he specified the located folder as https://localhost/ . when I did this it gave me an error message about the inability to connect to the IIS, I don't know what the reason so I made the location to my file system. Then for the security, I chose the local Area Network for security because the project that I am developing is for a company so I need to use the windows credentials. But at the end, I failed on configuring the membership for the rest of users in the company and I do know what the reason behind that.

Any help?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM