 |

|
This article is best suited as tips/tricks.
|
|
|
|
|
|

|
Pfx file is asking for a password - couldn't find the password anywhere?
|
|
|
|

|
When providing an article I expect to read what were the considerations? some bits of code and explanations about it. The only way to understand what you have done is to download the code and play with it.
|
|
|
|
|

|
How does the performance of this provider compare to the SqlMembershipProvider. Would be interesting to see these results.
|
|
|
|

|
I have the similar scenario.
But How can we insert values into the FirstName and LastName fields in the Users Table.
Can you give some suggessions?
Thanks,
Sudhakar.
|
|
|
|

|
Hello,
Please, how can I get the Role and Profile Providers for Entity Framework?
Thank You,
Miguel
|
|
|
|

|
Hi,
I'm please to announce that the Membership, Role and Profile provider are ready and they will be published shortly.
Stay tuned.
Cheers,
Michael
|
|
|
|

|
When and where it will be published? Any idea?
I am just working on an ASP.NET MVC web site with Entity Framework and it would be great to be able to use it.
Thanks,
Miguel
|
|
|
|

|
Hi,
I will publish a new article on codeproject containing all three providers very shortly.
Cheers,
Michael
|
|
|
|

|
The article has been published here[^]. Please rate it
|
|
|
|

|
Hi Michael, any news on the other providers?
If they're still in beta, are you willing to send the code as is?
Thanks.
|
|
|
|

|
The article has been published here[^]. Please rate it
|
|
|
|

|
You got my 5
|
|
|
|

|
I am thinking to use this table and entity and leave them empty but hydrate them from sp calls with efextensions. has anyone else tried this approach?
|
|
|
|

|
The article has been published <a href="http://www.codeproject.com/KB/aspnet/AspNetEFProviders.aspx">here</a>[<a href="http://www.codeproject.com/KB/aspnet/AspNetEFProviders.aspx" target="_blank" title="New Window">^</a>]. Please rate it
|
|
|
|

|
It is very difficult to work out what this code would do other than to download it and build it.
|
|
|
|

|
Hi,
This is really good stuff, how much longer have we got until the rest are ready?
Thanks again,
|
|
|
|

|
Hi,
I finished the coding. However, I was not yet able to fully test all the providers.
If you want me to send you the beta leave me your email address and I will send it to you.
Cheers,
M
|
|
|
|

|
Ive sent you my email...
Thanks
Stuart
|
|
|
|

|
Still no release?
Could you please send me the beta, then?
|
|
|
|

|
The article has been published <a href="http://www.codeproject.com/KB/aspnet/AspNetEFProviders.aspx">here</a>[<a href="http://www.codeproject.com/KB/aspnet/AspNetEFProviders.aspx" target="_blank" title="New Window">^</a>]. Please rate it
|
|
|
|

|
Hi, firstly thanks for your excellent job again.
I just finished implementing your provider to my project and tested it. Everything works perfect but only one thing is not working right. Although a user is locked out he or she is able to login. So I have reviewed the code and found a small missing thing. It's in ValidateUser() function:
if (CheckPassword(password, user.Password))
{
if (user.IsApproved && !user.IsLockedOut)
{
isValid = true;
.......
Hope it helps.
|
|
|
|

|
Can your property IsLockedOut be null?
Don't you get this error?
Operator '&&' cannot be applied to operands of type 'bool' and 'bool?'
Thanks!!
|
|
|
|

|
You're right alibaba069. If IsLockedOut column in database allows nulls, "&& cannot be applied" error will be occurred. I think I overlooked it because designed my database myself. My suggestion you should set IsLockedOut column as cannot be null. Already CreateUser() method is assigning false value to IsLockedOut automatically. If I'm wrong please warn me...
|
|
|
|

|
Thanks a lot for that. You are completely right. I fixed the code and the db schema as you suggested. This will be available with the release of the complete provider implementations coming very soon.
Cheers
|
|
|
|

|
Hi. I would like to ask you a Question.
I don't know much about Provider Model Design Patterns. I would like to use them, because they are well known. I was doing some examples for integrate it in my application in ADO.NET. And I have a doubt.
Is it possible to use providers if in my data base I have other entries (such us telephone number) that they are not specified in the MemberShip Provider?
Then If I add it on my implementation of EFMemberShipProvider it won't work with another Provider like SqlMemberShipProvider.
And what about if I don't use one, like userName because I consider the email as identifier.
Can I still use a Provider Model Design?
Thanks.
|
|
|
|

|
Thank you so much. Really saved my day. Thanks again and again...
|
|
|
|

|
Yea! Thank you very much from here too.
I'm wait eager for the RoleProvider and ProfileProvider!!
|
|
|
|

|
You are welcome.
A couple of other providers are already coded and I started the doco on codeproject. However, due to moving my home it will take a bit until I will be able to finish everything. Plz bear with me.
Cheers
|
|
|
|

|
Can you help me ? .net2.0 and oracle 9i
|
|
|
|
|

|
Oh, I have to convert it to oracle 9i, thanks for your suggestion, Michael Ulmann!!!
|
|
|
|
|

|
Thanks for that.
However, this has got nothing to do with the Entity Framework since it is built on top of the DevExpress XPO layer.
Cheers,
|
|
|
|

|
Will you implement the RoleProvider and ProfileProvider too?
I want to use your provider in my site, but I need roles too...
Thanks anyway for the code, but as others said, you should perhaps talk a little more about your implementation.
|
|
|
|

|
They are coming very soon.
Cheers,
M
|
|
|
|

|
Michael Ulmann has posted a reply to your message at "Article "Custom membership provider for the entity framework"":
If you understood the MS membership provider you would know that this is just covering the same functionality as the SqlMembershipProvider. It does not make sense at all to dump heaps of lines of code that are straight forward implemented.
Cheers
Actually, I DO understand the membership provider. But, I'm not the next guy reading this "article". I have to think about the newbie comming in behind me that might NOT understand the provider. You leave it entirely up to the reader to decipher your code, which is NOT good way to teach someone about it.
|
|
|
|

|
I understand your objection. However, the membership provider functionality is elaborately described in the MSDN. I did not want to rewrite a documentation about that, thus the requirements to understand the membership provider model. Same applies for the ADO.NET Entity Framework, the MSDN is the right place to learn about it for newbies.
The published solution is meant as reusable component and does exactly the same as the SqlMembershipProvider but it utilize SQL to Entities rather than SQL statements.
I don't see what there might be to decipher for anyone?
From my understanding Codeproject is meant to be a platform to exchange solutions rather than a mirror of the MSDN.
Cheers
|
|
|
|

|
That's nice and all, but there's a reason why lots of people don't read the documentation on MSDN.
|
|
|
|
 |