Hi,
There is any known compatibility issue between RS and RBS in the security layer?
I'm trying to move the all development processes to RBS. But sometimes I need to test something in RS.
In my last test, I got the following error.
- Code was running on RBS.
- I tried to run the same code in RS but the errors are generated. (without any change)
- I retried to run in RBS.
- Errors didn't change.
- The security layer is regenerated in RS.
- Errors didn't change.
- The security layer is regenerated in RBS.
- Errors cleared.
Not tested : The files that are in the error message were not added to ignore list. This option is not tested.
dotnet: C:\Users\Administrator\source\repos\Valura_v2\server\Controllers\ApplicationUsersController.cs(94,22): error CS1061: 'ApplicationUser' does not contain a definition for 'Roles' and no accessible extension method 'Roles' accepting a first argument of type 'ApplicationUser' could be found (are you missing a using directive or an assembly reference?) [C:\Users\Administrator\source\repos\Valura_v2\server\ValuraMasterApplication.csproj]
dotnet: C:\Users\Administrator\source\repos\Valura_v2\server\Controllers\ApplicationUsersController.cs(102,75): error CS1061: 'ApplicationUser' does not contain a definition for 'Roles' and no accessible extension method 'Roles' accepting a first argument of type 'ApplicationUser' could be found (are you missing a using directive or an assembly reference?) [C:\Users\Administrator\source\repos\Valura_v2\server\ValuraMasterApplication.csproj]
C:\Users\Administrator\source\repos\Valura_v2\server\Controllers\ApplicationUsersController.cs(136,42): error CS1061: 'ApplicationUser' does not contain a definition for 'Roles' and no accessible extension method 'Roles' accepting a first argument of type 'ApplicationUser' could be found (are you missing a using directive or an assembly reference?) [C:\Users\Administrator\source\repos\Valura_v2\server\ValuraMasterApplication.csproj]
C:\Users\Administrator\source\repos\Valura_v2\server\Controllers\ApplicationUsersController.cs(138,71): error CS1061: 'ApplicationUser' does not contain a definition for 'Roles' and no accessible extension method 'Roles' accepting a first argument of type 'ApplicationUser' could be found (are you missing a using directive or an assembly reference?) [C:\Users\Administrator\source\repos\Valura_v2\server\ValuraMasterApplication.csproj]
C:\Users\Administrator\source\repos\Valura_v2\server\Services\ApplicationAuthenticationStateProvider.cs(42,51): error CS1503: Argument 1: cannot convert from 'Microsoft.AspNetCore.Components.Authorization.AuthenticationState' to 'Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider' [C:\Users\Administrator\source\repos\Valura_v2\server\ValuraMasterApplication.csproj]
C:\Users\Administrator\source\repos\Valura_v2\server\Services\ApplicationAuthenticationStateProvider.cs(51,61): error CS1061: 'SecurityService' does not contain a definition for 'GetAuthenticationStateAsync' and no accessible extension method 'GetAuthenticationStateAsync' accepting a first argument of type 'SecurityService' could be found (are you missing a using directive or an assembly reference?) [C:\Users\Administrator\source\repos\Valura_v2\server\ValuraMasterApplication.csproj]
I think that this is about my configuration, though I wanted to let you know.
A notice about the issue.
- I generally separate the database connections as data-connection and security-connection even if they are in the same database. In this case I've two separate connections for the same database with different table sets.