 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi,
I will publish a new article on codeproject containing all three providers very shortly.
Cheers, Michael
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Hi Michael, any news on the other providers?
If they're still in beta, are you willing to send the code as is?
Thanks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
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?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
It is very difficult to work out what this code would do other than to download it and build it.
|
| Sign In·View Thread·PermaLink | 1.00/5 (2 votes) |
|
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Can your property IsLockedOut be null?
Don't you get this error?
Operator '&&' cannot be applied to operands of type 'bool' and 'bool?'
Thanks!!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
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.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
 |
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
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |