Change all Microsoft.AspNet.* namespaces and references to Microsoft.AspNetCore.*

This commit is contained in:
SteveSandersonMS
2016-04-08 17:22:12 +01:00
parent 4a0e4bdf1a
commit 25c728f885
62 changed files with 89 additions and 101 deletions

View File

@@ -36,10 +36,6 @@ namespace MusicStore
.AddEntityFrameworkStores<MusicStoreContext>()
.AddDefaultTokenProviders();
// Uncomment the following line to add Web API services which makes it easier to port Web API 2 controllers.
// You will also need to add the Microsoft.AspNet.Mvc.WebApiCompatShim package to the 'dependencies' section of project.json.
// services.AddWebApiConventions();
// Configure Auth
services.Configure<AuthorizationOptions>(options =>
{

View File

@@ -1,4 +1,4 @@
@using MusicStore
@using Microsoft.AspNet.AngularServices
@using Microsoft.AspNetCore.AngularServices
@addTagHelper "*, Microsoft.AspNetCore.Mvc.TagHelpers"
@addTagHelper "*, Microsoft.AspNet.SpaServices"
@addTagHelper "*, Microsoft.AspNetCore.SpaServices"

View File

@@ -22,11 +22,11 @@
"Microsoft.NETCore.Platforms": "1.0.1-*",
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
"Microsoft.EntityFrameworkCore.SQLite": "1.0.0-*",
"Microsoft.AspNet.AngularServices": "1.0.0-*",
"Microsoft.AspNetCore.AngularServices": "1.0.0-*",
"AutoMapper": "4.1.1"
},
"commands": {
"web": "Microsoft.AspNet.Server.Kestrel"
"web": "Microsoft.AspNetCore.Server.Kestrel"
},
"frameworks": {
"netstandardapp1.5": {