What is ASP.NET Web API and what is it for? Is it possible to write on it WEB API-REST (php) for a server that is on a web hosting?

Closed due to the fact that the issue is too common for the participants Alexander Petrov , Kromster , Bald , Eugene Krivenja , Alex Chermenin 15 Dec '17 at 11:56 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

    2 answers 2

    At some point in WebMatrix there was support for PHP, but as far as I remember, it could only be used as a layout option in the templates of the actual pages. In the backend, as far as I remember, using PHP in ASP.NET is impossible.

      Rest services on it can and should be written, it is intended for this, but the language here is not php but .NET compatible languages ​​are mostly C #.

      But the latest version of .NET at the moment is ASP.NET Core 2.0. And the Web API is an older version.