r/ASPNET • • Sep 17 '13
MVC4 + EF5 + Simplemembership + Postgresql?
Hey there,
I've been looking around since I'm about to start a project for a client in asp.net mvc, but most local hosts seem to charge extra for MS Sql databases.
Is there a simple way to just exchange MS Sql for Postgresql?
Does anyone have indications on how to do so?
5
Upvotes
View all comments
Show parent comment
2
u/JaCraig Sep 18 '13
This might be a better example for getting Entity Framework to work with PostgreSQL. But as far as the membership is concerned, I've also had issues with finding anyone who has implemented the simplemembership providers for other DBs besides SQL Server.
You can always implement your own version though. You just have to implement the ExtendedMembershipProvider class and hook it up. We use MySQL for a lot of our stuff internally and were looking at that option. We found it was easier to use something like Brock Allen's Membership Reboot project but I can't remember if it's that or one of the other open source projects out there that we ended up picking... Need more caffeine before I check the project references...