Skip to content

Commit facc2c6

Browse files
Rename ES2015Transpilation sample to NodeServicesExamples (because will be adding some more examples here)
1 parent c8859ab commit facc2c6

File tree

18 files changed

+9
-9
lines changed

18 files changed

+9
-9
lines changed

JavaScriptServices.sln

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Samples", "Samples", "{E6E8
77
EndProject
88
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Microsoft.AspNetCore.NodeServices", "src\Microsoft.AspNetCore.NodeServices\Microsoft.AspNetCore.NodeServices.xproj", "{B0FA4175-8B29-4904-9780-28B3C24B0567}"
99
EndProject
10-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ES2015Transpilation", "samples\misc\ES2015Transpilation\ES2015Transpilation.xproj", "{6D4BCDD6-7951-449B-BE55-CB7F014B7430}"
10+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "NodeServicesExamples", "samples\misc\NodeServicesExamples\NodeServicesExamples.xproj", "{6D4BCDD6-7951-449B-BE55-CB7F014B7430}"
1111
EndProject
1212
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{78DAC76C-1092-45AB-BF0D-594B8C7B6569}"
1313
ProjectSection(SolutionItems) = preProject

samples/misc/ES2015Transpilation/Controllers/HomeController.cs renamed to samples/misc/NodeServicesExamples/Controllers/HomeController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Threading.Tasks;
22
using Microsoft.AspNetCore.Mvc;
33

4-
namespace ES2015Example.Controllers
4+
namespace NodeServicesExamples.Controllers
55
{
66
public class HomeController : Controller
77
{

samples/misc/ES2015Transpilation/ES2015Transpilation.xproj renamed to samples/misc/NodeServicesExamples/NodeServicesExamples.xproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Import Project="$(VSToolsPath)\DNX\Microsoft.DNX.Props" Condition="'$(VSToolsPath)' != ''" />
99
<PropertyGroup Label="Globals">
1010
<ProjectGuid>6d4bcdd6-7951-449b-be55-cb7f014b7430</ProjectGuid>
11-
<RootNamespace>ES2015Transpilation</RootNamespace>
11+
<RootNamespace>NodeServicesExamples</RootNamespace>
1212
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">..\..\..\JavaScriptServices.sln\artifacts\obj\$(MSBuildProjectName)</BaseIntermediateOutputPath>
1313
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
1414
</PropertyGroup>

samples/misc/ES2015Transpilation/Startup.cs renamed to samples/misc/NodeServicesExamples/Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
using Microsoft.Extensions.Logging;
77
using System.IO;
88

9-
namespace ES2015Example
9+
namespace NodeServicesExamples
1010
{
1111
public class Startup
1212
{
1313
// This method gets called by the runtime. Use this method to add services to the container.
1414
public void ConfigureServices(IServiceCollection services)
1515
{
1616
services.AddMvc();
17-
17+
1818
// Enable Node Services
1919
services.AddNodeServices();
2020
}

samples/misc/ES2015Transpilation/Views/Shared/_Layout.cshtml renamed to samples/misc/NodeServicesExamples/Views/Shared/_Layout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8" />
5-
<title>ES2015 Example</title>
5+
<title>NodeServices Examples</title>
66
</head>
77
<body>
88
@RenderBody()
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
@using ES2015Example
1+
@using NodeServicesExamples
22
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"

0 commit comments

Comments
 (0)