Aspnetcore.docs: Custom Storage Providers for ASP.NET Core Identity

Created on 25 Apr 2016  路  20Comments  路  Source: dotnet/AspNetCore.Docs

Port http://www.asp.net/identity/overview/extensibility/overview-of-custom-storage-providers-for-aspnet-identity to ASP.NET Core Identity

See https://github.com/aspnet/Identity/issues/1113

Yeah we shouldn't call it the UOW pattern since its not exactly that, best to just be explicit and say something to the effect of: "Stores should only persist changes in the CreateAsync/UpdateAsync/DeleteAsync methods of base Store interface, any other store method should only manipulate the entity without persisting the changes."

Overall structure same as previous article; Hao and Steve will work together to update it.

Main changes: removed TKey from all interfaces. The key is now always a string to identity - it's up to the provider to convert that string into its type.

P1

Most helpful comment

This is actively being worked on and should be published in the next few weeks.

All 20 comments

Any update on this?

@blowdart Not yet - it's still on our backlog

+1 for this, I'm trying to get rid of the EF dependency and this would come handy.

+1 This is essential functionality if people are going to be moving to .NET Core for production apps.

+1, I'm also trying to get rid of the EF dependency

+1, when do you expect to get it done ?

+1

@HaoK @blowdart There's quite a bit of customer interest in getting this content out sooner. Is this something you guys could help out with?

I can take a pass over the old article and see what needs updating

+1

Folks, any news?

This is actively being worked on and should be published in the next few weeks.

are we getting close yet?

+1 any updates on the progress?

Any update on this?

Still no update guys? Very keen to remove this EF dependency...

I believe @ardalis will have a PR out for this shortly

This week!

Hi Guys, thanks very much for getting this out; all looks good and clear. One small recommendation I have is that in Steve's code the ApplicationUser inherits from ClaimsIdentity: this may confuse some users and maybe a quick one-liner about implementing IIdentity as an alternative may be helpful.

Thanks again.

Cheers,
Rob

@RobVargaCH Thanks, I updated the sample in the PR to use IIdentity instead of ClaimsIdentity, along with a couple of other minor tweaks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rick-Anderson picture Rick-Anderson  路  3Comments

davisnw picture davisnw  路  3Comments

wgutierrezr picture wgutierrezr  路  3Comments

aaron-bozit picture aaron-bozit  路  3Comments

nenmyx picture nenmyx  路  3Comments