Active Directory User Management with F# -
i have been looking f# quite while in between projects @ work, never had guts start using in of them. fall c# when working .net.
i planning automated user management application, crud between database , active directory. @ point willing use f# believe data handling work better , won't have of gui, logging interface in background.
my question @ point if prior knowledge f# advise me go full throttle language project this. not asking if better or not use language itself, if advisable is, or better plug in scripts here , there. or if f# no go project had term of scala , wrote math functions in different ways possible in f#. project has dead line, too.
just afraid if don't start using language in real project never will.
in fact, first production (in professional capacity) f# code bits involved querying active directory , stuffing results sql server database. worked out nicely, go it!
some pleasant points remember:
- i created f# record types project raw ldap results into... pattern matching on record types boon.
- i implemented implementation of dynamic operator
?
accessing properties of ldap results in less stringy way. - i used sql server's bulk copy ado.net feature efficient large inserts of ldap database. f# allowed me create clean, easy abstractions hid of ugliness of raw ado.net api.
- i implemented these backend f# bits in standalone project consumed c#-based aps.net mvc project (mostly push button execute action). interop c# pretty nice (i did have expose more c# friendly api, if recall, simple , easy).
- f# interops .net apis champ, no issues there ldap api
- f# fun , reduces defect density!
Comments
Post a Comment