Make app.AddNodeServices optional in Angular case. Fix tag helper attribute name. Bump versions.

This commit is contained in:
SteveSandersonMS
2015-11-02 20:07:31 -08:00
parent 37eb4efff0
commit 7e1955c6fe
10 changed files with 22 additions and 19 deletions

View File

@@ -8,7 +8,6 @@ using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.NodeServices;
using Microsoft.Data.Entity;
using Microsoft.Dnx.Runtime;
using Microsoft.Framework.Configuration;
@@ -79,9 +78,6 @@ namespace MusicStore
Mapper.CreateMap<ArtistResultDto, Artist>();
Mapper.CreateMap<Genre, GenreResultDto>();
Mapper.CreateMap<GenreResultDto, Genre>();
// Enable Node Services
services.AddNodeServices();
}
// Configure is called after ConfigureServices is called.

View File

@@ -3,7 +3,7 @@
}
<cache vary-by="@Context.Request.Path">
<app aspnet-ng2-prerender-module="wwwroot/ng-app/components/app/app">
<app asp-ng2-prerender-module="wwwroot/ng-app/components/app/app">
Loading...
</app>
</cache>

View File

@@ -19,7 +19,7 @@
"EntityFramework.SQLite": "7.0.0-beta8",
"Microsoft.AspNet.Identity.EntityFramework": "3.0.0-beta8",
"AutoMapper": "4.0.0-alpha1",
"Microsoft.AspNet.NodeServices.Angular": "1.0.0-alpha2"
"Microsoft.AspNet.NodeServices.Angular": "1.0.0-alpha3"
},
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel"

View File

@@ -16,7 +16,7 @@
"Microsoft.Framework.Logging": "1.0.0-beta8",
"Microsoft.Framework.Logging.Console": "1.0.0-beta8",
"Microsoft.Framework.Logging.Debug": "1.0.0-beta8",
"Microsoft.AspNet.NodeServices": "1.0.0-alpha2"
"Microsoft.AspNet.NodeServices": "1.0.0-alpha3"
},
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel"

View File

@@ -16,7 +16,7 @@
"Microsoft.Framework.Logging": "1.0.0-beta8",
"Microsoft.Framework.Logging.Console": "1.0.0-beta8",
"Microsoft.Framework.Logging.Debug": "1.0.0-beta8",
"Microsoft.AspNet.NodeServices.React": "1.0.0-alpha2"
"Microsoft.AspNet.NodeServices.React": "1.0.0-alpha3"
},
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel"