Skip to content

Commit

Permalink
chore: update for 3.1 and end of 2.2
Browse files Browse the repository at this point in the history
- Updated all libraries, tests, and samples for netcoreapp3.1
- Removed netcoreapp2.2 from everything, changed samples to netcoreapp2.1
  • Loading branch information
AndrewTriesToCode authored Jan 10, 2020
1 parent 76f8f9c commit a4cea0c
Show file tree
Hide file tree
Showing 40 changed files with 114 additions and 104 deletions.
80 changes: 40 additions & 40 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"version": "0.2.0",
"configurations": [
{
"name": "Authentication Options Sample (netcoreapp2.2)",
"name": "Authentication Options Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/AuthenticationOptionsSample/bin/Debug/netcoreapp2.2/AuthenticationOptionsSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/AuthenticationOptionsSample/bin/Debug/netcoreapp2.1/AuthenticationOptionsSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/AuthenticationOptionsSample",
"stopAtEntry": false,
Expand All @@ -25,11 +25,11 @@
}
},
{
"name": "Authentication Options Sample (netcoreapp3.0)",
"name": "Authentication Options Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/AuthenticationOptionsSample/bin/Debug/netcoreapp3.0/AuthenticationOptionsSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/AuthenticationOptionsSample/bin/Debug/netcoreapp3.1/AuthenticationOptionsSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/AuthenticationOptionsSample",
"stopAtEntry": false,
Expand All @@ -45,11 +45,11 @@
}
},
{
"name": "BasePath Strategy Sample (netcoreapp2.2)",
"name": "BasePath Strategy Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/BasePathStrategySample/bin/Debug/netcoreapp2.2/BasePathStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/BasePathStrategySample/bin/Debug/netcoreapp2.1/BasePathStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/BasePathStrategySample",
"stopAtEntry": false,
Expand All @@ -65,11 +65,11 @@
}
},
{
"name": "BasePath Strategy Sample (netcoreapp3.0)",
"name": "BasePath Strategy Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/BasePathStrategySample/bin/Debug/netcoreapp3.0/BasePathStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/BasePathStrategySample/bin/Debug/netcoreapp3.1/BasePathStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/BasePathStrategySample",
"stopAtEntry": false,
Expand All @@ -85,11 +85,11 @@
}
},
{
"name": "Data Isolation Sample (netcoreapp2.2)",
"name": "Data Isolation Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/DataIsolationSample/bin/Debug/netcoreapp2.2/DataIsolationSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/DataIsolationSample/bin/Debug/netcoreapp2.1/DataIsolationSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/DataIsolationSample",
"stopAtEntry": false,
Expand All @@ -105,11 +105,11 @@
}
},
{
"name": "Data Isolation Sample (netcoreapp3.0)",
"name": "Data Isolation Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/DataIsolationSample/bin/Debug/netcoreapp3.0/DataIsolationSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/DataIsolationSample/bin/Debug/netcoreapp3.1/DataIsolationSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/DataIsolationSample",
"stopAtEntry": false,
Expand All @@ -125,11 +125,11 @@
}
},
{
"name": "Delegate Strategy Sample (netcoreapp2.2)",
"name": "Delegate Strategy Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/DelegateStrategySample/bin/Debug/netcoreapp2.2/DelegateStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/DelegateStrategySample/bin/Debug/netcoreapp2.1/DelegateStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/DelegateStrategySample",
"stopAtEntry": false,
Expand All @@ -145,11 +145,11 @@
}
},
{
"name": "Delegate Strategy Sample (netcoreapp3.0)",
"name": "Delegate Strategy Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/DelegateStrategySample/bin/Debug/netcoreapp3.0/DelegateStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/DelegateStrategySample/bin/Debug/netcoreapp3.1/DelegateStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/DelegateStrategySample",
"stopAtEntry": false,
Expand All @@ -165,11 +165,11 @@
}
},
{
"name": "EFCore Store Sample (netcoreapp2.2)",
"name": "EFCore Store Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/EFCoreStoreSample/bin/Debug/netcoreapp2.2/EFCoreStoreSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/EFCoreStoreSample/bin/Debug/netcoreapp2.1/EFCoreStoreSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/EFCoreStoreSample",
"stopAtEntry": false,
Expand All @@ -185,11 +185,11 @@
}
},
{
"name": "EFCore Store Sample (netcoreapp3.0)",
"name": "EFCore Store Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/EFCoreStoreSample/bin/Debug/netcoreapp3.0/EFCoreStoreSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/EFCoreStoreSample/bin/Debug/netcoreapp3.1/EFCoreStoreSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/EFCoreStoreSample",
"stopAtEntry": false,
Expand All @@ -205,11 +205,11 @@
}
},
{
"name": "Host Strategy Sample (netcoreapp2.2)",
"name": "Host Strategy Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/HostStrategySample/bin/Debug/netcoreapp2.2/HostStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/HostStrategySample/bin/Debug/netcoreapp2.1/HostStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/HostStrategySample",
"stopAtEntry": false,
Expand All @@ -225,11 +225,11 @@
}
},
{
"name": "Host Strategy Sample (netcoreapp3.0)",
"name": "Host Strategy Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/HostStrategySample/bin/Debug/netcoreapp3.0/HostStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/HostStrategySample/bin/Debug/netcoreapp3.1/HostStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/HostStrategySample",
"stopAtEntry": false,
Expand All @@ -245,11 +245,11 @@
}
},
{
"name": "Http Remote Store Sample (netcoreapp3.0)",
"name": "Http Remote Store Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/HttpRemoteStoreSample/HttpRemoteStoreSample/bin/Debug/netcoreapp3.0/HttpRemoteStoreSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/HttpRemoteStoreSample/HttpRemoteStoreSample/bin/Debug/netcoreapp3.1/HttpRemoteStoreSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/HttpRemoteStoreSample/HttpRemoteStoreSample",
"stopAtEntry": false,
Expand All @@ -265,11 +265,11 @@
}
},
{
"name": "Identity Data Isolation Sample (netcoreapp2.2)",
"name": "Identity Data Isolation Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/IdentityDataIsolationSample/bin/Debug/netcoreapp2.2/IdentityDataIsolationSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/IdentityDataIsolationSample/bin/Debug/netcoreapp2.1/IdentityDataIsolationSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/IdentityDataIsolationSample",
"stopAtEntry": false,
Expand All @@ -285,11 +285,11 @@
}
},
{
"name": "Identity Data Isolation Sample (netcoreapp3.0)",
"name": "Identity Data Isolation Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/IdentityDataIsolationSample/bin/Debug/netcoreapp3.0/IdentityDataIsolationSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/IdentityDataIsolationSample/bin/Debug/netcoreapp3.1/IdentityDataIsolationSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/IdentityDataIsolationSample",
"stopAtEntry": false,
Expand All @@ -305,11 +305,11 @@
}
},
{
"name": "Route Strategy Sample (netcoreapp2.2)",
"name": "Route Strategy Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/RouteStrategySample/bin/Debug/netcoreapp2.2/RouteStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/RouteStrategySample/bin/Debug/netcoreapp2.1/RouteStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/RouteStrategySample",
"stopAtEntry": false,
Expand All @@ -325,11 +325,11 @@
}
},
{
"name": "Route Strategy Sample (netcoreapp3.0)",
"name": "Route Strategy Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/RouteStrategySample/bin/Debug/netcoreapp3.0/RouteStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/RouteStrategySample/bin/Debug/netcoreapp3.1/RouteStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/RouteStrategySample",
"stopAtEntry": false,
Expand All @@ -345,11 +345,11 @@
}
},
{
"name": "Shared Login Sample (netcoreapp2.2)",
"name": "Shared Login Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/SharedLoginSample/bin/Debug/netcoreapp2.2/SharedLoginSample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/SharedLoginSample/bin/Debug/netcoreapp2.1/SharedLoginSample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/SharedLoginSample",
"stopAtEntry": false,
Expand All @@ -365,11 +365,11 @@
}
},
{
"name": "Static Strategy Sample (netcoreapp2.2)",
"name": "Static Strategy Sample (netcoreapp2.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/StaticStrategySample/bin/Debug/netcoreapp2.2/StaticStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 2/StaticStrategySample/bin/Debug/netcoreapp2.1/StaticStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 2/StaticStrategySample",
"stopAtEntry": false,
Expand All @@ -385,11 +385,11 @@
}
},
{
"name": "Static Strategy Sample (netcoreapp3.0)",
"name": "Static Strategy Sample (netcoreapp3.1)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/StaticStrategySample/bin/Debug/netcoreapp3.0/StaticStrategySample.dll",
"program": "${workspaceFolder}/samples/ASP.NET Core 3/StaticStrategySample/bin/Debug/netcoreapp3.1/StaticStrategySample.dll",
"args": [],
"cwd": "${workspaceFolder}/samples/ASP.NET Core 3/StaticStrategySample",
"stopAtEntry": false,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
<UserSecretsId>AuthenticationOptionsSample-bc2b0e78-974b-4b3d-abd4-a7dbe3ef828c</UserSecretsId>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion samples/ASP.NET Core 2/BasePathStrategySample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public Startup(IConfiguration configuration)
public IConfiguration Configuration { get; }
public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
services.AddMultiTenant().
WithConfigurationStore().
WithBasePathStrategy();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="2.1.0" />
<!-- <PackageReference Include="Finbuckle.MultiTenant" Version="4.0.0" /> -->
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion samples/ASP.NET Core 2/DataIsolationSample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public Startup(IConfiguration configuration)

public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);

services.AddMultiTenant().
WithConfigurationStore().
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion samples/ASP.NET Core 2/DelegateStrategySample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public Startup(IConfiguration configuration)

public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);

services.AddMultiTenant().
WithConfigurationStore().
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="2.1.14" />
<!-- <PackageReference Include="Finbuckle.MultiTenant" Version="4.0.0" /> -->
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion samples/ASP.NET Core 2/EFCoreStoreSample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public Startup(IConfiguration configuration)

public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);

services.AddMultiTenant()
.WithEFCoreStore<MultiTenantStoreDbContext>()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion samples/ASP.NET Core 2/FallbackStrategySample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public Startup(IConfiguration configuration)

public void ConfigureServices(IServiceCollection services)
{
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);
services.AddMultiTenant().
WithInMemoryStore(Configuration.GetSection("Finbuckle:MultiTenant:InMemoryStore")).
WithRouteStrategy(ConfigRoutes).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

Expand Down
Loading

0 comments on commit a4cea0c

Please sign in to comment.