private static Container CreateContainerVersioningByHeader()
 {
     Container c = new Container(new Uri(BaseAddress + "/versionbyheader"));
     c.SendingRequest += (sender, e) =>
     {
         e.RequestHeaders.Add("v", "1");
     };
     return c;
 }
        private static Container CreateContainerVersioningByQueryString()
        {
            Container c = new Container(new Uri(BaseAddress + "/versionbyquery"));
            c.BuildingRequest += (sender, e) =>
            {
                UriBuilder builder = new UriBuilder(e.RequestUri);
                if (string.IsNullOrEmpty(builder.Query))
                {
                    builder.Query = "v=1";
                }
                else
                {
                    builder.Query += "&v=1";
                }

                e.RequestUri = builder.Uri;
            };
            return c;
        }
 private static Container CreateContainerVersioningByRoute()
 {
     Container c = new Container(new Uri(BaseAddress + "/versionbyroute/v1"));
     return c;
 }