server api demo c#