diff --git a/build/artifacts.props b/build/artifacts.props
index 59b26e0538..981b91d9e7 100644
--- a/build/artifacts.props
+++ b/build/artifacts.props
@@ -77,11 +77,9 @@
-
-
diff --git a/src/Identity/Identity.sln b/src/Identity/Identity.sln
index 84176247fa..564ff51d95 100644
--- a/src/Identity/Identity.sln
+++ b/src/Identity/Identity.sln
@@ -29,8 +29,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Identi
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Identity.EntityFrameworkCore", "src\EF\Microsoft.AspNetCore.Identity.EntityFrameworkCore.csproj", "{4490894C-3572-4E63-86F1-EE5105CE8A06}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNet.Identity.AspNetCoreCompat", "src\AspNetCoreCompat\Microsoft.AspNet.Identity.AspNetCoreCompat.csproj", "{6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Identity.Specification.Tests", "src\Specification.Tests\Microsoft.AspNetCore.Identity.Specification.Tests.csproj", "{5608E828-DD54-4E2A-B73C-FC22268BE797}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Extensions.Identity.Core", "src\Core\Microsoft.Extensions.Identity.Core.csproj", "{D5905D78-A32E-44B8-8F21-EDAEDC95D9B8}"
@@ -246,30 +244,6 @@ Global
{4490894C-3572-4E63-86F1-EE5105CE8A06}.ReleaseNoWPF|x64.Build.0 = Release|Any CPU
{4490894C-3572-4E63-86F1-EE5105CE8A06}.ReleaseNoWPF|x86.ActiveCfg = Release|Any CPU
{4490894C-3572-4E63-86F1-EE5105CE8A06}.ReleaseNoWPF|x86.Build.0 = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Debug|x64.ActiveCfg = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Debug|x64.Build.0 = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Debug|x86.ActiveCfg = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Debug|x86.Build.0 = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.DebugNoWPF|Any CPU.ActiveCfg = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.DebugNoWPF|Any CPU.Build.0 = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.DebugNoWPF|x64.ActiveCfg = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.DebugNoWPF|x64.Build.0 = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.DebugNoWPF|x86.ActiveCfg = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.DebugNoWPF|x86.Build.0 = Debug|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Release|Any CPU.Build.0 = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Release|x64.ActiveCfg = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Release|x64.Build.0 = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Release|x86.ActiveCfg = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.Release|x86.Build.0 = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.ReleaseNoWPF|Any CPU.ActiveCfg = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.ReleaseNoWPF|Any CPU.Build.0 = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.ReleaseNoWPF|x64.ActiveCfg = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.ReleaseNoWPF|x64.Build.0 = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.ReleaseNoWPF|x86.ActiveCfg = Release|Any CPU
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475}.ReleaseNoWPF|x86.Build.0 = Release|Any CPU
{5608E828-DD54-4E2A-B73C-FC22268BE797}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5608E828-DD54-4E2A-B73C-FC22268BE797}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5608E828-DD54-4E2A-B73C-FC22268BE797}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -522,7 +496,6 @@ Global
{37236EA3-915D-46D5-997C-DF513C500E4B} = {52D59F18-62D2-4D17-8CF2-BE192445AF8E}
{EA7EB28F-53B8-4009-9C6B-74DB090CA8DD} = {52D59F18-62D2-4D17-8CF2-BE192445AF8E}
{4490894C-3572-4E63-86F1-EE5105CE8A06} = {0F647068-6602-4E24-B1DC-8ED91481A50A}
- {6A74C6EA-B241-4D6B-BCE4-BF89EC1D2475} = {0F647068-6602-4E24-B1DC-8ED91481A50A}
{5608E828-DD54-4E2A-B73C-FC22268BE797} = {0F647068-6602-4E24-B1DC-8ED91481A50A}
{D5905D78-A32E-44B8-8F21-EDAEDC95D9B8} = {0F647068-6602-4E24-B1DC-8ED91481A50A}
{FADA11FC-DC06-4832-A569-7B2374A6CD42} = {0F647068-6602-4E24-B1DC-8ED91481A50A}
diff --git a/src/Identity/src/AspNetCoreCompat/CookieInterop.cs b/src/Identity/src/AspNetCoreCompat/CookieInterop.cs
deleted file mode 100644
index 593c50ee77..0000000000
--- a/src/Identity/src/AspNetCoreCompat/CookieInterop.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
-// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
-
-using System.IO;
-using Microsoft.AspNetCore.DataProtection;
-using Microsoft.Owin.Security;
-using Microsoft.Owin.Security.Interop;
-
-namespace Owin
-{
- public static class CookieInterop
- {
- public static ISecureDataFormat CreateSharedDataFormat(DirectoryInfo keyDirectory, string authenticationType)
- {
- var dataProtector = DataProtectionProvider.Create(keyDirectory)
- .CreateProtector("Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", // full name of the ASP.NET 5 type
- authenticationType, "v2");
- return new AspNetTicketDataFormat(new DataProtectorShim(dataProtector));
- }
- }
-}
\ No newline at end of file
diff --git a/src/Identity/src/AspNetCoreCompat/IdentityDbContext.cs b/src/Identity/src/AspNetCoreCompat/IdentityDbContext.cs
deleted file mode 100644
index e773e39574..0000000000
--- a/src/Identity/src/AspNetCoreCompat/IdentityDbContext.cs
+++ /dev/null
@@ -1,140 +0,0 @@
-// Copyright (c) Microsoft Corporation, Inc. All rights reserved.
-// Licensed under the MIT License, Version 2.0. See License.txt in the project root for license information.
-
-using System;
-using System.Collections.Generic;
-using System.Data.Common;
-using System.Data.Entity;
-using System.Data.Entity.Infrastructure;
-using System.Data.Entity.Validation;
-using Microsoft.AspNet.Identity.EntityFramework;
-
-namespace Microsoft.AspNet.Identity.CoreCompat
-{
- public class IdentityDbContext :
- IdentityDbContext
- where TUser : IdentityUser
- {
- public IdentityDbContext() : base()
- {
-
- }
-
- public IdentityDbContext(DbCompiledModel model)
- : base(model)
- {
-
- }
-
- public IdentityDbContext(string nameOrConnectionString)
- : base(nameOrConnectionString)
- {
-
- }
-
- public IdentityDbContext(string nameOrConnectionString, DbCompiledModel model)
- : base(nameOrConnectionString, model)
- {
-
- }
-
- public IdentityDbContext(DbConnection existingConnection, bool contextOwnsConnection)
- : base(existingConnection, contextOwnsConnection)
- {
-
- }
- //
- // Summary:
- // Constructs a new context instance using the existing connection to connect to
- // a database, and initializes it from the given model. The connection will not
- // be disposed when the context is disposed if contextOwnsConnection is false.
- //
- // Parameters:
- // existingConnection:
- // An existing connection to use for the new context.
- //
- // model:
- // The model that will back this context.
- //
- // contextOwnsConnection:
- // Constructs a new context instance using the existing connection to connect to
- // a database, and initializes it from the given model. The connection will not
- // be disposed when the context is disposed if contextOwnsConnection is false.
- public IdentityDbContext(DbConnection existingConnection, DbCompiledModel model, bool contextOwnsConnection)
- : base(existingConnection, model, contextOwnsConnection)
- {
- }
- }
-
- public class IdentityDbContext :
- IdentityDbContext
- where TUser : IdentityUser
- where TRole : IdentityRole
- where TUserLogin : IdentityUserLogin
- where TUserRole : IdentityUserRole
- where TUserClaim : IdentityUserClaim
- where TRoleClaim : IdentityRoleClaim
- {
-
- public IdentityDbContext() : base()
- {
- }
-
- public IdentityDbContext(DbCompiledModel model)
- : base(model)
- {
- }
-
- public IdentityDbContext(string nameOrConnectionString)
- : base(nameOrConnectionString)
- {
- }
-
- public IdentityDbContext(string nameOrConnectionString, DbCompiledModel model)
- : base(nameOrConnectionString, model)
- {
- }
-
- public IdentityDbContext(DbConnection existingConnection, bool contextOwnsConnection)
- : base(existingConnection, contextOwnsConnection)
- {
- }
-
- public IdentityDbContext(DbConnection existingConnection, DbCompiledModel model, bool contextOwnsConnection)
- : base(existingConnection, model, contextOwnsConnection)
- {
- }
-
- protected override void OnModelCreating(DbModelBuilder modelBuilder)
- {
- base.OnModelCreating(modelBuilder);
-
- var userModel = modelBuilder.Entity();
-
- userModel.Property(x => x.LockoutEndDateUtc).HasColumnName("LockoutEnd");
- userModel.Property(x => x.ConcurrencyStamp).IsConcurrencyToken(true);
-
- modelBuilder.Entity()
- .HasKey(x => x.Id)
- .Map(config => config.ToTable("AspNetRoleClaims"));
-
- modelBuilder.Entity().Property(x => x.ConcurrencyStamp).IsConcurrencyToken(true);
- }
-
- protected override DbEntityValidationResult ValidateEntity(DbEntityEntry entityEntry, IDictionary