diff --git a/Basic/Binding/Basic/Http/Client/Program.cs b/Basic/Binding/Basic/Http/Client/Program.cs index 2ca7406..c49ba6a 100644 --- a/Basic/Binding/Basic/Http/Client/Program.cs +++ b/Basic/Binding/Basic/Http/Client/Program.cs @@ -1,4 +1,6 @@ - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + namespace CoreWcf.Samples.Http { //The service contract is defined using Connected Service "WCF Web Service", generated from the service by the dotnet svcutil tool. diff --git a/Basic/Binding/Basic/Http/Service/CalculatorService.cs b/Basic/Binding/Basic/Http/Service/CalculatorService.cs index c9fee14..4a90dff 100644 --- a/Basic/Binding/Basic/Http/Service/CalculatorService.cs +++ b/Basic/Binding/Basic/Http/Service/CalculatorService.cs @@ -1,4 +1,7 @@ -namespace CoreWcf.Samples.Http +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace CoreWcf.Samples.Http { // Service class which implements the service contract interface. public class CalculatorService : ICalculatorService diff --git a/Basic/Binding/Basic/Http/Service/ICalculatorService.cs b/Basic/Binding/Basic/Http/Service/ICalculatorService.cs index 5ec9150..47a254e 100644 --- a/Basic/Binding/Basic/Http/Service/ICalculatorService.cs +++ b/Basic/Binding/Basic/Http/Service/ICalculatorService.cs @@ -1,4 +1,6 @@ - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using CoreWCF; namespace CoreWcf.Samples.Http diff --git a/Basic/Binding/Basic/Http/Service/Program.cs b/Basic/Binding/Basic/Http/Service/Program.cs index 52e773f..0cdf3b9 100644 --- a/Basic/Binding/Basic/Http/Service/Program.cs +++ b/Basic/Binding/Basic/Http/Service/Program.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; diff --git a/Basic/Binding/Basic/Http/Service/Startup.cs b/Basic/Binding/Basic/Http/Service/Startup.cs index 1f23f69..e3cbce3 100644 --- a/Basic/Binding/Basic/Http/Service/Startup.cs +++ b/Basic/Binding/Basic/Http/Service/Startup.cs @@ -1,4 +1,7 @@ -using CoreWCF; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using CoreWCF; using CoreWCF.Configuration; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; @@ -21,7 +24,7 @@ public void Configure(IApplicationBuilder app) // Add the Calculator Service builder.AddService(serviceOptions => { }) // Add BasicHttpBinding endpoint - .AddServiceEndpoint(new BasicHttpBinding(), "/CalculatorService/basicHttp"); + .AddServiceEndpoint(new BasicHttpBinding(), "CalculatorService/basicHttp"); // Configure WSDL to be available var serviceMetadataBehavior = app.ApplicationServices.GetRequiredService(); @@ -29,4 +32,4 @@ public void Configure(IApplicationBuilder app) }); } } -} \ No newline at end of file +}