C# rest engine