Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hi all,
I am new to C# could you please help me by sharing any C# websites with LDAP authentication. so that I can test it with my school LDAP credentials.

What I have tried:

I treid a lot of ways but as I am new could not progressm, all I know is to create login page with sql server db authentication
Posted
Updated 2-Jan-19 7:14am

 
Share this answer
 
I am new to C# could you please help me by sharing any C# websites with LDAP authentication. so that I can test it with my school LDAP credentials.
Welcome aboard.
Authentication doesn't quite work that way, just because a website may uses LDAP for authentication does not mean that it is setup to use the LDAP server that your credentials are valid on.
What I have tried
I treid a lot of ways but as I am new could not progressm, all I know is to create login page with sql server db authentication

If you truly need to use LDAP, there is a lot more involved than creating a login page. And it has nothing to do with Sql Server DB Authentication.

LDAP Authentication will most likely need the help of your network administrator.
1. LDAP server must be setup and visible to be used on the internet.
2. Website must be setup to use that particular LDAP server.

Using a SQL Server Database for authentication is another thing, and the NET Framework has included packages for this under the blanket term "Membership". It is possible to roll your own but as a beginner I would not recommend it. There are plenty of options out there for Authentication against a database and you could review those and see what may work
ASP.NET 3.5 - Membership | Microsoft Docs[^]

So my recommendation would be to do some research to see what you really need, read up on it, and when you run into a problem coding it come back and ask away.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900