Back to list
Views:   8K
Replies:  1
Archived

Can I remove DTOs from WCF?

Question about the Patterns in Action application.

If I am using this within a project and will not ever use WCF can I eliminate a lot of this?
For example can I remove "ServiceContract", "OperationContract", "DataMember", and "DataContract" annotations from IActionService and Messages?
Also, can I remove the Request/Response? 
Can I also remove the DataTransferObjects (DTOs) from the service layer as well?

Thanks
Dennis
Dennis Tucker, Jun 11, 2012
Reply 1
Yes you can remove them in non WCF project.
Pradip Shrestha, Jun 14, 2012
Hi Nunu Kohli, Though its a very late reply..! But I am so impressed with this answer that I could not stop myself from creating an account on this site for appreciating this answer. I Google'ed a lot to get an answer to this question, and my search stopped after this answer. Thanks a lot for that explanation..!! I helped a lot..!!! -- Thanks & Regards, Shridhar Kulkarni.
Oct 27, 2013


Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas.      Vsn 1.3.0