Advertise with us membership config specification

Posted by  Mark Devid
 1430  View(s)
Rate this:

I'm looking at the ef membership provider and notice they have something a little different to register the provider

                    [System.Int64]], OmidID.Web.Security.EFMembershipProvider"

I've never seen the bits in square brackets before and took a look around and can't seem to find what they allude to, I'm guessing its setting the type of user but I'm not sure.

Is this configuration specified somewhere? what does it mean?

  1. Re: membership config specification

    The type is Generic, the square brackets indicate what types the generic type should be used with. In this case the EFMembershipProvider class has 2 generic parameters that should have the types OmidID.Web.Security.Default.DefaultUser in the Assembly OmidID.Web.Security.EFMembershipProvider and System.Int64. The EFMembershipProvider class itself is in the Assembly OmidID.Web.Security.EFMembershipProvider.