Consuming WCF service

6 views
Skip to first unread message

Louis

unread,
Jun 27, 2015, 12:09:48 PM6/27/15
to sharp...@googlegroups.com
HI Billy,
what is the way to consuming wcf service and manage service objects with other entities?
Also, where place service objects, in task layer or in domain layer?  
Eg, if Orders are taken from service how change the follow lines?

public class Customer : Entity
{
    public Customer() {
        Orders = new List();
    }

    public virtual IList Orders { get; protected set; }

I think I have to reference it in task layer, create DTO between objects and then pass the DTO into view. But I think i missed something
TY
Louis

Louis

unread,
Jun 30, 2015, 3:10:57 AM6/30/15
to sharp...@googlegroups.com
I'm sorry for my wrong question. My really problem is in which way i do configure structuemap to  inject wcf client in DependencyResolverInitializer.Initialize() method.
thanks
Reply all
Reply to author
Forward
0 new messages