 |
|
 |
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
|
|
|
|
 |