diff --git a/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/App_Start/WebApiConfig.cs b/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/App_Start/WebApiConfig.cs index ace3158f..d5908dfc 100644 --- a/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/App_Start/WebApiConfig.cs +++ b/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/App_Start/WebApiConfig.cs @@ -3,6 +3,7 @@ using System.Web.Http; using System.Web.OData; +using System.Web.OData.Extensions; using Microsoft.OData.Service.Sample.TrippinInMemory.Api; using Microsoft.Restier.Publishers.OData; using Microsoft.Restier.Publishers.OData.Batch; @@ -13,9 +14,10 @@ public static class WebApiConfig { public static void Register(HttpConfiguration config) { - RegisterTrippin(config, GlobalConfiguration.DefaultServer); config.SetUseVerboseErrors(true); config.MessageHandlers.Add(new ETagMessageHandler()); + config.SetUrlKeyDelimiter(ODataUrlKeyDelimiter.Slash); + RegisterTrippin(config, GlobalConfiguration.DefaultServer); } public static async void RegisterTrippin( diff --git a/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/Web.config b/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/Web.config index d008b610..b337d7ed 100644 --- a/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/Web.config +++ b/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/Web.config @@ -28,6 +28,12 @@ + + + + + +