In .Net you can check the URL if contains asmx (web service) .Svc (WCF service) but this approach will definitely fail if service is developed in any other technology like java, Oracle. or even in .net by using http handler we can make it in a way where we can use a different extension. Below is the snapshot depicting the difference between websservice(asmx) and web api literally there is nothing in response which tells you whether it is a web service or web api.
No comments:
Post a Comment