Jul 12, 2019 01:08 PM|mgebhard|LINK
This is a duplicate thread.
It looks like you are trying to request a cs file directly which is simply not possible.
In Web API a controller action is requested which has the would look like.
Perhaps going through a few basic tutorials before moving forward?
Or explain what you are trying to do and include source code.