Skip to content

Commit

Permalink
Renamed the react project to "ReactBoilerplate". This will make it ea…
Browse files Browse the repository at this point in the history
…sier for users to rename the project, as well as the yeoman generator. Addresses #18
  • Loading branch information
pauldotknopf committed Jun 17, 2016
1 parent 5bfffc5 commit 47fe634
Show file tree
Hide file tree
Showing 54 changed files with 45 additions and 57 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
Expand Down Expand Up @@ -234,6 +234,6 @@ _Pvt_Extensions

# FAKE - F# Make
.fake/
src/React/bower_components/
src/React/wwwroot/
src/React/React.sublime-workspace
src/ReactBoilerplate/bower_components/
src/ReactBoilerplate/wwwroot/
src/ReactBoilerplate/React.sublime-workspace
2 changes: 1 addition & 1 deletion React.sln → ReactBoilerplate.sln
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
global.json = global.json
EndProjectSection
EndProject
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "React", "src\React\React.xproj", "{A9424E07-13A1-49AF-BE65-EBCE6B4F343A}"
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ReactBoilerplate", "src\ReactBoilerplate\ReactBoilerplate.xproj", "{A9424E07-13A1-49AF-BE65-EBCE6B4F343A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
24 changes: 0 additions & 24 deletions src/React/Program.cs

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using React.State;
using Microsoft.AspNetCore.Mvc;
using ReactBoilerplate.State;

namespace React.Controllers
namespace ReactBoilerplate.Controllers
{
public class BaseController : Controller
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace React.Controllers.Home
namespace ReactBoilerplate.Controllers.Home
{
public class HomeController : BaseController
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using System;
using System.Threading;
using Microsoft.AspNetCore.Mvc;
using React.Models;
using ReactBoilerplate.Models;

namespace React.Controllers.People
namespace ReactBoilerplate.Controllers.People
{
[Route("api/people")]
public class ApiController : BaseController
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using React.Models;
using React.State;
using ReactBoilerplate.Models;
using ReactBoilerplate.State;

namespace React.Controllers.People
namespace ReactBoilerplate.Controllers.People
{
public class ServerController : BaseController
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace React.Controllers.Status
namespace ReactBoilerplate.Controllers.Status
{
public class StatusController : BaseController
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json.Serialization;
using Newtonsoft.Json;

namespace React.Models
namespace ReactBoilerplate.Models
{
public class Person
{
Expand Down
19 changes: 19 additions & 0 deletions src/ReactBoilerplate/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System.IO;
using Microsoft.AspNetCore.Hosting;

namespace ReactBoilerplate
{
public class Program
{
public static void Main(string[] args)
{
var host = WebHostBuilderExtensions.UseStartup<Startup>(new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration())
.Build();

host.Run();
}
}
}
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>a9424e07-13a1-49af-be65-ebce6b4f343a</ProjectGuid>
<RootNamespace>React</RootNamespace>
<RootNamespace>ReactBoilerplate</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions src/React/Startup.cs → src/ReactBoilerplate/Startup.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
using System;
using System.Collections.Generic;
using System.IO;
using JavaScriptViewEngine;
using JavaScriptViewEngine.Pool;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using JavaScriptViewEngine;
using System.IO;
using System.Collections.Generic;
using JavaScriptViewEngine.Pool;

namespace React
namespace ReactBoilerplate
{
public class Startup
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Newtonsoft.Json;

namespace React.State
namespace ReactBoilerplate.State
{
public class GlobalState
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json.Serialization;
using React.Models;
using Newtonsoft.Json;
using ReactBoilerplate.Models;

namespace React.State
namespace ReactBoilerplate.State
{
public class PeopleState
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 47fe634

Please sign in to comment.