I'm looking to start migrating our client server application to an n-tier type applicaiton.
I have been playing with snapdevelop to try to stand up web api in C#.
I don't remember where most likely a one of the elevate; someone mentioning a C# webApi solution for LDAP authentication.
I'm thinking of the front end PB app querying LDAP via a WebApi call using httpclient, am I out to lunch here is it this feasable.
Step 1
PBApp httpclient to C#WebAPI [/LDAPLoginCheck]-> calls LDAP and returns results to PBApp as JSON.
Setp 2
if password check to ldap passes and user is in AD group granting access to application then application will call a [/DetailPermissionscheck] webAPI to get a dw that contains our security keywords from database retrieved by userID.
Then the application launches with permissions retrieved.
and now for the question does anyone have code example for webapi C# calls to LDAP and Powerbuilder setup to call it.