Skip to content

Commit

Permalink
Merge branch 'aspnetcore_2_0_0'
Browse files Browse the repository at this point in the history
# Conflicts:
#	.gitignore
  • Loading branch information
damienbod committed Aug 18, 2017
2 parents c4567ce + 4c3e7b3 commit c5746e1
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 51 deletions.
9 changes: 1 addition & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,4 @@ src/Angular2WebpackVisualStudio/wwwroot/assets
src/Angular2WebpackVisualStudio/wwwroot/dist
src/AngularWebpackVisualStudio/wwwroot/dist/
src/AngularWebpackVisualStudio/wwwroot/index.html
src/AngularWebpackVisualStudio/wwwroot/assets/damienbod.jpg
src/AngularWebpackVisualStudio/wwwroot/assets/fabianGosebrink.jpg
src/AngularWebpackVisualStudio/wwwroot/assets/glyphicons-halflings-regular-448c34.woff2
src/AngularWebpackVisualStudio/wwwroot/assets/glyphicons-halflings-regular-898896.svg
src/AngularWebpackVisualStudio/wwwroot/assets/glyphicons-halflings-regular-e18bbf.ttf
src/AngularWebpackVisualStudio/wwwroot/assets/glyphicons-halflings-regular-f4769f.eot
src/AngularWebpackVisualStudio/wwwroot/assets/glyphicons-halflings-regular-fa2772.woff
src/AngularWebpackVisualStudio/wwwroot/assets/RobertoSimonetti.jpg
src/AngularWebpackVisualStudio/wwwroot/
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ For a fresh start, consider running these commands

<a href="https://github.com/damienbod/Angular2WebpackVisualStudio/blob/master/README.md">Readme</a>

<a name="2017-08-18"></a>
# 2017-08-15
* Update ASP.NET Core 2.0

<a name="2017-07-20"></a>
# 2017-07-20
* Release 1.0.0: Angular 4.3.1, typescript 2.4.2, webpack 3.3.0
Expand Down
22 changes: 6 additions & 16 deletions src/AngularWebpackVisualStudio/AngularWebpackVisualStudio.csproj
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
<Project ToolsVersion="15.0" Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="wwwroot\" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" />
<PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Routing" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Server.IISIntegration" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.Server.Kestrel" Version="1.1.2" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="1.1.2" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.1.2" />
<PackageReference Include="System.ComponentModel.Annotations" Version="4.3.0" />
<DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="2.0.0" />
<DotNetCliToolReference Include="Microsoft.Extensions.SecretManager.Tools" Version="2.0.0" />
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
</ItemGroup>
</Project>
21 changes: 7 additions & 14 deletions src/AngularWebpackVisualStudio/Program.cs
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Builder;

namespace Angular2WebpackVisualStudio
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory())
.UseIISIntegration()
BuildWebHost(args).Run();
}

public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.Build();

host.Run();
}
}
}
}
2 changes: 1 addition & 1 deletion src/AngularWebpackVisualStudio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-webpack-visualstudio",
"version": "1.0.0",
"version": "2.0.0",
"description": "An Angular VS template",
"main": "wwwroot/index.html",
"author": "",
Expand Down
5 changes: 0 additions & 5 deletions src/AngularWebpackVisualStudio/runtimeconfig.template.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">

<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp1.1</TargetFramework>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="1.1.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="2.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.3.0" />
<PackageReference Include="xunit.runner.console" Version="2.2.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.2.0" />
<PackageReference Include="xunit" Version="2.2.0" />
<PackageReference Include="xunit.runners" Version="2.0.0" />

</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:18364/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"AngularWebpackVisualStudio_Tests": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:18365/"
}
}
}

0 comments on commit c5746e1

Please sign in to comment.