Skip to content

Commit 58106bc

Browse files
committed
Version 8.0.0
1 parent 1797b62 commit 58106bc

File tree

3 files changed

+25
-103
lines changed

3 files changed

+25
-103
lines changed

AuthPermissions.AspNetCore/CreateNuGetRelease.nuspec

Lines changed: 20 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
<package xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
33
<metadata>
44
<id>AuthPermissions.AspNetCore</id>
5-
<version>6.2.2</version>
5+
<version>8.0.0</version>
66
<authors>Jon P Smith</authors>
77
<product>AuthPermissions.AspNetCore</product>
88
<copyright>Copyright (c) 2021 Jon P Smith</copyright>
99
<description>Provides extra authorization and multi-tenant features to an ASP.NET Core application.</description>
1010
<releaseNotes>
11-
- Updated Net.RunMethodsSequentially to make fix .NET 8 Postgres bug
11+
- This NuGet only supports NET8 and all the examples are now using NET8
12+
- All vulnerable NuGets updated
13+
- Any depreciated NuGets removed
14+
- NOTE: uses old Microsoft.Graph version 4.?, which is still supported by Microsoft
1215
</releaseNotes>
1316
<license type="expression">MIT</license>
1417
<projectUrl>https://github.com/JonPSmith/AuthPermissions.AspNetCore</projectUrl>
@@ -18,132 +21,48 @@
1821
<group targetFramework="net8.0">
1922
<dependency id="GenericServices.StatusGeneric" version="1.2.0" />
2023
<dependency id="Microsoft.AspNetCore.Identity.EntityFrameworkCore" version="8.0.0" />
21-
<dependency id="Microsoft.Data.Sqlite.Core" version="8.0.0" />
22-
<dependency id="Microsoft.EntityFrameworkCore" version="8.0.0" />
23-
<dependency id="Microsoft.EntityFrameworkCore.InMemory" version="8.0.0" />
24-
<dependency id="Microsoft.EntityFrameworkCore.Sqlite" version="8.0.0" />
25-
<dependency id="Microsoft.EntityFrameworkCore.SqlServer" version="8.0.0" />
26-
<dependency id="Microsoft.EntityFrameworkCore.Tools" version="8.0.0" />
24+
<dependency id="Microsoft.Data.Sqlite.Core" version="8.0.2" />
25+
<dependency id="Microsoft.EntityFrameworkCore" version="8.0.2" />
26+
<dependency id="Microsoft.EntityFrameworkCore.InMemory" version="8.0.2" />
27+
<dependency id="Microsoft.EntityFrameworkCore.Sqlite" version="8.0.2" />
28+
<dependency id="Microsoft.EntityFrameworkCore.SqlServer" version="8.0.2" />
29+
<dependency id="Npgsql.EntityFrameworkCore.PostgreSQL" version="8.0.2" />
30+
<dependency id="Microsoft.EntityFrameworkCore.Tools" version="8.0.2" />
2731
<dependency id="Microsoft.Extensions.Hosting" version="8.0.0" />
2832
<dependency id="Net.RunMethodsSequentially" version="2.0.1" />
29-
<dependency id="Npgsql.EntityFrameworkCore.PostgreSQL" version="8.0.0" />
30-
<dependency id="Net.LocalizeMessagesAndErrors" version="2.0.0" />
33+
<dependency id="Net.LocalizeMessagesAndErrors" version="8.0.0" />
3134
<dependency id="Microsoft.AspNetCore.Authentication.OpenIdConnect" version="8.0.0" />
3235
<dependency id="Microsoft.AspNetCore.Authorization" version="8.0.0" />
33-
<dependency id="Microsoft.AspNetCore.Http" version="2.2.2" />
36+
<dependency id="Microsoft.IdentityModel.JsonWebTokens" version="7.5.1" />
3437
<dependency id="Net.DistributedFileStoreCache" version="2.0.0" />
35-
<dependency id="EntityFrameworkCore.Exceptions.PostgreSQL" version="6.0.3" />
36-
<dependency id="EntityFrameworkCore.Exceptions.Sqlite" version="6.0.3" />
37-
<dependency id="EntityFrameworkCore.Exceptions.SqlServer" version="6.0.3.1" />
38+
<dependency id="System.IdentityModel.Tokens.Jwt" version="7.1.2" />
39+
<dependency id="EntityFrameworkCore.Exceptions.PostgreSQL" version="8.1.2" />
40+
<dependency id="EntityFrameworkCore.Exceptions.Sqlite" version="8.1.2" />
41+
<dependency id="EntityFrameworkCore.Exceptions.SqlServer" version="8.0.0.2" />
3842
<dependency id="Microsoft.Extensions.Localization.Abstractions" version="8.0.0" />
39-
<dependency id="DistributedLock" version="2.3.4" />
40-
<dependency id="Microsoft.AspNetCore.Hosting" version="2.2.7" />
41-
<dependency id="Microsoft.Graph" version="4.37.0" />
42-
</group>
43-
<group targetFramework="net7.0">
44-
<dependency id="GenericServices.StatusGeneric" version="1.2.0" />
45-
<dependency id="Microsoft.AspNetCore.Identity.EntityFrameworkCore" version="7.0.0" />
46-
<dependency id="Microsoft.Data.Sqlite.Core" version="7.0.0" />
47-
<dependency id="Microsoft.EntityFrameworkCore" version="7.0.0" />
48-
<dependency id="Microsoft.EntityFrameworkCore.InMemory" version="7.0.0" />
49-
<dependency id="Microsoft.EntityFrameworkCore.Sqlite" version="7.0.0" />
50-
<dependency id="Microsoft.EntityFrameworkCore.SqlServer" version="7.0.0" />
51-
<dependency id="Microsoft.EntityFrameworkCore.Tools" version="7.0.0" />
52-
<dependency id="Microsoft.Extensions.Hosting" version="7.0.0" />
53-
<dependency id="Net.RunMethodsSequentially" version="2.0.1" />
54-
<dependency id="Npgsql.EntityFrameworkCore.PostgreSQL" version="7.0.0" />
55-
<dependency id="Net.LocalizeMessagesAndErrors" version="2.0.0" />
56-
<dependency id="Microsoft.AspNetCore.Authentication.OpenIdConnect" version="7.0.0" />
57-
<dependency id="Microsoft.AspNetCore.Authorization" version="7.0.0" />
58-
<dependency id="Microsoft.AspNetCore.Http" version="2.2.2" />
59-
<dependency id="Net.DistributedFileStoreCache" version="2.0.0" />
60-
<dependency id="EntityFrameworkCore.Exceptions.PostgreSQL" version="6.0.3" />
61-
<dependency id="EntityFrameworkCore.Exceptions.Sqlite" version="6.0.3" />
62-
<dependency id="EntityFrameworkCore.Exceptions.SqlServer" version="6.0.3.1" />
63-
<dependency id="Microsoft.Extensions.Localization.Abstractions" version="7.0.0" />
64-
<dependency id="DistributedLock" version="2.3.4" />
65-
<dependency id="Microsoft.AspNetCore.Hosting" version="2.2.7" />
66-
<dependency id="Microsoft.Graph" version="4.37.0" />
67-
</group>
68-
<group targetFramework="net6.0">
69-
<dependency id="GenericServices.StatusGeneric" version="1.2.0" />
70-
<dependency id="Microsoft.AspNetCore.Identity.EntityFrameworkCore" version="6.0.11" />
71-
<dependency id="Microsoft.Data.Sqlite.Core" version="6.0.11" />
72-
<dependency id="Microsoft.EntityFrameworkCore" version="6.0.11" />
73-
<dependency id="Microsoft.EntityFrameworkCore.InMemory" version="6.0.11" />
74-
<dependency id="Microsoft.EntityFrameworkCore.Sqlite" version="6.0.11" />
75-
<dependency id="Microsoft.EntityFrameworkCore.SqlServer" version="6.0.11" />
76-
<dependency id="Microsoft.EntityFrameworkCore.Tools" version="6.0.11" />
77-
<dependency id="Microsoft.Extensions.Hosting" version="6.0.1" />
78-
<dependency id="Net.RunMethodsSequentially" version="2.0.1" />
79-
<dependency id="Npgsql.EntityFrameworkCore.PostgreSQL" version="6.0.7" />
80-
<dependency id="Net.LocalizeMessagesAndErrors" version="2.0.0" />
81-
<dependency id="Microsoft.AspNetCore.Authentication.OpenIdConnect" version="6.0.11" />
82-
<dependency id="Microsoft.AspNetCore.Authorization" version="6.0.11" />
83-
<dependency id="Microsoft.AspNetCore.Http" version="2.2.2" />
84-
<dependency id="Net.DistributedFileStoreCache" version="2.0.0" />
85-
<dependency id="EntityFrameworkCore.Exceptions.PostgreSQL" version="6.0.3" />
86-
<dependency id="EntityFrameworkCore.Exceptions.Sqlite" version="6.0.3" />
87-
<dependency id="EntityFrameworkCore.Exceptions.SqlServer" version="6.0.3.1" />
88-
<dependency id="Microsoft.Extensions.Localization.Abstractions" version="6.0.11" />
89-
<dependency id="DistributedLock" version="2.3.4" />
90-
<dependency id="Microsoft.AspNetCore.Hosting" version="2.2.7" />
91-
<dependency id="Microsoft.Graph" version="4.37.0" />
43+
<dependency id="DistributedLock" version="2.4.0" />
44+
<dependency id="Microsoft.Graph" version="4.54.0" />
9245
</group>
9346
</dependencies>
9447
</metadata>
9548
<files>
9649
<file src="..\AuthPermissions\bin\Release\net8.0\AuthPermissions.dll" target="lib\net8.0" />
9750
<file src="..\AuthPermissions\bin\Release\net8.0\AuthPermissions.xml" target="lib\net8.0" />
9851
<file src="..\AuthPermissions\bin\Release\net8.0\AuthPermissions.pdb" target="lib\net8.0" />
99-
<file src="..\AuthPermissions\bin\Release\net7.0\AuthPermissions.dll" target="lib\net7.0" />
100-
<file src="..\AuthPermissions\bin\Release\net7.0\AuthPermissions.xml" target="lib\net7.0" />
101-
<file src="..\AuthPermissions\bin\Release\net7.0\AuthPermissions.pdb" target="lib\net7.0" />
102-
<file src="..\AuthPermissions\bin\Release\net6.0\AuthPermissions.dll" target="lib\net6.0" />
103-
<file src="..\AuthPermissions\bin\Release\net6.0\AuthPermissions.xml" target="lib\net6.0" />
104-
<file src="..\AuthPermissions\bin\Release\net6.0\AuthPermissions.pdb" target="lib\net6.0" />
10552
<file src="..\AuthPermissions.AspNetCore\bin\Release\net8.0\AuthPermissions.AspNetCore.dll" target="lib\net8.0" />
10653
<file src="..\AuthPermissions.AspNetCore\bin\Release\net8.0\AuthPermissions.AspNetCore.xml" target="lib\net8.0" />
10754
<file src="..\AuthPermissions.AspNetCore\bin\Release\net8.0\AuthPermissions.AspNetCore.pdb" target="lib\net8.0" />
108-
<file src="..\AuthPermissions.AspNetCore\bin\Release\net7.0\AuthPermissions.AspNetCore.dll" target="lib\net7.0" />
109-
<file src="..\AuthPermissions.AspNetCore\bin\Release\net7.0\AuthPermissions.AspNetCore.xml" target="lib\net7.0" />
110-
<file src="..\AuthPermissions.AspNetCore\bin\Release\net7.0\AuthPermissions.AspNetCore.pdb" target="lib\net7.0" />
111-
<file src="..\AuthPermissions.AspNetCore\bin\Release\net6.0\AuthPermissions.AspNetCore.dll" target="lib\net6.0" />
112-
<file src="..\AuthPermissions.AspNetCore\bin\Release\net6.0\AuthPermissions.AspNetCore.xml" target="lib\net6.0" />
113-
<file src="..\AuthPermissions.AspNetCore\bin\Release\net6.0\AuthPermissions.AspNetCore.pdb" target="lib\net6.0" />
11455
<file src="..\AuthPermissions.BaseCode\bin\Release\net8.0\AuthPermissions.BaseCode.dll" target="lib\net8.0" />
11556
<file src="..\AuthPermissions.BaseCode\bin\Release\net8.0\AuthPermissions.BaseCode.xml" target="lib\net8.0" />
11657
<file src="..\AuthPermissions.BaseCode\bin\Release\net8.0\AuthPermissions.BaseCode.pdb" target="lib\net8.0" />
117-
<file src="..\AuthPermissions.BaseCode\bin\Release\net7.0\AuthPermissions.BaseCode.dll" target="lib\net7.0" />
118-
<file src="..\AuthPermissions.BaseCode\bin\Release\net7.0\AuthPermissions.BaseCode.xml" target="lib\net7.0" />
119-
<file src="..\AuthPermissions.BaseCode\bin\Release\net7.0\AuthPermissions.BaseCode.pdb" target="lib\net7.0" />
120-
<file src="..\AuthPermissions.BaseCode\bin\Release\net6.0\AuthPermissions.BaseCode.dll" target="lib\net6.0" />
121-
<file src="..\AuthPermissions.BaseCode\bin\Release\net6.0\AuthPermissions.BaseCode.xml" target="lib\net6.0" />
122-
<file src="..\AuthPermissions.BaseCode\bin\Release\net6.0\AuthPermissions.BaseCode.pdb" target="lib\net6.0" />
12358
<file src="..\AuthPermissions.PostgreSql\bin\Release\net8.0\AuthPermissions.PostgreSql.dll" target="lib\net8.0" />
12459
<file src="..\AuthPermissions.PostgreSql\bin\Release\net8.0\AuthPermissions.PostgreSql.xml" target="lib\net8.0" />
12560
<file src="..\AuthPermissions.PostgreSql\bin\Release\net8.0\AuthPermissions.PostgreSql.pdb" target="lib\net8.0" />
126-
<file src="..\AuthPermissions.PostgreSql\bin\Release\net7.0\AuthPermissions.PostgreSql.dll" target="lib\net7.0" />
127-
<file src="..\AuthPermissions.PostgreSql\bin\Release\net7.0\AuthPermissions.PostgreSql.xml" target="lib\net7.0" />
128-
<file src="..\AuthPermissions.PostgreSql\bin\Release\net7.0\AuthPermissions.PostgreSql.pdb" target="lib\net7.0" />
129-
<file src="..\AuthPermissions.PostgreSql\bin\Release\net6.0\AuthPermissions.PostgreSql.dll" target="lib\net6.0" />
130-
<file src="..\AuthPermissions.PostgreSql\bin\Release\net6.0\AuthPermissions.PostgreSql.xml" target="lib\net6.0" />
131-
<file src="..\AuthPermissions.PostgreSql\bin\Release\net6.0\AuthPermissions.PostgreSql.pdb" target="lib\net6.0" />
13261
<file src="..\AuthPermissions.SqlServer\bin\Release\net8.0\AuthPermissions.SqlServer.dll" target="lib\net8.0" />
13362
<file src="..\AuthPermissions.SqlServer\bin\Release\net8.0\AuthPermissions.SqlServer.pdb" target="lib\net8.0" />
134-
<file src="..\AuthPermissions.SqlServer\bin\Release\net7.0\AuthPermissions.SqlServer.dll" target="lib\net7.0" />
135-
<file src="..\AuthPermissions.SqlServer\bin\Release\net7.0\AuthPermissions.SqlServer.pdb" target="lib\net7.0" />
136-
<file src="..\AuthPermissions.SqlServer\bin\Release\net6.0\AuthPermissions.SqlServer.dll" target="lib\net6.0" />
137-
<file src="..\AuthPermissions.SqlServer\bin\Release\net6.0\AuthPermissions.SqlServer.pdb" target="lib\net6.0" />
13863
<file src="..\AuthPermissions.SupportCode\bin\Release\net8.0\AuthPermissions.SupportCode.dll" target="lib\net8.0" />
13964
<file src="..\AuthPermissions.SupportCode\bin\Release\net8.0\AuthPermissions.SupportCode.xml" target="lib\net8.0" />
14065
<file src="..\AuthPermissions.SupportCode\bin\Release\net8.0\AuthPermissions.SupportCode.pdb" target="lib\net8.0" />
141-
<file src="..\AuthPermissions.SupportCode\bin\Release\net7.0\AuthPermissions.SupportCode.dll" target="lib\net7.0" />
142-
<file src="..\AuthPermissions.SupportCode\bin\Release\net7.0\AuthPermissions.SupportCode.xml" target="lib\net7.0" />
143-
<file src="..\AuthPermissions.SupportCode\bin\Release\net7.0\AuthPermissions.SupportCode.pdb" target="lib\net7.0" />
144-
<file src="..\AuthPermissions.SupportCode\bin\Release\net6.0\AuthPermissions.SupportCode.dll" target="lib\net6.0" />
145-
<file src="..\AuthPermissions.SupportCode\bin\Release\net6.0\AuthPermissions.SupportCode.xml" target="lib\net6.0" />
146-
<file src="..\AuthPermissions.SupportCode\bin\Release\net6.0\AuthPermissions.SupportCode.pdb" target="lib\net6.0" />
14766
<file src="..\AuthPermissions.AspNetCore\images\AuthPermissionsAspNetCoreNuGetIcon.png" target="images\" />
14867
</files>
14968
</package>

