Skip to content
This repository was archived by the owner on Jan 23, 2020. It is now read-only.

Commit 1a4a543

Browse files
committed
Updating to RC2 final
1 parent 2829299 commit 1a4a543

File tree

9 files changed

+4564
-4622
lines changed

9 files changed

+4564
-4622
lines changed

TodoListService/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public static void Main(string[] args)
1616
var host = new WebHostBuilder()
1717
.UseKestrel()
1818
.UseContentRoot(Directory.GetCurrentDirectory())
19-
.UseDefaultHostingConfiguration(args)
2019
.UseIISIntegration()
2120
.UseStartup<Startup>()
2221
.Build();

TodoListService/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"commandName": "IISExpress",
1313
"launchBrowser": true,
1414
"environmentVariables": {
15-
"ASPNET_ENVIRONMENT": "Development"
15+
"ASPNETCORE_ENVIRONMENT": "Development"
1616
}
1717
}
1818
}

TodoListService/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public Startup(IHostingEnvironment env)
1616
{
1717
// Setup configuration sources.
1818
Configuration = new ConfigurationBuilder()
19+
.SetBasePath(env.ContentRootPath)
1920
.AddJsonFile("appsettings.json")
20-
.AddEnvironmentVariables()
2121
.Build();
2222
}
2323

TodoListService/project.json

Lines changed: 45 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,57 @@
11
{
2-
"compilationOptions": {
3-
"emitEntryPoint": true,
4-
"preserveCompilationContext": true
5-
},
2+
"buildOptions": {
3+
"emitEntryPoint": true,
4+
"preserveCompilationContext": true
5+
},
6+
7+
"runtimeOptions": {
8+
"gcServer": true
9+
},
610

711
"dependencies": {
8-
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-20581",
9-
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-20581",
10-
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-20581",
11-
"Microsoft.Extensions.Configuration.FileExtensions": "1.0.0-rc2-20581",
12-
"Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-20581",
13-
"Microsoft.Extensions.Logging": "1.0.0-rc2-20581",
14-
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-20581",
15-
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-20581",
16-
"Microsoft.AspNetCore.Authentication.JwtBearer": "1.0.0-rc2-20581",
12+
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final",
13+
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0-rc2-final",
14+
"Microsoft.AspNetCore.Server.Kestrel": "1.0.0-rc2-final",
15+
"Microsoft.Extensions.Configuration.FileExtensions": "1.0.0-rc2-final",
16+
"Microsoft.Extensions.Configuration.Json": "1.0.0-rc2-final",
17+
"Microsoft.Extensions.Logging": "1.0.0-rc2-final",
18+
"Microsoft.Extensions.Logging.Console": "1.0.0-rc2-final",
19+
"Microsoft.Extensions.Logging.Debug": "1.0.0-rc2-final",
20+
"Microsoft.AspNetCore.Authentication.JwtBearer": "1.0.0-rc2-final",
1721
"Microsoft.NETCore.App": {
1822
"type": "platform",
19-
"version": "1.0.0-rc2-24008"
23+
"version": "1.0.0-rc2-3002702"
2024
}
2125
},
2226

23-
"frameworks": {
24-
"netcoreapp1.0": {
25-
"imports": [
26-
"dotnet5.6",
27-
"dnxcore50",
28-
"portable-net45+win8"
29-
]
30-
}
31-
},
32-
33-
"tools": {
34-
//"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-rc2-20581"
35-
},
27+
"frameworks": {
28+
"netcoreapp1.0": {
29+
"imports": [
30+
"dotnet5.6",
31+
"dnxcore50",
32+
"portable-net45+win8"
33+
]
34+
}
35+
},
3636

37-
"content": [
38-
"wwwroot",
39-
"Views",
40-
"appsettings.json",
41-
"web.config"
42-
],
37+
"tools": {
38+
"Microsoft.AspNetCore.Server.IISIntegration.Tools": {
39+
"version": "1.0.0-preview1-final",
40+
"imports": "portable-net45+win8+dnxcore50"
41+
}
42+
},
4343

44-
"exclude": [
45-
"node_modules"
46-
],
44+
"publishOptions": {
45+
"include": [
46+
"wwwroot",
47+
"Views",
48+
"appsettings.json",
49+
"web.config"
50+
]
51+
},
4752

48-
"scripts": {
49-
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath%" ]
50-
}
53+
"scripts": {
54+
"prepublish": [ "npm install", "bower install", "gulp clean", "gulp min" ],
55+
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath%" ]
56+
}
5157
}

0 commit comments

Comments
 (0)