Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
Expand Down
5 changes: 4 additions & 1 deletion samples/dotnetcore/getting-started/mywebapi/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
5 changes: 4 additions & 1 deletion samples/dotnetcore/getting-started/mywebapi/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;

namespace webfrontend.Models
Expand Down
5 changes: 4 additions & 1 deletion samples/dotnetcore/getting-started/webfrontend/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
Expand Down
5 changes: 4 additions & 1 deletion samples/dotnetcore/getting-started/webfrontend/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
using System;
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@{
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

@{
ViewData["Title"] = "About";
}
<h2>@ViewData["Title"]</h2>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@{
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

@{
ViewData["Title"] = "Contact";
}
<h2>@ViewData["Title"]</h2>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@{
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

@{
ViewData["Title"] = "Home Page";
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
@model ErrorViewModel
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

@model ErrorViewModel
@{
ViewData["Title"] = "Error";
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<!DOCTYPE html>
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

<script src="https://ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.min.js"
asp-fallback-src="~/lib/jquery-validation/dist/jquery.validate.min.js"
asp-fallback-test="window.jQuery && window.jQuery.validator"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

@using webfrontend
@using webfrontend.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
@{
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

@{
Layout = "_Layout";
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
body {
/* Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. */

body {
padding-top: 50px;
padding-bottom: 20px;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/* Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. */

body{padding-top:50px;padding-bottom:20px}.body-content{padding-left:15px;padding-right:15px}.carousel-caption p{font-size:20px;line-height:1.4}.carousel-inner .item img[src$=".svg"]{width:100%}#qrCode{margin:15px}@media screen and (max-width:767px){.carousel-caption{display:none}}
3 changes: 3 additions & 0 deletions samples/golang/getting-started/mywebapi/src/app/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions samples/golang/getting-started/webfrontend/src/app/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

<!DOCTYPE html>
<html>

Expand Down
3 changes: 3 additions & 0 deletions samples/golang/getting-started/webfrontend/src/app/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package main

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.ms.sample.mywebapi;

import org.springframework.boot.SpringApplication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

package com.ms.sample.webfrontend;

import org.springframework.boot.SpringApplication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. */

.message {
font-family: Courier New, Courier, monospace;
font-weight: bold;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

var app = angular.module('myApp', ['ngRoute']);

app.controller('MainController', function($scope, $http) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

<!doctype html>
<html ng-app="myApp">
<head>
Expand Down
3 changes: 3 additions & 0 deletions samples/nodejs/getting-started/mywebapi/server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

var express = require('express');
var app = express();

Expand Down
3 changes: 3 additions & 0 deletions samples/nodejs/getting-started/webfrontend/public/app.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. */

.message {
font-family: Courier New, Courier, monospace;
font-weight: bold;
Expand Down
3 changes: 3 additions & 0 deletions samples/nodejs/getting-started/webfrontend/public/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

var app = angular.module('myApp', ['ngRoute']);

app.controller('MainController', function($scope, $http) {
Expand Down
3 changes: 3 additions & 0 deletions samples/nodejs/getting-started/webfrontend/public/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->

<!doctype html>
<html ng-app="myApp">
<head>
Expand Down
3 changes: 3 additions & 0 deletions samples/nodejs/getting-started/webfrontend/server.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

var express = require('express');
var app = express();
app.use(express.static(__dirname + '/public'));
Expand Down