Update aspnet50/aspnetcore50 => dnx451/dnxcore50.
This commit is contained in:
parent
e738bd467d
commit
63c033f736
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{
|
||||
"commands": {
|
||||
"web": "Microsoft.AspNet.Hosting --server Microsoft.AspNet.Server.WebListener --server.Urls http://localhost:12345/"
|
||||
},
|
||||
|
|
@ -11,8 +11,8 @@
|
|||
"Microsoft.Framework.Logging.Console": "1.0.0-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"aspnet50": {},
|
||||
"aspnetcore50": {}
|
||||
"dnx451": {},
|
||||
"dnxcore50": {}
|
||||
},
|
||||
"webroot": "wwwroot"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
|
||||
using System;
|
||||
|
|
@ -81,7 +81,7 @@ namespace Microsoft.AspNet.StaticFiles
|
|||
throw new ArgumentOutOfRangeException("length", length, string.Empty);
|
||||
}
|
||||
|
||||
#if ASPNET50
|
||||
#if DNX451
|
||||
Stream fileStream = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite, 1024 * 64,
|
||||
FileOptions.Asynchronous | FileOptions.SequentialScan);
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{
|
||||
"version": "1.0.0-*",
|
||||
"description": "ASP.NET 5 static files middleware.",
|
||||
"dependencies": {
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
"Microsoft.Framework.WebEncoders": "1.0.0-*"
|
||||
},
|
||||
"frameworks": {
|
||||
"aspnet50": { },
|
||||
"aspnetcore50": { }
|
||||
"dnx451": { },
|
||||
"dnxcore50": { }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{
|
||||
"dependencies": {
|
||||
"Microsoft.AspNet.Http.Core": "1.0.0-*",
|
||||
"Microsoft.AspNet.RequestContainer": "1.0.0-*",
|
||||
|
|
@ -11,10 +11,10 @@
|
|||
"test": "xunit.runner.kre"
|
||||
},
|
||||
"frameworks": {
|
||||
"aspnet50": {
|
||||
"dnx451": {
|
||||
"dependencies": {
|
||||
"Shouldly": "1.1.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue