membershipreboot

How to combine MembershipReboot and Thinktecture.IdentityServer?

こ雲淡風輕ζ 提交于 2019-12-23 06:02:07
问题 I was able to download and run locally, the MembershipReboot project. I was able to download and run on our test server the Thinktecture IdentityServer project. No major issues with each one by themselves. Now, I want to use MembershipReboot as part of my IdentityServer. I downloaded the sample code and I think I see where code replaces code. However, I'm blind as to what happens with the database. Which database becomes the master? Or do I run something to "upgrade" the IS database? How

Membership reboot replace Ninject with Simple Injector

泪湿孤枕 提交于 2019-12-06 06:16:02
问题 I need add membership reboot (RavenDb) into the project that use IOC Simple Injector Ninject implementation var config = MembershipRebootConfig.Create(); kernel.Bind<MembershipRebootConfiguration<HierarchicalUserAccount>>().ToConstant(config); kernel.Bind<UserAccountService<HierarchicalUserAccount>>().ToSelf(); kernel.Bind<AuthenticationService<HierarchicalUserAccount().To<SamAuthenticationService<HierarchicalUserAccount>>(); kernel.Bind<IUserAccountRepository<HierarchicalUserAccount>>()

Membership reboot replace Ninject with Simple Injector

谁都会走 提交于 2019-12-04 10:36:08
I need add membership reboot (RavenDb) into the project that use IOC Simple Injector Ninject implementation var config = MembershipRebootConfig.Create(); kernel.Bind<MembershipRebootConfiguration<HierarchicalUserAccount>>().ToConstant(config); kernel.Bind<UserAccountService<HierarchicalUserAccount>>().ToSelf(); kernel.Bind<AuthenticationService<HierarchicalUserAccount().To<SamAuthenticationService<HierarchicalUserAccount>>(); kernel.Bind<IUserAccountRepository<HierarchicalUserAccount>>().ToMethod(ctx => new BrockAllen.MembershipReboot.RavenDb.RavenUserAccountRepository("RavenDb")); kernel.Bind

Resolving IOwinContext in MVC5 application using Autofac

拈花ヽ惹草 提交于 2019-12-03 10:17:51
问题 I have trouble using MembershipReboot with the new ASP MVC5 template and Autofac . I have used the default MVC5 template to set up the site and then tried to wire up the MembershipReboot framework as a replacement for the ASP Identity framework that ships with the template. This issue I am having is trying to resolve an IOwinContext from the Autofac container. Here is my wiring in the Startup class (cut down to basics). This is the wiring used in the samples for the MembershipReboot Owin

Resolving IOwinContext in MVC5 application using Autofac

偶尔善良 提交于 2019-12-03 01:53:45
I have trouble using MembershipReboot with the new ASP MVC5 template and Autofac . I have used the default MVC5 template to set up the site and then tried to wire up the MembershipReboot framework as a replacement for the ASP Identity framework that ships with the template. This issue I am having is trying to resolve an IOwinContext from the Autofac container. Here is my wiring in the Startup class (cut down to basics). This is the wiring used in the samples for the MembershipReboot Owin application (except there he uses Nancy). public partial class Startup { public void Configuration