Rename AspNet 5 file contents.

See https://github.com/aspnet/Announcements/issues/144 for more information.
This commit is contained in:
N. Taylor Mullen 2016-01-22 12:24:55 -08:00
parent ee1738db56
commit 4010676634
37 changed files with 99 additions and 99 deletions

View File

@ -6,7 +6,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{FB313677-BAB
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.Localization", "src\Microsoft.Extensions.Localization\Microsoft.Extensions.Localization.xproj", "{29743CFF-120E-40EB-9B89-5818425946FA}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.Localization", "src\Microsoft.Extensions.Localization\Microsoft.Extensions.Localization.xproj", "{29743CFF-120E-40EB-9B89-5818425946FA}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Localization", "src\Microsoft.AspNet.Localization\Microsoft.AspNet.Localization.xproj", "{23E3BC23-3464-4D9B-BF78-02CB2182BEF0}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Localization", "src\Microsoft.AspNetCore.Localization\Microsoft.AspNetCore.Localization.xproj", "{23E3BC23-3464-4D9B-BF78-02CB2182BEF0}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.Localization.Abstractions", "src\Microsoft.Extensions.Localization.Abstractions\Microsoft.Extensions.Localization.Abstractions.xproj", "{A1FCF259-70F6-4605-AA2D-E4B356BE771A}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.Localization.Abstractions", "src\Microsoft.Extensions.Localization.Abstractions\Microsoft.Extensions.Localization.Abstractions.xproj", "{A1FCF259-70F6-4605-AA2D-E4B356BE771A}"
EndProject EndProject
@ -25,11 +25,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{B723DB83-A
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.Localization.Tests", "test\Microsoft.Extensions.Localization.Tests\Microsoft.Extensions.Localization.Tests.xproj", "{287AD58D-DF34-4F16-8616-FD78FA1CADF9}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.Extensions.Localization.Tests", "test\Microsoft.Extensions.Localization.Tests\Microsoft.Extensions.Localization.Tests.xproj", "{287AD58D-DF34-4F16-8616-FD78FA1CADF9}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Localization.Tests", "test\Microsoft.AspNet.Localization.Tests\Microsoft.AspNet.Localization.Tests.xproj", "{19A2A931-5C60-47A0-816A-0DC9C4CE5736}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Localization.Tests", "test\Microsoft.AspNetCore.Localization.Tests\Microsoft.AspNetCore.Localization.Tests.xproj", "{19A2A931-5C60-47A0-816A-0DC9C4CE5736}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "LocalizationWebsite", "test\LocalizationWebsite\LocalizationWebsite.xproj", "{EF6C7431-2FB8-4396-8947-F50F31689AF4}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "LocalizationWebsite", "test\LocalizationWebsite\LocalizationWebsite.xproj", "{EF6C7431-2FB8-4396-8947-F50F31689AF4}"
EndProject EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNet.Localization.FunctionalTests", "test\Microsoft.AspNet.Localization.FunctionalTests\Microsoft.AspNet.Localization.FunctionalTests.xproj", "{B1B441BA-3AC8-49F8-850D-E5A178E77DE2}" Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.Localization.FunctionalTests", "test\Microsoft.AspNetCore.Localization.FunctionalTests\Microsoft.AspNetCore.Localization.FunctionalTests.xproj", "{B1B441BA-3AC8-49F8-850D-E5A178E77DE2}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -9,7 +9,7 @@
"StrictSemanticVersionValidationRule" "StrictSemanticVersionValidationRule"
], ],
"packages": { "packages": {
"Microsoft.AspNet.Localization": { }, "Microsoft.AspNetCore.Localization": { },
"Microsoft.Extensions.Globalization.CultureInfoCache": { }, "Microsoft.Extensions.Globalization.CultureInfoCache": { },
"Microsoft.Extensions.Localization": { }, "Microsoft.Extensions.Localization": { },
"Microsoft.Extensions.Localization.Abstractions": { } "Microsoft.Extensions.Localization.Abstractions": { }

View File

@ -7,7 +7,7 @@ Travis: [![Travis](https://travis-ci.org/aspnet/Localization.svg?branch=dev)](
| Package | aspnetvolatiledev | [aspnetcidev](https://myget.org/gallery/aspnetcidev) | [aspnetvnext](https://myget.org/gallery/aspnetvnext) | [NuGet](https://nuget.org) | | Package | aspnetvolatiledev | [aspnetcidev](https://myget.org/gallery/aspnetcidev) | [aspnetvnext](https://myget.org/gallery/aspnetvnext) | [NuGet](https://nuget.org) |
| ------- | ----------------------- | ----------------- | ----------------- | ----- | | ------- | ----------------------- | ----------------- | ----------------- | ----- |
| Microsoft.Extensions.Localization | [![MyGet](https://img.shields.io/myget/aspnetvolatiledev/vpre/Microsoft.Extensions.Localization.svg)](https://www.myget.org/feed/aspnetvolatiledev/package/nuget/Microsoft.Extensions.Localization) | [![MyGet](https://img.shields.io/myget/aspnetcidev/vpre/Microsoft.Extensions.Localization.svg)](https://www.myget.org/feed/aspnetcidev/package/nuget/Microsoft.Extensions.Localization) | [![MyGet](https://img.shields.io/myget/aspnetvnext/vpre/Microsoft.Extensions.Localization.svg)](https://www.myget.org/feed/aspnetvnext/package/nuget/Microsoft.Extensions.Localization) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.Extensions.Localization.svg)](https://nuget.org/packages/Microsoft.Extensions.Localization) | | Microsoft.Extensions.Localization | [![MyGet](https://img.shields.io/myget/aspnetvolatiledev/vpre/Microsoft.Extensions.Localization.svg)](https://www.myget.org/feed/aspnetvolatiledev/package/nuget/Microsoft.Extensions.Localization) | [![MyGet](https://img.shields.io/myget/aspnetcidev/vpre/Microsoft.Extensions.Localization.svg)](https://www.myget.org/feed/aspnetcidev/package/nuget/Microsoft.Extensions.Localization) | [![MyGet](https://img.shields.io/myget/aspnetvnext/vpre/Microsoft.Extensions.Localization.svg)](https://www.myget.org/feed/aspnetvnext/package/nuget/Microsoft.Extensions.Localization) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.Extensions.Localization.svg)](https://nuget.org/packages/Microsoft.Extensions.Localization) |
| Microsoft.AspNet.Localization | [![MyGet](https://img.shields.io/myget/aspnetvolatiledev/vpre/Microsoft.AspNet.Localization.svg)](https://www.myget.org/feed/aspnetvolatiledev/package/nuget/Microsoft.AspNet.Localization) | [![MyGet](https://img.shields.io/myget/aspnetcidev/vpre/Microsoft.AspNet.Localization.svg)](https://www.myget.org/feed/aspnetcidev/package/nuget/Microsoft.AspNet.Localization) | [![MyGet](https://img.shields.io/myget/aspnetvnext/vpre/Microsoft.AspNet.Localization.svg)](https://www.myget.org/feed/aspnetvnext/package/nuget/Microsoft.AspNet.Localization) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.AspNet.Localization.svg)](https://nuget.org/packages/Microsoft.AspNet.Localization) | | Microsoft.AspNetCore.Localization | [![MyGet](https://img.shields.io/myget/aspnetvolatiledev/vpre/Microsoft.AspNetCore.Localization.svg)](https://www.myget.org/feed/aspnetvolatiledev/package/nuget/Microsoft.AspNetCore.Localization) | [![MyGet](https://img.shields.io/myget/aspnetcidev/vpre/Microsoft.AspNetCore.Localization.svg)](https://www.myget.org/feed/aspnetcidev/package/nuget/Microsoft.AspNetCore.Localization) | [![MyGet](https://img.shields.io/myget/aspnetvnext/vpre/Microsoft.AspNetCore.Localization.svg)](https://www.myget.org/feed/aspnetvnext/package/nuget/Microsoft.AspNetCore.Localization) | [![NuGet](https://img.shields.io/nuget/v/Microsoft.AspNetCore.Localization.svg)](https://nuget.org/packages/Microsoft.AspNetCore.Localization) |
Localization abstractions and implementations for ASP.NET 5 applications. Localization abstractions and implementations for ASP.NET 5 applications.

View File

@ -4,10 +4,10 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Localization; using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Localization;

View File

@ -1,3 +1,3 @@
{ {
"server": "Microsoft.AspNet.Server.Kestrel" "server": "Microsoft.AspNetCore.Server.Kestrel"
} }

View File

@ -2,10 +2,10 @@
"version": "1.0.0-*", "version": "1.0.0-*",
"dependencies": { "dependencies": {
"Microsoft.AspNet.IISPlatformHandler": "1.0.0-*", "Microsoft.AspNetCore.IISPlatformHandler": "1.0.0-*",
"Microsoft.AspNet.Localization": "1.0.0-*", "Microsoft.AspNetCore.Localization": "1.0.0-*",
"Microsoft.Extensions.Localization": "1.0.0-*", "Microsoft.Extensions.Localization": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*" "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*"
}, },
"compilationOptions": { "compilationOptions": {

View File

@ -6,11 +6,11 @@ using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Globalization; using Microsoft.Extensions.Globalization;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Determines the culture information for a request via the value of the Accept-Language header. /// Determines the culture information for a request via the value of the Accept-Language header.

View File

@ -2,10 +2,10 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Localization; using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
namespace Microsoft.AspNet.Builder namespace Microsoft.AspNetCore.Builder
{ {
/// <summary> /// <summary>
/// Extension methods for adding the <see cref="RequestLocalizationMiddleware"/> to an application. /// Extension methods for adding the <see cref="RequestLocalizationMiddleware"/> to an application.

View File

@ -5,10 +5,10 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Globalization; using Microsoft.Extensions.Globalization;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Determines the culture information for a request via the value of a cookie. /// Determines the culture information for a request via the value of a cookie.

View File

@ -3,9 +3,9 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Determines the culture information for a request via the configured delegate. /// Determines the culture information for a request via the configured delegate.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Represents the feature that provides the current request's culture information. /// Represents the feature that provides the current request's culture information.

View File

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Represents a provider for determining the culture information of an <see cref="HttpRequest"/>. /// Represents a provider for determining the culture information of an <see cref="HttpRequest"/>.

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@ -8,7 +8,7 @@
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>23e3bc23-3464-4d9b-bf78-02cb2182bef0</ProjectGuid> <ProjectGuid>23e3bc23-3464-4d9b-bf78-02cb2182bef0</ProjectGuid>
<RootNamespace>Microsoft.AspNet.Localization</RootNamespace> <RootNamespace>Microsoft.AspNetCore.Localization</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -1,9 +1,9 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Details about the cultures obtained from <see cref="IRequestCultureProvider"/>. /// Details about the cultures obtained from <see cref="IRequestCultureProvider"/>.

View File

@ -3,10 +3,10 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Globalization; using Microsoft.Extensions.Globalization;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Determines the culture information for a request via values in the query string. /// Determines the culture information for a request via values in the query string.

View File

@ -4,7 +4,7 @@
using System; using System;
using System.Globalization; using System.Globalization;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Details about the culture for an <see cref="Http.HttpRequest"/>. /// Details about the culture for an <see cref="Http.HttpRequest"/>.

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Provides the current request's culture information. /// Provides the current request's culture information.

View File

@ -1,11 +1,11 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// An abstract base class provider for determining the culture information of an <see cref="HttpRequest"/>. /// An abstract base class provider for determining the culture information of an <see cref="HttpRequest"/>.

View File

@ -6,12 +6,12 @@ using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Globalization; using Microsoft.Extensions.Globalization;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
namespace Microsoft.AspNet.Localization namespace Microsoft.AspNetCore.Localization
{ {
/// <summary> /// <summary>
/// Enables automatic setting of the culture for <see cref="Http.HttpRequest"/>s based on information /// Enables automatic setting of the culture for <see cref="Http.HttpRequest"/>s based on information

View File

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using Microsoft.AspNet.Localization; using Microsoft.AspNetCore.Localization;
namespace Microsoft.AspNet.Builder namespace Microsoft.AspNetCore.Builder
{ {
/// <summary> /// <summary>
/// Specifies options for the <see cref="RequestLocalizationMiddleware"/>. /// Specifies options for the <see cref="RequestLocalizationMiddleware"/>.

View File

@ -10,7 +10,7 @@
"keyFile": "../../tools/Key.snk" "keyFile": "../../tools/Key.snk"
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNet.Http.Extensions": "1.0.0-*", "Microsoft.AspNetCore.Http.Extensions": "1.0.0-*",
"Microsoft.Extensions.Globalization.CultureInfoCache": "1.0.0-*", "Microsoft.Extensions.Globalization.CultureInfoCache": "1.0.0-*",
"Microsoft.Extensions.Localization.Abstractions": "1.0.0-*", "Microsoft.Extensions.Localization.Abstractions": "1.0.0-*",
"Microsoft.Extensions.Options": "1.0.0-*" "Microsoft.Extensions.Options": "1.0.0-*"

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using Microsoft.AspNet.Hosting; using Microsoft.AspNetCore.Hosting;
namespace LocalizationWebsite namespace LocalizationWebsite
{ {

View File

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using LocalizationWebsite.Models; using LocalizationWebsite.Models;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Localization; using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;

View File

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using LocalizationWebsite.Models; using LocalizationWebsite.Models;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Localization; using Microsoft.AspNetCore.Localization;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Localization; using Microsoft.Extensions.Localization;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;

View File

@ -1,3 +1,3 @@
{ {
"server": "Microsoft.AspNet.Server.Kestrel" "server": "Microsoft.AspNetCore.Server.Kestrel"
} }

View File

@ -1,4 +1,4 @@
{ {
"version": "1.0.0-*", "version": "1.0.0-*",
"compilationOptions": { "compilationOptions": {
@ -7,8 +7,8 @@
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNet.Localization": "1.0.0-*", "Microsoft.AspNetCore.Localization": "1.0.0-*",
"Microsoft.AspNet.Server.Kestrel": "1.0.0-*", "Microsoft.AspNetCore.Server.Kestrel": "1.0.0-*",
"Microsoft.Extensions.Localization": "1.0.0-*", "Microsoft.Extensions.Localization": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*" "Microsoft.Extensions.Logging.Console": "1.0.0-*"
}, },

View File

@ -1,12 +1,12 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Server.Testing; using Microsoft.AspNetCore.Server.Testing;
using Microsoft.AspNet.Testing.xunit; using Microsoft.AspNetCore.Testing.xunit;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Localization.FunctionalTests namespace Microsoft.AspNetCore.Localization.FunctionalTests
{ {
public class LocalizationTest public class LocalizationTest
{ {

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@ -7,7 +7,7 @@
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>b1b441ba-3ac8-49f8-850d-e5a178e77de2</ProjectGuid> <ProjectGuid>b1b441ba-3ac8-49f8-850d-e5a178e77de2</ProjectGuid>
<RootNamespace>Microsoft.AspNet.Localization.FunctionalTests</RootNamespace> <RootNamespace>Microsoft.AspNetCore.Localization.FunctionalTests</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -1,4 +1,4 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
@ -6,11 +6,11 @@ using System.IO;
using System.Net; using System.Net;
using System.Net.Http; using System.Net.Http;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Server.Testing; using Microsoft.AspNetCore.Server.Testing;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Localization.FunctionalTests namespace Microsoft.AspNetCore.Localization.FunctionalTests
{ {
public class TestRunner public class TestRunner
{ {

View File

@ -6,7 +6,7 @@
"test": "xunit.runner.aspnet" "test": "xunit.runner.aspnet"
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNet.Server.Testing": "1.0.0-*", "Microsoft.AspNetCore.Server.Testing": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*", "Microsoft.Extensions.Logging.Console": "1.0.0-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*" "xunit.runner.aspnet": "2.0.0-aspnet-*"
}, },

View File

@ -4,10 +4,10 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNet.Localization; using Microsoft.AspNetCore.Localization;
using Microsoft.AspNet.TestHost; using Microsoft.AspNetCore.TestHost;
using Xunit; using Xunit;
namespace Microsoft.Extensions.Localization.Tests namespace Microsoft.Extensions.Localization.Tests

View File

@ -4,11 +4,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNet.Http.Features; using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNet.Localization; using Microsoft.AspNetCore.Localization;
using Microsoft.AspNet.TestHost; using Microsoft.AspNetCore.TestHost;
using Microsoft.Net.Http.Headers; using Microsoft.Net.Http.Headers;
using Xunit; using Xunit;

View File

@ -5,12 +5,12 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNet.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNet.Http.Features; using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNet.Localization; using Microsoft.AspNetCore.Localization;
using Microsoft.AspNet.TestHost; using Microsoft.AspNetCore.TestHost;
using Xunit; using Xunit;
namespace Microsoft.Extensions.Localization.Tests namespace Microsoft.Extensions.Localization.Tests

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion> <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0</VisualStudioVersion>
@ -7,7 +7,7 @@
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" /> <Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>19a2a931-5c60-47a0-816a-0dc9c4ce5736</ProjectGuid> <ProjectGuid>19a2a931-5c60-47a0-816a-0dc9c4ce5736</ProjectGuid>
<RootNamespace>Microsoft.AspNet.Localization.Tests</RootNamespace> <RootNamespace>Microsoft.AspNetCore.Localization.Tests</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath> <BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath> <OutputPath Condition="'$(OutputPath)'=='' ">..\..\artifacts\bin\$(MSBuildProjectName)\</OutputPath>
</PropertyGroup> </PropertyGroup>

View File

@ -4,11 +4,11 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Microsoft.AspNet.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNet.Http.Features; using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNet.Localization; using Microsoft.AspNetCore.Localization;
using Microsoft.AspNet.TestHost; using Microsoft.AspNetCore.TestHost;
using Xunit; using Xunit;
namespace Microsoft.Extensions.Localization.Tests namespace Microsoft.Extensions.Localization.Tests

View File

@ -1,13 +1,13 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using System.Globalization; using System.Globalization;
using System.Threading; using System.Threading;
using Microsoft.AspNet.Builder; using Microsoft.AspNetCore.Builder;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Localization.Tests namespace Microsoft.AspNetCore.Localization.Tests
{ {
public class RequestLocalizationOptionsTest : IDisposable public class RequestLocalizationOptionsTest : IDisposable
{ {

View File

@ -1,10 +1,10 @@
{ {
"compilationOptions": { "compilationOptions": {
"warningsAsErrors": true "warningsAsErrors": true
}, },
"dependencies": { "dependencies": {
"Microsoft.AspNet.Localization": "1.0.0-*", "Microsoft.AspNetCore.Localization": "1.0.0-*",
"Microsoft.AspNet.TestHost": "1.0.0-*", "Microsoft.AspNetCore.TestHost": "1.0.0-*",
"xunit": "2.1.0-*", "xunit": "2.1.0-*",
"xunit.runner.aspnet": "2.0.0-aspnet-*" "xunit.runner.aspnet": "2.0.0-aspnet-*"
}, },