Skip to content

Commit 4f3b0f1

Browse files
committed
Merge pull request reactjs#152 from Sorting/master
Upgrade to ASP.NET 5 Beta 6
2 parents 5675836 + fbdbe7a commit 4f3b0f1

File tree

3 files changed

+16
-15
lines changed

3 files changed

+16
-15
lines changed

src/React.AspNet/project.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
}
1616
},
1717
"dependencies": {
18-
"Microsoft.Framework.DependencyInjection": "1.0.0-beta5",
19-
"Microsoft.AspNet.Mvc.Core": "6.0.0-beta5",
20-
"Microsoft.AspNet.StaticFiles": "1.0.0-beta5",
21-
"Microsoft.AspNet.FileProviders.Physical": "1.0.0-beta5",
18+
"Microsoft.Framework.DependencyInjection": "1.0.0-beta6",
19+
"Microsoft.AspNet.Mvc.Core": "6.0.0-beta6",
20+
"Microsoft.AspNet.StaticFiles": "1.0.0-beta6",
21+
"Microsoft.AspNet.FileProviders.Physical": "1.0.0-beta6",
22+
"Microsoft.AspNet.Mvc.ViewFeatures": "6.0.0-beta6",
2223
"React.Core": "",
2324
"JavaScriptEngineSwitcher.Core": "1.2.4.0"
2425
},

src/React.Sample.Mvc6/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
5050
loggerfactory.AddConsole();
5151

5252
// Add the following to the request pipeline only in development environment.
53-
if (string.Equals(env.EnvironmentName, "Development", StringComparison.OrdinalIgnoreCase))
53+
if (env.IsDevelopment())
5454
{
5555
//app.UseBrowserLink();
56-
app.UseErrorPage(ErrorPageOptions.ShowAll);
56+
app.UseErrorPage();
5757
}
5858
else
5959
{

src/React.Sample.Mvc6/project.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
"webroot": "wwwroot",
33
"version": "1.5.3-*",
44
"dependencies": {
5-
"Microsoft.AspNet.Mvc": "6.0.0-beta5",
6-
"Microsoft.AspNet.Diagnostics": "1.0.0-beta5",
7-
"Microsoft.AspNet.Server.IIS": "1.0.0-beta5",
8-
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta5",
9-
"Microsoft.AspNet.StaticFiles": "1.0.0-beta5",
10-
"Microsoft.Framework.Configuration.EnvironmentVariables": "1.0.0-beta5",
11-
"Microsoft.Framework.Configuration.Json": "1.0.0-beta5",
12-
"Microsoft.Framework.Logging": "1.0.0-beta5",
13-
"Microsoft.Framework.Logging.Console": "1.0.0-beta5",
5+
"Microsoft.AspNet.Mvc": "6.0.0-beta6",
6+
"Microsoft.AspNet.Diagnostics": "1.0.0-beta6",
7+
"Microsoft.AspNet.Server.IIS": "1.0.0-beta6",
8+
"Microsoft.AspNet.Server.WebListener": "1.0.0-beta6",
9+
"Microsoft.AspNet.StaticFiles": "1.0.0-beta6",
10+
"Microsoft.Framework.Configuration.EnvironmentVariables": "1.0.0-beta6",
11+
"Microsoft.Framework.Configuration.Json": "1.0.0-beta6",
12+
"Microsoft.Framework.Logging": "1.0.0-beta6",
13+
"Microsoft.Framework.Logging.Console": "1.0.0-beta6",
1414
"React.AspNet": "",
1515
"React.Core": "",
1616
"JavaScriptEngineSwitcher.V8": "1.2.4.0",

0 commit comments

Comments
 (0)