I have an application that uses StructureMap for dependency injection. I need to upgrade it so that it uses the Identity security model. As part of this process I need to register IUser - the code to do this using Unity is :
container.RegisterType<IUserStore<ApplicationUser>, UserStore<ApplicationUser>>( new InjectionConstructor(typeof(ApplicationDbContext)));
What I need to do is translate this statement so that I am registering it using Structure Map.
I'm afraid my knowledge of both the Identity framework and dependency injection is not very strong. Any help in translating the above statement for Unity into Structure Map would be greatly appreciated.