problem in basic implementation of MVVM pattern - Services

Posted by netmajor on Stack Overflow See other posts from Stack Overflow or by netmajor
Published on 2010-03-15T02:39:29Z Indexed on 2010/03/15 2:39 UTC
Read the original article Hit count: 329

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about mvvm

Related posts about Services