brockallen / BrockAllen.MembershipReboot

MembershipReboot is a user identity management and authentication library.
Other
742 stars 238 forks source link

Support for async/await in the database layer #566

Closed sunsided closed 8 years ago

sunsided commented 9 years ago

I was trying to use a MongoDB with the HierarchicalUserAccount and custom database samples over here. The current MongoDB driver ditched IQueryable in favor of async/await, so that resulted in some trouble. Since as a result there can be no IQueryable<CustomUser> Queryable, QueryableUserAccountRepository is off the table.

I though of doing it the hard way, however IUserAccountRepository (and fellows) as well don't support the paradigm of returning a Task<CustomUser> instead of a CustomUser. Did I miss something or is there any way around that?

That said, I'm using ASP.NET "vNext" (beta 7).

brockallen commented 9 years ago

No plans right now to update this to async/await -- I'm just too busy.

brockallen commented 8 years ago

Closing as dup of #568