problem in basic implementation of MVVM pattern - Services
- by netmajor
I watch some video and read articles about MVVM pattern and start thinking how should I implement it in my Silverlight app.
So at first I create Silverlight application. I think that for clear view I create 3 folders:
View - for each user control page in my app,
ViewModel - for c# class which will querying date and
Model- Entity Data Model of my SQL Server or Oracle Database.
And now I am confused, cause I want to implement *WCF/RIA Services/Web services* in my project. In which folder should I put in class of services? I see in examples that Services take date and filtering it and then output data was binding in View - so It looks as ViewModel. But I was sure that someone use Services in Model and that I want to do.
But how? Can someone explain me implementing Services as Model? Is my point of view at MVVM is correctly?