I came across the need to consume a Web Service ASMX. Until then I had only consumed RESTful APIs. I noticed that it is quite different from a RESTful API, for example.
Given the way it's set up, it looks like it's already been dropped, which is something pretty old.
Is it recommended to use an ASMX Web Service? Does anyone still use the same to create a Web Service from scratch?
If you consider that it's used for Classic ASP.NET, with WebForms and the like, we can say yes.
But it is still considered a valid and supported component in .NET. Can use.
The question is whether it should. There are no updates on top of it, and there is a general, not quite official recommendation not to use it anymore.
Anyone who has a large base using it may have some gain by maintaining continuity. If you're just going to consume what already exists, it might be interesting.
If there's little and it's easy to convert I think I would go from Web API using ASP.NET Core. Only you can judge whether it's worth the effort. The gain will not be large in use, perhaps more organization in development, or in scale.