diff --git a/src/MusicStore.Spa/project.json b/src/MusicStore.Spa/project.json index 14c9b515ee..4bc07693ba 100644 --- a/src/MusicStore.Spa/project.json +++ b/src/MusicStore.Spa/project.json @@ -22,7 +22,7 @@ "run": "run server.urls=http://localhost:5003" }, "frameworks": { - "net451": { }, + "aspnet50": { }, "aspnetcore50": { } } } diff --git a/src/MusicStore/StartupNtlmAuthentication.cs b/src/MusicStore/StartupNtlmAuthentication.cs index 7ceddec489..75228e68f2 100644 --- a/src/MusicStore/StartupNtlmAuthentication.cs +++ b/src/MusicStore/StartupNtlmAuthentication.cs @@ -1,4 +1,4 @@ -using System; +using System; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Diagnostics; using Microsoft.AspNet.Routing; @@ -45,7 +45,7 @@ namespace MusicStore //Who will get admin access? For demo sake I'm listing the currently logged on user as the application administrator. But this can be changed to suit the needs. var identity = (ClaimsIdentity)context.User.Identity; -#if NET451 +#if ASPNET501 if (identity.GetUserName() == Environment.UserDomainName + "\\" + Environment.UserName) { identity.AddClaim(new Claim("ManageStore", "Allowed")); @@ -137,4 +137,4 @@ namespace MusicStore SampleData.InitializeMusicStoreDatabaseAsync(app.ApplicationServices).Wait(); } } -} \ No newline at end of file +} diff --git a/src/MusicStore/project.json b/src/MusicStore/project.json index 492274c298..6089d8c3a5 100644 --- a/src/MusicStore/project.json +++ b/src/MusicStore/project.json @@ -32,7 +32,7 @@ "run": "run server.urls=http://localhost:5003" }, "frameworks": { - "net451": { }, + "aspnet50": { }, "aspnetcore50": { } } -} \ No newline at end of file +} diff --git a/test/E2ETests/project.json b/test/E2ETests/project.json index 39dbd06f44..46184ae54b 100644 --- a/test/E2ETests/project.json +++ b/test/E2ETests/project.json @@ -10,7 +10,7 @@ "Microsoft.AspNet.SignalR.Client": "2.1.1" }, "frameworks": { - "net45": { + "aspnet50": { "dependencies": { "System.Runtime": "", "System.Runtime.Extensions": "",