ASP.NET Web API, Web Services Discovery, and Client Creation

I cannot find anything in the service discovery implementation for ASP.NET Web APIs. For a new project, I need to make a decision between WCF and Web API. The service element will be consumed by various clients, mobile, client-side JavaScript, and the ASP.NET website.

For the site, the convenience of creating a client against the WCF service is obviously a plus. I am not familiar with RESTful web services, but I see that there is a Web Application Description Language (WADL). Perhaps this is my ignorance, but, of course, it’s good that you can advertise the right way to consume your service?

My main question is: is there anything that generates WADL or similar for the WEB API?

Secondary question: does this tool look like it creates a client based on WADL, is there anything else that makes life easier for the client to be updated using a RESTful web service?

+6
source share

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


All Articles