Skip to content

Commit 8fd3049

Browse files
committed
Generated solution restricting endpoints with authorization handlers
1 parent be849df commit 8fd3049

7 files changed

+555
-447
lines changed

.vs/ApiModel/v16/.suo

7 KB
Binary file not shown.

ApiModel.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
<PackageReference Include="Cosmonaut.Extensions.Microsoft.DependencyInjection" Version="2.3.0" />
1111
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.7" />
1212
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.4" />
13-
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.1.8" />
14-
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="3.1.8" />
15-
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="3.1.8" />
13+
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="5.0.4" />
14+
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="5.0.4" />
15+
<PackageReference Include="Microsoft.AspNetCore.Identity.UI" Version="5.0.4" />
1616
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="5.0.4" />
1717
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="5.0.4" />
18-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.1.8" />
18+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.4" />
1919
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.1.8" />
2020
<PackageReference Include="Microsoft.OpenApi" Version="1.2.3" />
2121
<PackageReference Include="NSwag.Core" Version="13.10.8" />

obj/ApiModel.csproj.nuget.dgspec.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@
6666
},
6767
"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": {
6868
"target": "Package",
69-
"version": "[3.1.8, )"
69+
"version": "[5.0.4, )"
7070
},
7171
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": {
7272
"target": "Package",
73-
"version": "[3.1.8, )"
73+
"version": "[5.0.4, )"
7474
},
7575
"Microsoft.AspNetCore.Identity.UI": {
7676
"target": "Package",
77-
"version": "[3.1.8, )"
77+
"version": "[5.0.4, )"
7878
},
7979
"Microsoft.AspNetCore.Mvc.Testing": {
8080
"target": "Package",
@@ -86,7 +86,7 @@
8686
},
8787
"Microsoft.EntityFrameworkCore.SqlServer": {
8888
"target": "Package",
89-
"version": "[3.1.8, )"
89+
"version": "[5.0.4, )"
9090
},
9191
"Microsoft.EntityFrameworkCore.Tools": {
9292
"target": "Package",

obj/ApiModel.csproj.nuget.g.props

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\3.0.0\build\Microsoft.Extensions.ApiDescription.Server.props" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\3.0.0\build\Microsoft.Extensions.ApiDescription.Server.props')" />
2222
<Import Project="$(NuGetPackageRoot)swashbuckle.aspnetcore\6.1.1\build\Swashbuckle.AspNetCore.props" Condition="Exists('$(NuGetPackageRoot)swashbuckle.aspnetcore\6.1.1\build\Swashbuckle.AspNetCore.props')" />
2323
<Import Project="$(NuGetPackageRoot)microsoft.entityframeworkcore.design\3.1.8\build\netcoreapp2.0\Microsoft.EntityFrameworkCore.Design.props" Condition="Exists('$(NuGetPackageRoot)microsoft.entityframeworkcore.design\3.1.8\build\netcoreapp2.0\Microsoft.EntityFrameworkCore.Design.props')" />
24-
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\3.1.8\buildTransitive\Microsoft.AspNetCore.Identity.UI.props" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\3.1.8\buildTransitive\Microsoft.AspNetCore.Identity.UI.props')" />
24+
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.4\buildTransitive\Microsoft.AspNetCore.Identity.UI.props" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.4\buildTransitive\Microsoft.AspNetCore.Identity.UI.props')" />
2525
</ImportGroup>
2626
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
2727
<PkgMicrosoft_Extensions_ApiDescription_Server Condition=" '$(PkgMicrosoft_Extensions_ApiDescription_Server)' == '' ">C:\Users\Administrator\.nuget\packages\microsoft.extensions.apidescription.server\3.0.0</PkgMicrosoft_Extensions_ApiDescription_Server>
28+
<PkgNewtonsoft_Json Condition=" '$(PkgNewtonsoft_Json)' == '' ">C:\Users\Administrator\.nuget\packages\newtonsoft.json\10.0.1</PkgNewtonsoft_Json>
2829
<PkgMicrosoft_EntityFrameworkCore_Tools Condition=" '$(PkgMicrosoft_EntityFrameworkCore_Tools)' == '' ">C:\Users\Administrator\.nuget\packages\microsoft.entityframeworkcore.tools\3.1.8</PkgMicrosoft_EntityFrameworkCore_Tools>
2930
</PropertyGroup>
3031
</Project>

obj/ApiModel.csproj.nuget.g.targets

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
77
<Import Project="$(NuGetPackageRoot)microsoft.extensions.apidescription.server\3.0.0\build\Microsoft.Extensions.ApiDescription.Server.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.apidescription.server\3.0.0\build\Microsoft.Extensions.ApiDescription.Server.targets')" />
88
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.mvc.testing\5.0.4\build\net5.0\Microsoft.AspNetCore.Mvc.Testing.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.mvc.testing\5.0.4\build\net5.0\Microsoft.AspNetCore.Mvc.Testing.targets')" />
9-
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\3.1.8\buildTransitive\Microsoft.AspnetCore.Identity.UI.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\3.1.8\buildTransitive\Microsoft.AspnetCore.Identity.UI.targets')" />
9+
<Import Project="$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.4\buildTransitive\Microsoft.AspnetCore.Identity.UI.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.aspnetcore.identity.ui\5.0.4\buildTransitive\Microsoft.AspnetCore.Identity.UI.targets')" />
1010
</ImportGroup>
1111
</Project>

0 commit comments

Comments
 (0)