API asp.net implementation