V
V
viduus2018-07-18 16:13:55
SOAP
viduus, 2018-07-18 16:13:55

SOAP or RESTAPI for writing your API in c#?

Hello!
There is a task: to write your own API for an application in C #, the question is very simple, how best to implement it, what technologies to use?
In the process of searching, I came across gSOAP, but everything is very confused, are there any alternatives?
I will be glad to any advice and links to sources.
Thanks to everyone who responded!!!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Daniel, 2018-07-18
@Dyaminigo

ASP.NET Core Web API .

M
mshak, 2018-07-19
@mshak

If interaction is supposed only between .Net applications, then you can consider WCF without particularly bothering with transport, the framework implements it for you.
If you are still inclined towards SOAP, then immediately study the description of the wsdl service (visual studio will generate it itself), and what restrictions it imposes.
But I would choose REST, it is more convenient to debug it, because a regular browser can act as a client, and it is more convenient to read

D
Dmitry Bashinsky, 2018-07-18
@BashkaMen

Definitely REST!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question