Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Commit 384e0f1

Browse files
authored
Merge pull request #81 from daniv-msft/daniv/addMicrosoftHeaders
Add copyright headers on samples
2 parents de43fb6 + 16cb4c0 commit 384e0f1

File tree

30 files changed

+103
-13
lines changed

30 files changed

+103
-13
lines changed

samples/dotnetcore/getting-started/mywebapi/Controllers/ValuesController.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47
using System.Threading.Tasks;

samples/dotnetcore/getting-started/mywebapi/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.IO;
47
using System.Linq;

samples/dotnetcore/getting-started/mywebapi/Startup.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47
using System.Threading.Tasks;

samples/dotnetcore/getting-started/webfrontend/Controllers/HomeController.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Diagnostics;
47
using System.Linq;

samples/dotnetcore/getting-started/webfrontend/Models/ErrorViewModel.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
14
using System;
25

36
namespace webfrontend.Models

samples/dotnetcore/getting-started/webfrontend/Program.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.IO;
47
using System.Linq;

samples/dotnetcore/getting-started/webfrontend/Startup.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47
using System.Threading.Tasks;

samples/dotnetcore/getting-started/webfrontend/Views/Home/About.cshtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
@{
1+
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
2+
Licensed under the MIT License. -->
3+
4+
@{
25
ViewData["Title"] = "About";
36
}
47
<h2>@ViewData["Title"]</h2>

samples/dotnetcore/getting-started/webfrontend/Views/Home/Contact.cshtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
@{
1+
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
2+
Licensed under the MIT License. -->
3+
4+
@{
25
ViewData["Title"] = "Contact";
36
}
47
<h2>@ViewData["Title"]</h2>

samples/dotnetcore/getting-started/webfrontend/Views/Home/Index.cshtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
@{
1+
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
2+
Licensed under the MIT License. -->
3+
4+
@{
25
ViewData["Title"] = "Home Page";
36
}
47

0 commit comments

Comments
 (0)