Skip to content

Commit 76386b3

Browse files
committed
Rename "React.AspNet5" to "React.AspNet"
1 parent cfba7c4 commit 76386b3

16 files changed

+22
-22
lines changed

build.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ of patent rights can be found in the PATENTS file in the same directory.
3333
<PackageAssemblies Include="React.MSBuild" />
3434
<PackageAssemblies Include="React.JavaScriptEngine.VroomJs" />
3535
<PackageAssemblies Include="React.JavaScriptEngine.ClearScriptV8" />
36-
<PackageAssembliesAspNet5 Include="React.AspNet5" />
36+
<PackageAssembliesAspNet5 Include="React.AspNet" />
3737
<AspNet5ProjectJson Include="src/**/project.json" />
3838
</ItemGroup>
3939

src/React.AspNet5/AspNet5FileSystem.cs renamed to src/React.AspNet/AspNetFileSystem.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
using System.IO;
1111
using Microsoft.Framework.Runtime;
1212

13-
namespace React.AspNet5
13+
namespace React.AspNet
1414
{
1515
/// <summary>
1616
/// Handles file system functionality, such as reading files. Maps all paths from
1717
/// application-relative (~/...) to full paths using ASP.NET's MapPath method.
1818
/// </summary>
19-
public class AspNet5FileSystem : FileSystemBase
19+
public class AspNetFileSystem : FileSystemBase
2020
{
2121
private readonly IApplicationEnvironment _appEnvironment;
2222

2323
/// <summary>
24-
/// Initializes a new instance of the <see cref="AspNet5FileSystem"/> class.
24+
/// Initializes a new instance of the <see cref="AspNetFileSystem"/> class.
2525
/// </summary>
2626
/// <param name="appEnvironment">The ASP.NET 5 application environment</param>
27-
public AspNet5FileSystem(IApplicationEnvironment appEnvironment)
27+
public AspNetFileSystem(IApplicationEnvironment appEnvironment)
2828
{
2929
_appEnvironment = appEnvironment;
3030
}

src/React.AspNet5/AssemblyRegistration.cs renamed to src/React.AspNet/AssemblyRegistration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
using React.TinyIoC;
1111

12-
namespace React.AspNet5
12+
namespace React.AspNet
1313
{
1414
/// <summary>
1515
/// Handles registration of ReactJS.NET components that are only applicable
@@ -23,7 +23,7 @@ public class AssemblyRegistration : IAssemblyRegistration
2323
/// <param name="container">Container to register components in</param>
2424
public void Register(TinyIoCContainer container)
2525
{
26-
container.Register<IFileSystem, AspNet5FileSystem>().AsSingleton();
26+
container.Register<IFileSystem, AspNetFileSystem>().AsSingleton();
2727
container.Register<ICache, MemoryFileCache>().AsSingleton();
2828
}
2929
}

src/React.AspNet5/HtmlHelperExtensions.cs renamed to src/React.AspNet/HtmlHelperExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
using Microsoft.AspNet.Mvc.Rendering;
1111

12-
namespace React.AspNet5
12+
namespace React.AspNet
1313
{
1414
/// <summary>
1515
/// HTML Helpers for utilising React from an ASP.NET MVC 6 (vNext) application.

src/React.AspNet5/HttpContextLifetimeProvider.cs renamed to src/React.AspNet/HttpContextLifetimeProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
using Microsoft.Framework.DependencyInjection;
1616
using React.TinyIoC;
1717

18-
namespace React.AspNet5
18+
namespace React.AspNet
1919
{
2020
/// <summary>
2121
/// Handles registering per-request objects in the dependency injection container.

src/React.AspNet5/JsxFileMiddleware.cs renamed to src/React.AspNet/JsxFileMiddleware.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using Microsoft.AspNet.StaticFiles;
1717
using Microsoft.Framework.Logging;
1818

19-
namespace React.AspNet5
19+
namespace React.AspNet
2020
{
2121
/// <summary>
2222
/// Enables serving static JSX files transformed to pure JavaScript. Wraps around StaticFileMiddleware.

src/React.AspNet5/JsxFileOptions.cs renamed to src/React.AspNet/JsxFileOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#if OWIN
1818
namespace React.Owin
1919
#else
20-
namespace React.AspNet5
20+
namespace React.AspNet
2121
#endif
2222
{
2323
/// <summary>

src/React.AspNet5/JsxFileSystem.cs renamed to src/React.AspNet/JsxFileSystem.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#if OWIN
2626
namespace React.Owin
2727
#else
28-
namespace React.AspNet5
28+
namespace React.AspNet
2929
#endif
3030
{
3131
/// <summary>

src/React.AspNet5/React.AspNet5.kproj renamed to src/React.AspNet/React.AspNet.kproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<Import Project="$(VSToolsPath)\AspNet\Microsoft.Web.AspNet.Props" Condition="'$(VSToolsPath)' != ''" />
88
<PropertyGroup Label="Globals">
99
<ProjectGuid>a7acdb56-5e43-40a6-92c9-2c52228e6074</ProjectGuid>
10-
<RootNamespace>React.AspNet5</RootNamespace>
10+
<RootNamespace>React.AspNet</RootNamespace>
1111
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
1212
<OutputPath Condition="'$(OutputPath)'=='' ">..\..\bin\$(MSBuildProjectName)\</OutputPath>
1313
</PropertyGroup>
1414
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
15-
<AssemblyName>React.AspNet5</AssemblyName>
15+
<AssemblyName>React.AspNet</AssemblyName>
1616
</PropertyGroup>
1717
<PropertyGroup>
1818
<SchemaVersion>2.0</SchemaVersion>

src/React.AspNet5/ReactServiceCollectionExtensions.cs renamed to src/React.AspNet/ReactServiceCollectionExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using Microsoft.Framework.Runtime;
1414
using React.TinyIoC;
1515

16-
namespace React.AspNet5
16+
namespace React.AspNet
1717
{
1818
public static class ReactServiceCollectionExtensions
1919
{

0 commit comments

Comments
 (0)