diff --git a/samples/SampleApp/Program.cs b/samples/SampleApp/Program.cs index b32fd7577a..9e1e66cd02 100644 --- a/samples/SampleApp/Program.cs +++ b/samples/SampleApp/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; namespace SampleApp { diff --git a/samples/SampleApp/Startup.cs b/samples/SampleApp/Startup.cs index 816ab79f3c..5f81cbefcc 100644 --- a/samples/SampleApp/Startup.cs +++ b/samples/SampleApp/Startup.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; diff --git a/src/Kestrel/Program.cs b/src/Kestrel/Program.cs index 7f877d9002..220cf1eed3 100644 --- a/src/Kestrel/Program.cs +++ b/src/Kestrel/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Linq; namespace Kestrel diff --git a/src/Kestrel/ServerAddress.cs b/src/Kestrel/ServerAddress.cs index d5eac3be2b..b957b62791 100644 --- a/src/Kestrel/ServerAddress.cs +++ b/src/Kestrel/ServerAddress.cs @@ -1,4 +1,7 @@ -namespace Kestrel +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Kestrel { public class ServerAddress { diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/ConnectionContext.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/ConnectionContext.cs index cedfc63aeb..85ac78591b 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/ConnectionContext.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/ConnectionContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + namespace Microsoft.AspNet.Server.Kestrel.Http { public class ConnectionContext : ListenerContext diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/FrameContext.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/FrameContext.cs index dedcb1b41f..f18efc6658 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/FrameContext.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/FrameContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + namespace Microsoft.AspNet.Server.Kestrel.Http { public class FrameContext : ConnectionContext diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/IConnectionControl.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/IConnectionControl.cs index f0be1f74d6..c6e2f7ec04 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/IConnectionControl.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/IConnectionControl.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + namespace Microsoft.AspNet.Server.Kestrel.Http { public interface IConnectionControl diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/IFrameControl.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/IFrameControl.cs index 3dfab0893a..77240740e6 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/IFrameControl.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/IFrameControl.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System; namespace Microsoft.AspNet.Server.Kestrel.Http diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/IMemoryPool.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/IMemoryPool.cs index 6e28b4529f..82dcc7a218 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/IMemoryPool.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/IMemoryPool.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System; namespace Microsoft.AspNet.Server.Kestrel.Http diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/ISocketOutput.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/ISocketOutput.cs index 43dd4fb4b2..52f11f62ac 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/ISocketOutput.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/ISocketOutput.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System; namespace Microsoft.AspNet.Server.Kestrel.Http diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/ListenerContext.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/ListenerContext.cs index a2a4283a46..4285f59311 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/ListenerContext.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/ListenerContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNet.Server.Kestrel/Http/ProduceEndType.cs b/src/Microsoft.AspNet.Server.Kestrel/Http/ProduceEndType.cs index 31ea4754cf..4df5ed4e48 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Http/ProduceEndType.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Http/ProduceEndType.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + namespace Microsoft.AspNet.Server.Kestrel.Http { public enum ProduceEndType diff --git a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/KestrelTrace.cs b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/KestrelTrace.cs index 6aa018b6bf..53a1cb73e3 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/KestrelTrace.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Infrastructure/KestrelTrace.cs @@ -1,4 +1,6 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + //using System.Diagnostics.Tracing; namespace Microsoft.AspNet.Server.Kestrel diff --git a/src/Microsoft.AspNet.Server.Kestrel/Networking/UvWriteReq.cs b/src/Microsoft.AspNet.Server.Kestrel/Networking/UvWriteReq.cs index 3e88312805..6539d5574f 100644 --- a/src/Microsoft.AspNet.Server.Kestrel/Networking/UvWriteReq.cs +++ b/src/Microsoft.AspNet.Server.Kestrel/Networking/UvWriteReq.cs @@ -1,3 +1,6 @@ +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using System; using System.Collections.Generic; using System.Diagnostics; diff --git a/test/Microsoft.AspNet.Server.KestrelTests/EngineTests.cs b/test/Microsoft.AspNet.Server.KestrelTests/EngineTests.cs index f3bc95c1af..fd9960c819 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/EngineTests.cs +++ b/test/Microsoft.AspNet.Server.KestrelTests/EngineTests.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNet.Server.Kestrel; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using Microsoft.AspNet.Server.Kestrel; using Microsoft.AspNet.Server.Kestrel.Http; using Microsoft.Framework.Runtime; using Microsoft.Framework.Runtime.Infrastructure; diff --git a/test/Microsoft.AspNet.Server.KestrelTests/MessageBodyExchangerTests.cs b/test/Microsoft.AspNet.Server.KestrelTests/MessageBodyExchangerTests.cs index b8606ef8dd..8e7612de3f 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/MessageBodyExchangerTests.cs +++ b/test/Microsoft.AspNet.Server.KestrelTests/MessageBodyExchangerTests.cs @@ -1,4 +1,6 @@ -using Microsoft.AspNet.Server.Kestrel; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + using Microsoft.AspNet.Server.Kestrel.Http; using System; using System.Threading.Tasks; diff --git a/test/Microsoft.AspNet.Server.KestrelTests/MessageBodyTests.cs b/test/Microsoft.AspNet.Server.KestrelTests/MessageBodyTests.cs index a8be2d3420..5a66846619 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/MessageBodyTests.cs +++ b/test/Microsoft.AspNet.Server.KestrelTests/MessageBodyTests.cs @@ -1,8 +1,10 @@ -using Microsoft.AspNet.Server.Kestrel.Http; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using Microsoft.AspNet.Server.Kestrel.Http; using System; using System.Collections.Generic; using System.Text; -using System.Threading; using System.Threading.Tasks; using Xunit; diff --git a/test/Microsoft.AspNet.Server.KestrelTests/Program.cs b/test/Microsoft.AspNet.Server.KestrelTests/Program.cs index 9e36b9f8c2..adcc2288c5 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/Program.cs +++ b/test/Microsoft.AspNet.Server.KestrelTests/Program.cs @@ -1,4 +1,5 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.AspNet.Server.KestrelTests { diff --git a/test/Microsoft.AspNet.Server.KestrelTests/TestConnection.cs b/test/Microsoft.AspNet.Server.KestrelTests/TestConnection.cs index be079ad17f..085589beb0 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/TestConnection.cs +++ b/test/Microsoft.AspNet.Server.KestrelTests/TestConnection.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Diagnostics; using System.IO; using System.Net; diff --git a/test/Microsoft.AspNet.Server.KestrelTests/TestInput.cs b/test/Microsoft.AspNet.Server.KestrelTests/TestInput.cs index a9448ac942..1676a92044 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/TestInput.cs +++ b/test/Microsoft.AspNet.Server.KestrelTests/TestInput.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using Microsoft.AspNet.Server.Kestrel.Http; namespace Microsoft.AspNet.Server.KestrelTests diff --git a/test/Microsoft.AspNet.Server.KestrelTests/TestServer.cs b/test/Microsoft.AspNet.Server.KestrelTests/TestServer.cs index 0e2c9f3d33..e2de4d29b0 100644 --- a/test/Microsoft.AspNet.Server.KestrelTests/TestServer.cs +++ b/test/Microsoft.AspNet.Server.KestrelTests/TestServer.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNet.Server.Kestrel; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using Microsoft.AspNet.Server.Kestrel; using Microsoft.AspNet.Server.Kestrel.Http; using Microsoft.Framework.Runtime; using Microsoft.Framework.Runtime.Infrastructure;