简体   繁体   中英

How can I use SQL Server CE for my ASP.net MVC membership/authorization project?

I'm wondering if I can use SQL Server CE instead of SQL Server Express+ as my database for my membership? Is this possible? If so, how can I do it?

You can use SQL CE with ASP.net Membership, Role and Profile provider. Check this codeplex site for providers and config sample.

http://sqlcemembership.codeplex.com/

EDIT: Microsoft supplied Universal Provider has been released. http://www.hanselman.com/blog/IntroducingSystemWebProvidersASPNETUniversalProvidersForSessionMembershipRolesAndUserProfileOnSQLCompactAndSQLAzure.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM