0
votes

I am new in servicestack. I am reading Servicestack Wiki and found this statement "your DTO's define everything Service Stack does not pollute your web services with any additional custom artefacts or markup." Please let me know how DTO is work in serviceStack so that it is not pollute web service?

1
Please take a look at first answer at stackoverflow.com/questions/15927475/… hope it help youIhor Bovkit
I understood how to used Request DTO in servicestack service. I have confusion on this line "web services with any additional custom artefacts or markup.". Which any additional custom artefacts this statement is talking about?chirag

1 Answers

1
votes

In ServiceStack you can use clean, unannotated POCO's to define your Services Contract (i.e. Request and Response DTO's). You also don't need any custom build steps or generated proxies to be able to call your Service as you're able to re-use the same DTO's you defined the Service with on the Client using any of ServiceStack's Generic .NET Service Clients to provide an end-to-end Typed API without code-gen or custom build steps.

See the Customer REST Example on the Home page and it's stand-alone Integration Test as an example.