Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm developing a Windows 8.1 Store App using the MVVM Pattern, which I'm fairly new in. I've read up on MVVM through various site and such but none of them goes into how to use it when it comes to going the authentication process. I know that for the ViewModel, there would be (for example) a LoginViewModel. I would use a LoginSettingsFlyout control for the View but how do I connect the two together? Can anyone point me to the right direction as to how to get this work using MVVM Light? Thanks in advance...
Posted
Updated 10-Feb-14 0:27am
v2
Comments
Kornfeld Eliyahu Peter 10-Feb-14 6:54am    
What MVVM to authentication! Go and Google MVVM and read the first paragraph of the first page found. MVVM talks about layer separation in development. It has nothing to say about how and why and what of authentication...
Edwidge Amisial 10-Feb-14 7:08am    
I never said that it has anything to do with how, why, and what of authentication. I'm just frustrated by the fact there are numerous numbers "Customers" or "Products" examples but doesn't show anything about how to do that asking for a username and password...
Kornfeld Eliyahu Peter 10-Feb-14 7:31am    
It's funny - it took me 15 seconds to find some Silverlight samples talking exactly about authentication implemented in MVVM...
Edwidge Amisial 10-Feb-14 7:32am    
Care to share your findings?
Kornfeld Eliyahu Peter 10-Feb-14 7:34am    
https://www.google.co.il/url?sa=t&rct=j&q=&esrc=s&source=web&cd=8&cad=rja&ved=0CHUQFjAH&url=http%3A%2F%2Fecn.channel9.msdn.com%2Fo9%2Flearn%2FSilverlight4%2FLabs%2FSL4LOB_03_User_Registration%2F03%2520User%2520Registration.docx&ei=_8b4Uq6SDMiqhAfV0YD4Cw&usg=AFQjCNFzlJBISrWjUZc73vsAYQv0yBeyEw&sig2=5Gj8rHZMkRKV9qzBXLvBxA&bvm=bv.60983673,d.ZG4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900