-1

I was wondering what currently is the lightest VS project to make calls to a web API and that can be hosted on IIS? From what I see available, I can either do an ASP.NET WebApp or WCF Service Application. However I'm not sure which one would be considered overkill for something that will only interact with Active Directory and make a few calls a day.

edit: After reading this SO Question and the provided link to an official comparison I realize it's pertinent to note that half of the calls to to be made will be triggered through a browser.

Alex
  • 1,979
  • 16
  • 24

1 Answers1

1

None would be overkill for that. However, a WCF service application will be much lighter for your specific use case.

Javier Silva Ortíz
  • 2,864
  • 1
  • 12
  • 21
  • I found this link to a [comparison](https://learn.microsoft.com/en-us/dotnet/framework/wcf/wcf-and-aspnet-web-api?redirectedfrom=MSDN) between the two from a similar [SO question](https://stackoverflow.com/questions/26399868/wcf-service-application-vs-asp-net-web-application). It seems the asp.net web api would be better suited for calls from a browser. – Alex Oct 17 '19 at 19:08
  • To calls from a browser, but you **didn't** said anything about that in your question. You just asked in a very general way. Also, keep in mind that *suitability* and *performance* are two different things. I also said, **for your specific use case**. – Javier Silva Ortíz Oct 17 '19 at 19:10