Wcf real world example with the rest and end points of soap

I searched for good wcf samples that displayed both WCF and REST endpoints with end-to-end examples, and I'm a little at a loss to find anything specific. There are many patterns that say that you can do it, or you can do it, but nothing that really seems to be all together.

For example, I'm looking for something that combines uri suggestions that you should use to avoid problems (both for services and data contracts), where to place your xsd, is it worth using the same server end as a rest , and for soap, for version control and, as a rule, best practices when using WCF with rest and soap in a corporate situation.

Cheers Anthony

+3
source share
2 answers

Here is a popular question on this. However, it is based on .Net 3.5. I have not seen many examples related to .Net 4 yet.

However, IMHO, I would avoid this trap like a plague. Running a good API is difficult, the SOAP and REST apis APIs are very different, and even though marketing materials claim, you cannot just cheat some configuration files, add dust from attributes, and convert between them.

Choose one architectural style to suit your needs and do it well .

0
source

NerdDinner.com: NerdDinner WCF, RESTful WCF. , , WCF , , -, .

0

Source: https://habr.com/ru/post/1742438/


All Articles