Skip to content

Commit 8fe5362

Browse files
committed
update service endpoint
1 parent 6004ac3 commit 8fe5362

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Basic/Binding/Basic/Http/Service/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ public void Configure(IApplicationBuilder app)
2424
// Add the Calculator Service
2525
builder.AddService<CalculatorService>(serviceOptions => { })
2626
// Add BasicHttpBinding endpoint
27-
.AddServiceEndpoint<CalculatorService, ICalculatorService>(new BasicHttpBinding(), "/CalculatorService/basicHttp");
27+
.AddServiceEndpoint<CalculatorService, ICalculatorService>(new BasicHttpBinding(), "CalculatorService/basicHttp");
2828

2929
// Configure WSDL to be available
3030
var serviceMetadataBehavior = app.ApplicationServices.GetRequiredService<CoreWCF.Description.ServiceMetadataBehavior>();
3131
serviceMetadataBehavior.HttpGetEnabled = true;
3232
});
3333
}
3434
}
35-
}
35+
}

0 commit comments

Comments
 (0)