AuthPermissions.AspNetCore/MultiProjPack.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- This NuGet only supports NET8 and all the examples are now using NET8
1414
- All vulnerable NuGets updated
1515
- Any depreciated NuGets removed
16+
- NOTE: uses old Microsoft.Graph version 4.?, which is still supported by Microsoft
1617
</releaseNotes>
1718
<license type="expression">MIT</license>
1819
<projectUrl>https://github.com/JonPSmith/AuthPermissions.AspNetCore</projectUrl>

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,19 @@ _See [`JonPSmith.MultiProjPack` GitHub](https://github.com/JonPSmith/MultiProgPa
3232

3333
### 1. Install the MultiProjPack dotnet tool
3434

35+
On your computer you need to install the global tool using the command below (see [this documentation](https://learn.microsoft.com/en-us/dotnet/core/tools/global-tools) to learn about global tools).
36+
3537
`dotnet tool install JonPSmith.MultiProjPack --global`
3638

37-
NOTE: To update the MultiProjPack .NET tool you need to run the command `dotnet tool update JonPSmith.MultiProjPack --global`. Or to uninstall this tool you should use `dotnet tool uninstall JonPSmith.MultiProjPack –-global` command.
39+
_NOTE: To update the MultiProjPack .NET tool you need to run the command `dotnet tool update JonPSmith.MultiProjPack --global`. Or to uninstall this tool you should use `dotnet tool uninstall JonPSmith.MultiProjPack --global` command._
3840

3941
### 2. Compile the AuthPermissions.AspNetCore in release Mode
4042

4143
You must select "Release" compile mode and then use the "Build > Rebuild Solution" to ensure a new release version of the AuthPermissions.AspNetCore is available.
4244

4345
### 3. Run the `MultiProjPack` tool to create the
4446

45-
You run the `MultiProjPack` tool from a command line in the `AuthPermissions.AspNetCore` directory. I use the "Open in Terminal" with the command below.
47+
You run the `MultiProjPack` tool from a command line in the `AuthPermissions.AspNetCore` directory. I use Visual Studio's "Open in Terminal" using the command below ("R" is short for "Release")
4648

4749
```console
4850
MultiProjPack R

0 commit comments

Comments
 (0)