Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 67fc643

Browse filesBrowse files
Update Angular 2 Music Store sample to declare dependency on .NET Core 1.0.1
1 parent 5a9d3cb commit 67fc643
Copy full SHA for 67fc643

File tree

Expand file treeCollapse file tree

2 files changed

+41
-18
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+41
-18
lines changed
Open diff view settings
Collapse file

‎samples/angular/MusicStore/Startup.cs‎

Copy file name to clipboardExpand all lines: samples/angular/MusicStore/Startup.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void ConfigureServices(IServiceCollection services)
6262
public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory, IHostingEnvironment env)
6363
{
6464
app.UseDeveloperExceptionPage();
65-
65+
6666
// Initialize the sample data
6767
SampleData.InitializeMusicStoreDatabaseAsync(app.ApplicationServices).Wait();
6868

Collapse file

‎samples/angular/MusicStore/project.json‎

Copy file name to clipboardExpand all lines: samples/angular/MusicStore/project.json
+40-17Lines changed: 40 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,75 @@
55
"preserveCompilationContext": true
66
},
77
"runtimeOptions": {
8-
"gcServer": true
8+
"configProperties": {
9+
"System.GC.Server": true
10+
}
911
},
1012
"tooling": {
1113
"defaultNamespace": "MusicStore"
1214
},
1315

14-
"dependencies": {
16+
"dependencies": {
1517
"Microsoft.NETCore.App": {
16-
"version": "1.0.0",
18+
"version": "1.0.1",
1719
"type": "platform"
1820
},
21+
"Microsoft.AspNetCore.AngularServices": "1.0.0-*",
1922
"Microsoft.AspNetCore.Diagnostics": "1.0.0",
2023
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.0.0",
24+
"Microsoft.AspNetCore.Mvc": "1.0.1",
25+
"Microsoft.AspNetCore.Razor.Tools": {
26+
"version": "1.0.0-preview2-final",
27+
"type": "build"
28+
},
2129
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
22-
"Microsoft.AspNetCore.Mvc": "1.0.0",
23-
"Microsoft.AspNetCore.Mvc.TagHelpers": "1.0.0",
24-
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0",
30+
"Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
2531
"Microsoft.AspNetCore.StaticFiles": "1.0.0",
32+
"Microsoft.EntityFrameworkCore.SQLite": "1.0.0",
33+
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
2634
"Microsoft.Extensions.Configuration.Json": "1.0.0",
35+
"Microsoft.Extensions.Configuration.CommandLine": "1.0.0",
36+
"Microsoft.Extensions.Logging": "1.0.0",
2737
"Microsoft.Extensions.Logging.Console": "1.0.0",
28-
"Microsoft.NETCore.Platforms": "1.0.1",
2938
"Microsoft.Extensions.Logging.Debug": "1.0.0",
30-
"Microsoft.EntityFrameworkCore.SQLite": "1.0.0",
31-
"Microsoft.AspNetCore.AngularServices": "1.0.0-*",
32-
"AutoMapper": "5.0.2"
39+
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
40+
"AutoMapper": "5.0.2"
41+
},
42+
43+
"tools": {
44+
"Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final",
45+
"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final",
46+
"Microsoft.DotNet.Watcher.Tools": "1.0.0-preview2-final"
3347
},
48+
3449
"frameworks": {
3550
"netcoreapp1.0": {
3651
"imports": [
3752
"dotnet5.6",
38-
"dnxcore50",
3953
"portable-net45+win8"
4054
]
4155
}
4256
},
57+
4358
"publishOptions": {
44-
"exclude": [
59+
"include": [
60+
"appsettings.json",
61+
"ClientApp",
4562
"node_modules",
46-
"bower_components",
47-
"**.xproj",
48-
"**.user",
49-
"**.vspscc"
63+
"typings",
64+
"Views",
65+
"tsconfig.json",
66+
"tsd.json",
67+
"web.config",
68+
"webpack.*.js",
69+
"wwwroot"
5070
]
5171
},
5272
"scripts": {
53-
"prepublish": [ "npm install" ],
73+
"prepublish": [
74+
"npm install",
75+
"gulp"
76+
],
5477
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
5578
}
5679
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.