sorry, i do have one more question if you have a sec. since all of the products are using il merge to zip up your dll's to one clean lib, how can you debug across projects? i tried to attach to express/w3 but it cant find the symbols
Brock Allen
@brockallen
if you have the source on your machine and have it opened in VS then in my experience there's something within VS that know that's the right file.
but idmgr might not be shipping the pdb -- if not, i need to add that to the nugety
Matt Heffernan
@mattheffernan
it was for the idsrv, not sure if i tried to debug the mgr. i'll try again tonight to see if i can figure it out. thx
i saw you dont follow many people, but you do follow kevin griffin, good guy we are in the same .net users group. he brought a mvp friend down from somewhere in the NE was trying to remember if it was you
Brock Allen
@brockallen
i've met kevin once in vegas. we were both speaking at dev connections.
MehrdadKamelzadeh
@MehrdadKamelzadeh
I have copied and paste this code as shown in the samples
@brockallen I need to create a site for creating local user and reset password feature for our portal and since I already am using idsrv and idmgr i was considering adding it to idmgr. Right now the usercontroller is kinda for the "admin" purpose where no email validation and such is taken care of. If i made an attempt on adding some simple create account and reset password stuff, would you want it into the usercontroller or in a seperate controller/route for public access to creating an account. I guess some configuration is also needed to indicate which user info is required when creating an account.
Brock Allen
@brockallen
We don't have anything that does user self service. This is usually so application specific, it would be hard to have something generic.
Poul Kjeldager Sørensen
@s093294
okay. I will just stick to adding it side by side to idmgr and idsrv
Are there any controller resolver added in idsrv or idmgr such that it only picks up controllers from their dlls or will idsrvs add controllers from idmgr when adding it side by side: app.Map("/idm", => { .UseIdentityManager(config); });
i can look at the code. just wanted to talk about that
okay. I was under the impression that it was the IHttpControllerTypeResolver service that took care of resolving controllers. Didnt know i could control it on the dependency resolver also
Brock Allen
@brockallen
well, maybe.
feel free to double-check and then let me know :)
Poul Kjeldager Sørensen
@s093294
Ye, I will see if causes me any trouble and then check it :)
_
Poul Kjeldager Sørensen
@s093294
@brockallen around? I updated idmgr to beta 3 from nuget, but the Registration Class dont seem complete, dll only has one constructor: public Registration(string name = null);
is there a newer nuget?
nvm
i used the <,> generic version
form the IDependencyResolver, can i resolve a owin context for the request?
is it also this resolver that is passed to me in the registration ?
Poul Kjeldager Sørensen
@s093294
Could use OwinEnvironmentService in identity manager also
Dominick Baier
@leastprivilege
not yet
Brock Allen
@brockallen
@s093294 i was just looking at that the other day -- why do you need/want the owin env? it's easy enough to add...
Poul Kjeldager Sørensen
@s093294
@brockallen I want it because we have our own DI on the context that I would like to resolve the usermanager and rolemanager from to pass to idm like i did with idsrv here: https://gist.github.com/s093294/f6c39fcbb1207b760c90
Brock Allen
@brockallen
so we can add the env -- no prob
i don't understand the comment about the DI being incomplete?
it's just copied from idsvr
unless i missed something
Poul Kjeldager Sørensen
@s093294
that was my bad. i used the wronge class
it would be usefull for me with the environment, but if its not there i will find a different path
Brock Allen
@brockallen
i can add the owin env. i'll go do that now
Poul Kjeldager Sørensen
@s093294
cool.
Brock Allen
@brockallen
done
Poul Kjeldager Sørensen
@s093294
cool. is build being triggered on checkins?
Brock Allen
@brockallen
yes
on myget
Poul Kjeldager Sørensen
@s093294
super i will use that instead then
btw i saw you used a PropertyValue, do you know if webapi can deserialize to that from a plain form urlencoded post, or do you fix it on client before posting?