forked from dotnet/AspNetCore.Docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Damienbod/angular to angularjs (dotnet#2735)
* updating to msbuild * renaming to AngularJS * adding client app * removing packages, not required * updating to ASP.NET Core 1.1 * updating to ASP.NET Core 1.1 * updating the md file * removing gitignore excludes because these are not required * revert, should not have been removed
- Loading branch information
1 parent
37ca00a
commit 4f6c5f1
Showing
66 changed files
with
130 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -213,4 +213,4 @@ project.lock.json | |
__pycache__/ | ||
|
||
#Mac OSX | ||
.DS_Store | ||
.DS_Store |
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 3 additions & 6 deletions
9
...ar/sample/AngularSample/AngularSample.sln → ...ample/AngularJSSample/AngularJSSample.sln
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
49 changes: 49 additions & 0 deletions
49
...ore/client-side/angular/sample/AngularJSSample/src/AngularJSSample/AngularJSSample.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
<PropertyGroup> | ||
<TargetFramework>netcoreapp1.1</TargetFramework> | ||
<AssemblyName>AngularJSSample</AssemblyName> | ||
<PackageId>AngularJSSample</PackageId> | ||
<RuntimeFrameworkVersion>1.1.0</RuntimeFrameworkVersion> | ||
<PackageTargetFallback>$(PackageTargetFallback);dotnet5.6;portable-net45+win8</PackageTargetFallback> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Compile Remove="wwwroot\**\*;node_modules" /> | ||
<EmbeddedResource Remove="wwwroot\**\*;node_modules" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.Authentication.Cookies" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.1" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="1.1.0" /> | ||
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink.Loader" Version="14.1.0" /> | ||
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="1.1.0-msbuild3-final"> | ||
<PrivateAssets>All</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="BundlerMinifier.Core" Version="2.2.301" /> | ||
</ItemGroup> | ||
|
||
<Target Name="PrepublishScript" BeforeTargets="PrepareForPublish"> | ||
<Exec Command="npm install" /> | ||
<Exec Command="bower install" /> | ||
<Exec Command="gulp clean" /> | ||
<Exec Command="gulp min" /> | ||
</Target> | ||
|
||
<ItemGroup> | ||
<DotNetCliToolReference Include="BundlerMinifier.Core" Version="2.2.301" /> | ||
<DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="1.0.0-msbuild3-final" /> | ||
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="1.0.0-msbuild3-final" /> | ||
</ItemGroup> | ||
|
||
</Project> |
2 changes: 1 addition & 1 deletion
2
...ample/Controllers/Api/PersonController.cs → ...ample/Controllers/Api/PersonController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...gularSample/Controllers/HomeController.cs → ...larJSSample/Controllers/HomeController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using Microsoft.AspNet.Mvc; | ||
using Microsoft.AspNetCore.Mvc; | ||
|
||
namespace AngularSample.Controllers | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
...larSample/Controllers/PeopleController.cs → ...rJSSample/Controllers/PeopleController.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using Microsoft.AspNet.Mvc; | ||
using Microsoft.AspNetCore.Mvc; | ||
|
||
namespace AngularSample.Controllers | ||
{ | ||
|
File renamed without changes.
25 changes: 25 additions & 0 deletions
25
aspnetcore/client-side/angular/sample/AngularJSSample/src/AngularJSSample/Program.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
using Microsoft.AspNetCore.Hosting; | ||
using Microsoft.AspNetCore.Builder; | ||
|
||
namespace AngularSample | ||
{ | ||
public class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
var host = new WebHostBuilder() | ||
.UseKestrel() | ||
.UseContentRoot(Directory.GetCurrentDirectory()) | ||
.UseIISIntegration() | ||
.UseStartup<Startup>() | ||
.Build(); | ||
|
||
host.Run(); | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
3 changes: 3 additions & 0 deletions
3
.../client-side/angular/sample/AngularJSSample/src/AngularJSSample/Views/_ViewImports.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@using AngularSample | ||
@using AngularSample.Models | ||
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers" |
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.
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.
8 changes: 0 additions & 8 deletions
8
aspnetcore/client-side/angular/sample/AngularSample/NuGet.Config
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
aspnetcore/client-side/angular/sample/AngularSample/global.json
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
aspnetcore/client-side/angular/sample/AngularSample/src/AngularSample/AngularSample.xproj
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...core/client-side/angular/sample/AngularSample/src/AngularSample/Views/_ViewImports.cshtml
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
aspnetcore/client-side/angular/sample/AngularSample/src/AngularSample/project.json
This file was deleted.
Oops, something went wrong.