Skip to content

Commit 2f22672

Browse files
committed
Upgaded Angular Tour of Heroes to .Net Core 2.1
1 parent 9794778 commit 2f22672

26 files changed

+130
-116
lines changed

samples/features/json/angularjs/dotnet-tour-of-heroes/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
}
99
},
1010
"ConnectionStrings": {
11-
"HeroDb": "Server=.\\SQLEXPRESS;Database=HeroDb;Integrated Security=true"
11+
"HeroDb": "Server=.;Database=HeroDb;Integrated Security=true"
1212
}
1313
}

samples/features/json/angularjs/dotnet-tour-of-heroes/dotnet-tour-of-heroes.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
<Project Sdk="Microsoft.NET.Sdk.Web">
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp1.0;net46</TargetFrameworks>
4+
<TargetFrameworks>netcoreapp2.1;net46</TargetFrameworks>
55
<PreserveCompilationContext>true</PreserveCompilationContext>
66
<AssemblyName>dotnet-tour-of-heroes</AssemblyName>
77
<OutputType>Exe</OutputType>
88
<PackageId>dotnet-tour-of-heroes</PackageId>
9-
<RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">1.0.4</RuntimeFrameworkVersion>
109
</PropertyGroup>
1110

1211
<ItemGroup>

samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app-routing.module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.component.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js

Lines changed: 22 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/app.module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/features/json/angularjs/dotnet-tour-of-heroes/wwwroot/app/dashboard.component.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)