mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
Make app.AddNodeServices optional in Angular case. Fix tag helper attribute name. Bump versions.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user