From 620bf88d667a4ec3946e22129156d2e78d1cfbae Mon Sep 17 00:00:00 2001 From: Damian Hickey <57436+damianh@users.noreply.github.com> Date: Tue, 15 Oct 2024 13:20:52 +0200 Subject: [PATCH] Restructure projects - Remove "Duende." prefix from project names and folders - Add and across impacted projects - Add Build project to solution. - Move all tests to a single test project - Remove .sh and .cmd build bootstrap scripts --- .github/workflows/ci.yml | 2 +- Duende.Bff.sln => Bff.sln | 240 ++++++++---------- ...Bff.sln.DotSettings => Bff.sln.DotSettings | 3 +- Duende.Bff.slnLaunch => Bff.slnLaunch | 0 Bff.v3.ncrunchsolution | 8 + build.cmd | 2 - build.sh | 3 - build/Program.cs | 10 +- migrations/UserSessionDb/UserSessionDb.csproj | 2 +- .../PerComponent.Client.csproj | 2 +- .../PerComponent/PerComponent.csproj | 6 +- .../WebAssembly.Client.csproj | 2 +- .../WebAssembly/WebAssembly.csproj | 2 +- samples/JS.Yarp/JS.Yarp.csproj | 2 +- samples/JS8.DPoP/JS8.DPoP.csproj | 2 +- samples/JS8.EF/JS8.EF.csproj | 4 +- samples/JS8/JS8.csproj | 2 +- .../AntiforgeryHandler.cs | 0 .../Bff.Blazor.Client.csproj} | 12 +- .../BffBlazorOptions.cs | 0 .../BffClientAuthenticationStateProvider.cs | 0 .../Internals/GetUserService.cs | 0 .../Internals/IGetUserService.cs | 0 .../Internals/IPersistentUserService.cs | 0 .../Internals/PersistentUserService.cs | 0 .../ServiceCollectionExtensions.cs | 0 .../Bff.Blazor.csproj} | 6 +- .../BffBuilderExtensions.cs | 0 .../BffServerAuthenticationStateProvider.cs | 0 .../CaptureManagementClaimsCookieEvents.cs | 0 .../ServerSideTokenStore.cs | 0 .../Bff.EntityFramework.csproj} | 4 +- .../Configuration/BffBuilderExtensions.cs | 0 .../Configuration/SessionStoreOptions.cs | 0 .../Configuration/TableConfiguration.cs | 0 .../Database/ISessionDbContext.cs | 0 .../Database/ModelBuilderExtensions.cs | 0 .../Database/SessionDbContext.cs | 0 .../Database/UserSessionEntity.cs | 0 .../Store/UserSessionStore.cs | 0 .../AccessTokenRequestTransform.cs | 0 .../AccessTokenTransformProvider.cs | 0 .../ActivityPropagationHandler.cs | 0 .../AntiforgeryMiddleware.cs | 0 .../Bff.Yarp.csproj} | 4 +- .../BffBuilderExtensions.cs | 0 .../BffYarpEndpointRouteBuilderExtensions.cs | 0 .../DefaultHttpMessageInvokerFactory.cs | 0 .../DefaultHttpTransformerFactory.cs | 0 .../IHttpMessageInvokerFactory.cs | 0 .../IHttpTransformerFactory.cs | 0 src/{Duende.Bff.Yarp => Bff.Yarp}/Log.cs | 0 .../ProxyAppBuilderExtensions.cs | 0 .../ProxyConfigExtensions.cs | 0 .../RemoteApiEndpoint.cs | 0 .../ReverseProxyBuilderExtensions.cs | 0 ...roxyEndpointConventionBuilderExtensions.cs | 0 src/{Duende.Bff => Bff}/Attributes.cs | 0 .../Duende.Bff.csproj => Bff/Bff.csproj} | 6 +- .../BffApplicationBuilderExtensions.cs | 0 .../Configuration/BffBuilder.cs | 0 .../BffEndpointRouteBuilderExtensions.cs | 0 .../Configuration/BffOptions.cs | 0 .../BffRemoteApiEndpointExtensions.cs | 0 .../BffRemoteApiEndpointMetadata.cs | 0 .../BffServiceCollectionExtensions.cs | 0 .../Configuration/Decorator.cs | 0 .../EndpointConventionBuilderExtensions.cs | 0 .../ConfigureUserTokenManagmentOptions.cs | 0 src/{Duende.Bff => Bff}/Constants.cs | 0 .../EndpointProcessing/BffApiAttribute.cs | 0 .../BffApiSkipAntiforgeryAttribute.cs | 0 .../BffApiSkipResponseHandlingAttribute.cs | 0 .../BffAuthenticationService.cs | 0 .../EndpointProcessing/BffMiddleware.cs | 0 .../BffUIEndpointAttribute.cs | 0 .../BffUserAccessTokenParameters.cs | 0 .../EndpointProcessing/IBffApiEndpoint.cs | 0 .../IBffApiSkipAntiforgery.cs | 0 .../IBffApiSkipResponseHandling.cs | 0 .../DefaultBackchannelLogoutService.cs | 0 .../IBackchannelLogoutService.cs | 0 .../Diagnostics/DefaultDiagnosticsService.cs | 0 .../Diagnostics/IDiagnosticsService.cs | 0 .../EndpointServices/IBffEndpointService.cs | 0 .../Login/DefaultLoginService.cs | 0 .../EndpointServices/Login/ILoginService.cs | 0 .../Logout/DefaultLogoutService.cs | 0 .../EndpointServices/Logout/ILogoutService.cs | 0 .../SilentLogin/BffOpenIdConnectEvents.cs | 0 .../DefaultSilentLoginCallbackService.cs | 0 .../SilentLogin/DefaultSilentLoginService.cs | 0 .../ISilentLoginCallbackService.cs | 0 .../SilentLogin/ISilentLoginService.cs | 0 .../PostConfigureOidcOptionsForSilentLogin.cs | 0 .../User/DefaultClaimsService.cs | 0 .../User/DefaultUserService.cs | 0 .../EndpointServices/User/IClaimsService.cs | 0 .../EndpointServices/User/IUserService.cs | 0 .../AuthenticationPropertiesExtensions.cs | 0 .../AuthenticationTicketExtensions.cs | 0 .../Extensions/HttpContextExtensions.cs | 0 .../General/AccessTokenResult.cs | 0 .../General/AccessTokenRetreivalContext.cs | 0 .../General/AccessTokenRetrievalError.cs | 0 .../General/BearerTokenResult.cs | 0 .../General/DPoPTokenResult.cs | 0 .../General/DefaultAccessTokenRetriever.cs | 0 .../General/IAccessTokenRetriever.cs | 0 .../General/IReturnUrlValidator.cs | 0 .../General/LocalUrlReturnUrlValidator.cs | 0 src/{Duende.Bff => Bff}/General/Log.cs | 0 .../General/NoAccessTokenResult.cs | 0 src/{Duende.Bff => Bff}/General/TokenType.cs | 0 src/{Duende.Bff => Bff}/IsExternalInit.cs | 0 src/{Duende.Bff => Bff}/Licensing/License.cs | 0 .../Licensing/LicenseValidator.cs | 0 .../Licensing/LicenseValidatorLocal.cs | 0 ...gureApplicationCookieRevokeRefreshToken.cs | 0 ...stConfigureApplicationCookieTicketStore.cs | 0 ...stConfigureApplicationValidatePrincipal.cs | 0 .../PostConfigureSlidingExpirationCheck.cs | 0 .../Revocation/ISessionRevocationService.cs | 0 .../Revocation/NopSessionRevocationService.cs | 0 .../Revocation/SessionRevocationService.cs | 0 .../SessionStore/IUserSessionStore.cs | 0 .../SessionStore/IUserSessionStoreCleanup.cs | 0 .../SessionStore/InMemoryUserSessionStore.cs | 0 .../SessionStore/SessionCleanupHost.cs | 0 .../SessionStore/UserSession.cs | 0 .../SessionStore/UserSessionUpdate.cs | 0 .../SessionStore/UserSessionsFilter.cs | 0 .../TicketStore/IServerTicketStore.cs | 0 .../TicketStore/ServerSideTicketStore.cs | 0 .../TicketStore/TicketStoreShim.cs | 0 src/{Duende.Bff => Bff}/Shared/ClaimLite.cs | 0 .../Shared/ClaimsLiteExtensions.cs | 0 .../Shared/ClaimsPrincipalLite.cs | 0 .../Bff.Tests.csproj} | 19 +- .../Blazor/Client}/AntiforgeryHandlerTests.cs | 0 ...fClientAuthenticationStateProviderTests.cs | 0 .../Blazor/Client}/GetUserServiceTests.cs | 0 .../ServiceCollectionExtensionsTests.cs | 0 .../Blazor/Client}/TestMocks.cs | 0 .../Blazor}/ServerSideTokenStoreTests.cs | 1 + .../Endpoints/LocalEndpointTests.cs | 0 .../BackchannelLogoutEndpointTests.cs | 0 .../Management/LoginEndpointTests.cs | 0 .../Management/LogoutEndpointTests.cs | 0 .../Management/ManagementBasePathTests.cs | 0 .../Endpoints/Management/UserEndpointTests.cs | 0 .../Endpoints/RemoteEndpointTests.cs | 0 .../Endpoints/YarpRemoteEndpointTests.cs | 0 .../EntityFramework}/UserSessionStoreTests.cs | 0 .../GenericHostTests.cs | 0 .../Headers/ApiAndBffUseForwardedHeaders.cs | 0 .../Headers/ApiUseForwardedHeaders.cs | 0 .../Headers/General.cs | 0 .../Properties/launchSettings.json | 0 .../SessionManagement/CookieSlidingTests.cs | 0 .../RevokeRefreshTokenTests.cs | 0 .../ServerSideTicketStoreTests.cs | 0 .../TestFramework/ApiResponse.cs | 0 .../TestFramework/GenericHost.cs | 0 .../TestFramework/MockClock.cs | 0 .../MockExternalAuthenticationHandler.cs | 0 .../MockSessionRevocationService.cs | 0 .../TestFramework/Records.cs | 0 .../TestFramework/TestBrowserClient.cs | 0 .../TestFramework/TestLoggerProvider.cs | 0 .../TestFramework/TestPayload.cs | 0 .../TestHosts/ApiHost.cs | 0 .../TestHosts/BffHost.cs | 0 .../BffHostUsingResourceNamedTokens.cs | 0 .../TestHosts/BffIntegrationTestBase.cs | 0 .../TestHosts/FailureAccessTokenRetriever.cs | 0 .../TestHosts/IdentityServerHost.cs | 0 .../TestHosts/TestAccessTokenRetriever.cs | 0 .../TestHosts/YarpBffHost.cs | 0 .../TestHosts/YarpBffIntegrationTestBase.cs | 0 .../Duende.Bff.Blazor.Client.UnitTests.csproj | 30 --- .../Duende.Bff.Blazor.UnitTests.csproj | 29 --- .../Duende.Bff.EntityFramework.Tests.csproj | 26 -- 183 files changed, 170 insertions(+), 259 deletions(-) rename Duende.Bff.sln => Bff.sln (66%) rename Duende.Bff.sln.DotSettings => Bff.sln.DotSettings (65%) rename Duende.Bff.slnLaunch => Bff.slnLaunch (100%) create mode 100644 Bff.v3.ncrunchsolution delete mode 100644 build.cmd delete mode 100755 build.sh rename src/{Duende.Bff.Blazor.Client => Bff.Blazor.Client}/AntiforgeryHandler.cs (100%) rename src/{Duende.Bff.Blazor.Client/Duende.Bff.Blazor.Client.csproj => Bff.Blazor.Client/Bff.Blazor.Client.csproj} (57%) rename src/{Duende.Bff.Blazor.Client => Bff.Blazor.Client}/BffBlazorOptions.cs (100%) rename src/{Duende.Bff.Blazor.Client => Bff.Blazor.Client}/BffClientAuthenticationStateProvider.cs (100%) rename src/{Duende.Bff.Blazor.Client => Bff.Blazor.Client}/Internals/GetUserService.cs (100%) rename src/{Duende.Bff.Blazor.Client => Bff.Blazor.Client}/Internals/IGetUserService.cs (100%) rename src/{Duende.Bff.Blazor.Client => Bff.Blazor.Client}/Internals/IPersistentUserService.cs (100%) rename src/{Duende.Bff.Blazor.Client => Bff.Blazor.Client}/Internals/PersistentUserService.cs (100%) rename src/{Duende.Bff.Blazor.Client => Bff.Blazor.Client}/ServiceCollectionExtensions.cs (100%) rename src/{Duende.Bff.Blazor/Duende.Bff.Blazor.csproj => Bff.Blazor/Bff.Blazor.csproj} (50%) rename src/{Duende.Bff.Blazor => Bff.Blazor}/BffBuilderExtensions.cs (100%) rename src/{Duende.Bff.Blazor => Bff.Blazor}/BffServerAuthenticationStateProvider.cs (100%) rename src/{Duende.Bff.Blazor => Bff.Blazor}/CaptureManagementClaimsCookieEvents.cs (100%) rename src/{Duende.Bff.Blazor => Bff.Blazor}/ServerSideTokenStore.cs (100%) rename src/{Duende.Bff.EntityFramework/Duende.Bff.EntityFramework.csproj => Bff.EntityFramework/Bff.EntityFramework.csproj} (81%) rename src/{Duende.Bff.EntityFramework => Bff.EntityFramework}/Configuration/BffBuilderExtensions.cs (100%) rename src/{Duende.Bff.EntityFramework => Bff.EntityFramework}/Configuration/SessionStoreOptions.cs (100%) rename src/{Duende.Bff.EntityFramework => Bff.EntityFramework}/Configuration/TableConfiguration.cs (100%) rename src/{Duende.Bff.EntityFramework => Bff.EntityFramework}/Database/ISessionDbContext.cs (100%) rename src/{Duende.Bff.EntityFramework => Bff.EntityFramework}/Database/ModelBuilderExtensions.cs (100%) rename src/{Duende.Bff.EntityFramework => Bff.EntityFramework}/Database/SessionDbContext.cs (100%) rename src/{Duende.Bff.EntityFramework => Bff.EntityFramework}/Database/UserSessionEntity.cs (100%) rename src/{Duende.Bff.EntityFramework => Bff.EntityFramework}/Store/UserSessionStore.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/AccessTokenRequestTransform.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/AccessTokenTransformProvider.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/ActivityPropagationHandler.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/AntiforgeryMiddleware.cs (100%) rename src/{Duende.Bff.Yarp/Duende.Bff.Yarp.csproj => Bff.Yarp/Bff.Yarp.csproj} (83%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/BffBuilderExtensions.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/BffYarpEndpointRouteBuilderExtensions.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/DefaultHttpMessageInvokerFactory.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/DefaultHttpTransformerFactory.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/IHttpMessageInvokerFactory.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/IHttpTransformerFactory.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/Log.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/ProxyAppBuilderExtensions.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/ProxyConfigExtensions.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/RemoteApiEndpoint.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/ReverseProxyBuilderExtensions.cs (100%) rename src/{Duende.Bff.Yarp => Bff.Yarp}/ReverseProxyEndpointConventionBuilderExtensions.cs (100%) rename src/{Duende.Bff => Bff}/Attributes.cs (100%) rename src/{Duende.Bff/Duende.Bff.csproj => Bff/Bff.csproj} (80%) rename src/{Duende.Bff => Bff}/Configuration/BffApplicationBuilderExtensions.cs (100%) rename src/{Duende.Bff => Bff}/Configuration/BffBuilder.cs (100%) rename src/{Duende.Bff => Bff}/Configuration/BffEndpointRouteBuilderExtensions.cs (100%) rename src/{Duende.Bff => Bff}/Configuration/BffOptions.cs (100%) rename src/{Duende.Bff => Bff}/Configuration/BffRemoteApiEndpointExtensions.cs (100%) rename src/{Duende.Bff => Bff}/Configuration/BffRemoteApiEndpointMetadata.cs (100%) rename src/{Duende.Bff => Bff}/Configuration/BffServiceCollectionExtensions.cs (100%) rename src/{Duende.Bff => Bff}/Configuration/Decorator.cs (100%) rename src/{Duende.Bff => Bff}/Configuration/EndpointConventionBuilderExtensions.cs (100%) rename src/{Duende.Bff => Bff}/ConfigureUserTokenManagmentOptions.cs (100%) rename src/{Duende.Bff => Bff}/Constants.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/BffApiAttribute.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/BffApiSkipAntiforgeryAttribute.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/BffApiSkipResponseHandlingAttribute.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/BffAuthenticationService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/BffMiddleware.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/BffUIEndpointAttribute.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/BffUserAccessTokenParameters.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/IBffApiEndpoint.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/IBffApiSkipAntiforgery.cs (100%) rename src/{Duende.Bff => Bff}/EndpointProcessing/IBffApiSkipResponseHandling.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/BackchannelLogout/DefaultBackchannelLogoutService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/BackchannelLogout/IBackchannelLogoutService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/Diagnostics/DefaultDiagnosticsService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/Diagnostics/IDiagnosticsService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/IBffEndpointService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/Login/DefaultLoginService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/Login/ILoginService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/Logout/DefaultLogoutService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/Logout/ILogoutService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/SilentLogin/BffOpenIdConnectEvents.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/SilentLogin/DefaultSilentLoginCallbackService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/SilentLogin/DefaultSilentLoginService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/SilentLogin/ISilentLoginCallbackService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/SilentLogin/ISilentLoginService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/SilentLogin/PostConfigureOidcOptionsForSilentLogin.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/User/DefaultClaimsService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/User/DefaultUserService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/User/IClaimsService.cs (100%) rename src/{Duende.Bff => Bff}/EndpointServices/User/IUserService.cs (100%) rename src/{Duende.Bff => Bff}/Extensions/AuthenticationPropertiesExtensions.cs (100%) rename src/{Duende.Bff => Bff}/Extensions/AuthenticationTicketExtensions.cs (100%) rename src/{Duende.Bff => Bff}/Extensions/HttpContextExtensions.cs (100%) rename src/{Duende.Bff => Bff}/General/AccessTokenResult.cs (100%) rename src/{Duende.Bff => Bff}/General/AccessTokenRetreivalContext.cs (100%) rename src/{Duende.Bff => Bff}/General/AccessTokenRetrievalError.cs (100%) rename src/{Duende.Bff => Bff}/General/BearerTokenResult.cs (100%) rename src/{Duende.Bff => Bff}/General/DPoPTokenResult.cs (100%) rename src/{Duende.Bff => Bff}/General/DefaultAccessTokenRetriever.cs (100%) rename src/{Duende.Bff => Bff}/General/IAccessTokenRetriever.cs (100%) rename src/{Duende.Bff => Bff}/General/IReturnUrlValidator.cs (100%) rename src/{Duende.Bff => Bff}/General/LocalUrlReturnUrlValidator.cs (100%) rename src/{Duende.Bff => Bff}/General/Log.cs (100%) rename src/{Duende.Bff => Bff}/General/NoAccessTokenResult.cs (100%) rename src/{Duende.Bff => Bff}/General/TokenType.cs (100%) rename src/{Duende.Bff => Bff}/IsExternalInit.cs (100%) rename src/{Duende.Bff => Bff}/Licensing/License.cs (100%) rename src/{Duende.Bff => Bff}/Licensing/LicenseValidator.cs (100%) rename src/{Duende.Bff => Bff}/Licensing/LicenseValidatorLocal.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/Configuration/PostConfigureApplicationCookieRevokeRefreshToken.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/Configuration/PostConfigureApplicationCookieTicketStore.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/Configuration/PostConfigureApplicationValidatePrincipal.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/Configuration/PostConfigureSlidingExpirationCheck.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/Revocation/ISessionRevocationService.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/Revocation/NopSessionRevocationService.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/Revocation/SessionRevocationService.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/SessionStore/IUserSessionStore.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/SessionStore/IUserSessionStoreCleanup.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/SessionStore/InMemoryUserSessionStore.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/SessionStore/SessionCleanupHost.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/SessionStore/UserSession.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/SessionStore/UserSessionUpdate.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/SessionStore/UserSessionsFilter.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/TicketStore/IServerTicketStore.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/TicketStore/ServerSideTicketStore.cs (100%) rename src/{Duende.Bff => Bff}/SessionManagement/TicketStore/TicketStoreShim.cs (100%) rename src/{Duende.Bff => Bff}/Shared/ClaimLite.cs (100%) rename src/{Duende.Bff => Bff}/Shared/ClaimsLiteExtensions.cs (100%) rename src/{Duende.Bff => Bff}/Shared/ClaimsPrincipalLite.cs (100%) rename test/{Duende.Bff.Tests/Duende.Bff.Tests.csproj => Bff.Tests/Bff.Tests.csproj} (58%) rename test/{Duende.Bff.Blazor.Client.UnitTests => Bff.Tests/Blazor/Client}/AntiforgeryHandlerTests.cs (100%) rename test/{Duende.Bff.Blazor.Client.UnitTests => Bff.Tests/Blazor/Client}/BffClientAuthenticationStateProviderTests.cs (100%) rename test/{Duende.Bff.Blazor.Client.UnitTests => Bff.Tests/Blazor/Client}/GetUserServiceTests.cs (100%) rename test/{Duende.Bff.Blazor.Client.UnitTests => Bff.Tests/Blazor/Client}/ServiceCollectionExtensionsTests.cs (100%) rename test/{Duende.Bff.Blazor.Client.UnitTests => Bff.Tests/Blazor/Client}/TestMocks.cs (100%) rename test/{Duende.Bff.Blazor.UnitTests => Bff.Tests/Blazor}/ServerSideTokenStoreTests.cs (99%) rename test/{Duende.Bff.Tests => Bff.Tests}/Endpoints/LocalEndpointTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Endpoints/Management/BackchannelLogoutEndpointTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Endpoints/Management/LoginEndpointTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Endpoints/Management/LogoutEndpointTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Endpoints/Management/ManagementBasePathTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Endpoints/Management/UserEndpointTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Endpoints/RemoteEndpointTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Endpoints/YarpRemoteEndpointTests.cs (100%) rename test/{Duende.Bff.EntityFramework.Tests => Bff.Tests/EntityFramework}/UserSessionStoreTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/GenericHostTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Headers/ApiAndBffUseForwardedHeaders.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Headers/ApiUseForwardedHeaders.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Headers/General.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/Properties/launchSettings.json (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/SessionManagement/CookieSlidingTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/SessionManagement/RevokeRefreshTokenTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/SessionManagement/ServerSideTicketStoreTests.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestFramework/ApiResponse.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestFramework/GenericHost.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestFramework/MockClock.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestFramework/MockExternalAuthenticationHandler.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestFramework/MockSessionRevocationService.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestFramework/Records.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestFramework/TestBrowserClient.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestFramework/TestLoggerProvider.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestFramework/TestPayload.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestHosts/ApiHost.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestHosts/BffHost.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestHosts/BffHostUsingResourceNamedTokens.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestHosts/BffIntegrationTestBase.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestHosts/FailureAccessTokenRetriever.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestHosts/IdentityServerHost.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestHosts/TestAccessTokenRetriever.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestHosts/YarpBffHost.cs (100%) rename test/{Duende.Bff.Tests => Bff.Tests}/TestHosts/YarpBffIntegrationTestBase.cs (100%) delete mode 100644 test/Duende.Bff.Blazor.Client.UnitTests/Duende.Bff.Blazor.Client.UnitTests.csproj delete mode 100644 test/Duende.Bff.Blazor.UnitTests/Duende.Bff.Blazor.UnitTests.csproj delete mode 100644 test/Duende.Bff.EntityFramework.Tests/Duende.Bff.EntityFramework.Tests.csproj diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca7e4de2..a6cfb53f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: - run: dotnet --info - if: contains(matrix.runs-on, 'macOS') || contains(matrix.runs-on, 'ubuntu') - run: ./build.sh + run: ./build.ps1 - if: matrix.runs-on == 'windows-latest' && github.ref != 'refs/heads/main' && !contains(github.ref, 'refs/tags/') run: ./build.ps1 - if: (matrix.runs-on == 'windows-latest') && (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/')) diff --git a/Duende.Bff.sln b/Bff.sln similarity index 66% rename from Duende.Bff.sln rename to Bff.sln index 9afb7dec..fff6cf20 100644 --- a/Duende.Bff.sln +++ b/Bff.sln @@ -1,10 +1,8 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# 17 +# Visual Studio Version 17 VisualStudioVersion = 17.9.34414.90 MinimumVisualStudioVersion = 15.0.26124.0 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Duende.Bff", "src\Duende.Bff\Duende.Bff.csproj", "{63FD9C99-C538-44BF-9AD4-D892775E336B}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{3C549079-A502-4B40-B051-5278915AE91B}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{E14F66D1-EA3E-40C6-835A-91A4382D4646}" @@ -13,30 +11,18 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IdentityServer", "samples\I EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{B2A776DB-385B-4AD4-96A5-61746FD909C3}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Duende.Bff.Tests", "test\Duende.Bff.Tests\Duende.Bff.Tests.csproj", "{FB30F557-D861-428B-A05D-49AE57F00EA4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Duende.Bff.EntityFramework", "src\Duende.Bff.EntityFramework\Duende.Bff.EntityFramework.csproj", "{8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Duende.Bff.EntityFramework.Tests", "test\Duende.Bff.EntityFramework.Tests\Duende.Bff.EntityFramework.Tests.csproj", "{93B5A99A-B7D8-4412-A801-BE6572157CFA}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "migrations", "migrations", "{439382D9-7230-4AD0-A82F-956020041BDD}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UserSessionDb", "migrations\UserSessionDb\UserSessionDb.csproj", "{F01EA18D-DAA2-41A3-B6B4-5F7B185C3525}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JS.Yarp", "samples\JS.Yarp\JS.Yarp.csproj", "{7ACD3916-576B-4C5F-B2A9-4617535E95ED}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Duende.Bff.Yarp", "src\Duende.Bff.Yarp\Duende.Bff.Yarp.csproj", "{E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JS8", "samples\JS8\JS8.csproj", "{B37CA136-3F20-4D8A-9677-E3A9C9D893EF}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JS8.DPoP", "samples\JS8.DPoP\JS8.DPoP.csproj", "{D8757F0F-254E-495F-961F-0192F8C97E3F}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JS8.EF", "samples\JS8.EF\JS8.EF.csproj", "{CBB98134-92F5-487D-8CA3-84C19FF46775}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Duende.Bff.Blazor", "src\Duende.Bff.Blazor\Duende.Bff.Blazor.csproj", "{E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Duende.Bff.Blazor.Client", "src\Duende.Bff.Blazor.Client\Duende.Bff.Blazor.Client.csproj", "{DDB9C401-6B1F-4727-A4CB-932034FBF94E}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Apis", "Apis", "{9C2A66C4-D695-4159-9F80-8BCE03303758}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Api", "samples\Apis\Api\Api.csproj", "{E6D2B82A-023E-4B8C-9E21-B924C9C918AD}" @@ -59,9 +45,21 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PerComponent", "samples\Bla EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PerComponent.Client", "samples\Blazor\PerComponent\PerComponent.Client\PerComponent.Client.csproj", "{40EDC041-C262-414C-B374-631BF2D1BD97}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Duende.Bff.Blazor.Client.UnitTests", "test\Duende.Bff.Blazor.Client.UnitTests\Duende.Bff.Blazor.Client.UnitTests.csproj", "{001840D4-8B83-4A8C-AF2C-5429D4F9A370}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bff", "src\Bff\Bff.csproj", "{D99411E3-6A3A-4C90-803A-FB5396DC2AA8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bff.Blazor", "src\Bff.Blazor\Bff.Blazor.csproj", "{D7E7653C-4524-46DE-9A70-7F60C5CB3418}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bff.Blazor.Client", "src\Bff.Blazor.Client\Bff.Blazor.Client.csproj", "{251B3EBA-78E5-410D-8287-1C715CBDF884}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bff.EntityFramework", "src\Bff.EntityFramework\Bff.EntityFramework.csproj", "{6CE4A43D-0736-44FA-8A11-35B668C83CAF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bff.Yarp", "src\Bff.Yarp\Bff.Yarp.csproj", "{96050DA7-378F-482B-9154-BDC8972C7B33}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bff.Tests", "test\Bff.Tests\Bff.Tests.csproj", "{FA3D63B3-29FE-4A0D-944F-C877F6DCC808}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{EE90B5D1-6B69-439C-92A1-667E64CEF848}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Duende.Bff.Blazor.UnitTests", "test\Duende.Bff.Blazor.UnitTests\Duende.Bff.Blazor.UnitTests.csproj", "{2A04808A-A06C-4F10-87B9-2D12E065F729}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "build", "build\build.csproj", "{5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -73,18 +71,6 @@ Global Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Debug|x64.ActiveCfg = Debug|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Debug|x64.Build.0 = Debug|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Debug|x86.ActiveCfg = Debug|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Debug|x86.Build.0 = Debug|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Release|Any CPU.Build.0 = Release|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Release|x64.ActiveCfg = Release|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Release|x64.Build.0 = Release|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Release|x86.ActiveCfg = Release|Any CPU - {63FD9C99-C538-44BF-9AD4-D892775E336B}.Release|x86.Build.0 = Release|Any CPU {CE1159B9-F763-4C32-828A-77529A820415}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {CE1159B9-F763-4C32-828A-77529A820415}.Debug|Any CPU.Build.0 = Debug|Any CPU {CE1159B9-F763-4C32-828A-77529A820415}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -97,42 +83,6 @@ Global {CE1159B9-F763-4C32-828A-77529A820415}.Release|x64.Build.0 = Release|Any CPU {CE1159B9-F763-4C32-828A-77529A820415}.Release|x86.ActiveCfg = Release|Any CPU {CE1159B9-F763-4C32-828A-77529A820415}.Release|x86.Build.0 = Release|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Debug|x64.ActiveCfg = Debug|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Debug|x64.Build.0 = Debug|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Debug|x86.ActiveCfg = Debug|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Debug|x86.Build.0 = Debug|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Release|Any CPU.Build.0 = Release|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Release|x64.ActiveCfg = Release|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Release|x64.Build.0 = Release|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Release|x86.ActiveCfg = Release|Any CPU - {FB30F557-D861-428B-A05D-49AE57F00EA4}.Release|x86.Build.0 = Release|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Debug|x64.ActiveCfg = Debug|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Debug|x64.Build.0 = Debug|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Debug|x86.ActiveCfg = Debug|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Debug|x86.Build.0 = Debug|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Release|Any CPU.Build.0 = Release|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Release|x64.ActiveCfg = Release|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Release|x64.Build.0 = Release|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Release|x86.ActiveCfg = Release|Any CPU - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A}.Release|x86.Build.0 = Release|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Debug|x64.ActiveCfg = Debug|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Debug|x64.Build.0 = Debug|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Debug|x86.ActiveCfg = Debug|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Debug|x86.Build.0 = Debug|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Release|Any CPU.Build.0 = Release|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Release|x64.ActiveCfg = Release|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Release|x64.Build.0 = Release|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Release|x86.ActiveCfg = Release|Any CPU - {93B5A99A-B7D8-4412-A801-BE6572157CFA}.Release|x86.Build.0 = Release|Any CPU {F01EA18D-DAA2-41A3-B6B4-5F7B185C3525}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F01EA18D-DAA2-41A3-B6B4-5F7B185C3525}.Debug|Any CPU.Build.0 = Debug|Any CPU {F01EA18D-DAA2-41A3-B6B4-5F7B185C3525}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -157,18 +107,6 @@ Global {7ACD3916-576B-4C5F-B2A9-4617535E95ED}.Release|x64.Build.0 = Release|Any CPU {7ACD3916-576B-4C5F-B2A9-4617535E95ED}.Release|x86.ActiveCfg = Release|Any CPU {7ACD3916-576B-4C5F-B2A9-4617535E95ED}.Release|x86.Build.0 = Release|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Debug|x64.ActiveCfg = Debug|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Debug|x64.Build.0 = Debug|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Debug|x86.ActiveCfg = Debug|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Debug|x86.Build.0 = Debug|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Release|Any CPU.Build.0 = Release|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Release|x64.ActiveCfg = Release|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Release|x64.Build.0 = Release|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Release|x86.ActiveCfg = Release|Any CPU - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4}.Release|x86.Build.0 = Release|Any CPU {B37CA136-3F20-4D8A-9677-E3A9C9D893EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B37CA136-3F20-4D8A-9677-E3A9C9D893EF}.Debug|Any CPU.Build.0 = Debug|Any CPU {B37CA136-3F20-4D8A-9677-E3A9C9D893EF}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -205,30 +143,6 @@ Global {CBB98134-92F5-487D-8CA3-84C19FF46775}.Release|x64.Build.0 = Release|Any CPU {CBB98134-92F5-487D-8CA3-84C19FF46775}.Release|x86.ActiveCfg = Release|Any CPU {CBB98134-92F5-487D-8CA3-84C19FF46775}.Release|x86.Build.0 = Release|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Debug|x64.ActiveCfg = Debug|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Debug|x64.Build.0 = Debug|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Debug|x86.ActiveCfg = Debug|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Debug|x86.Build.0 = Debug|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Release|Any CPU.Build.0 = Release|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Release|x64.ActiveCfg = Release|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Release|x64.Build.0 = Release|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Release|x86.ActiveCfg = Release|Any CPU - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84}.Release|x86.Build.0 = Release|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Debug|x64.ActiveCfg = Debug|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Debug|x64.Build.0 = Debug|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Debug|x86.ActiveCfg = Debug|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Debug|x86.Build.0 = Debug|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Release|Any CPU.Build.0 = Release|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Release|x64.ActiveCfg = Release|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Release|x64.Build.0 = Release|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Release|x86.ActiveCfg = Release|Any CPU - {DDB9C401-6B1F-4727-A4CB-932034FBF94E}.Release|x86.Build.0 = Release|Any CPU {E6D2B82A-023E-4B8C-9E21-B924C9C918AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E6D2B82A-023E-4B8C-9E21-B924C9C918AD}.Debug|Any CPU.Build.0 = Debug|Any CPU {E6D2B82A-023E-4B8C-9E21-B924C9C918AD}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -313,48 +227,101 @@ Global {40EDC041-C262-414C-B374-631BF2D1BD97}.Release|x64.Build.0 = Release|Any CPU {40EDC041-C262-414C-B374-631BF2D1BD97}.Release|x86.ActiveCfg = Release|Any CPU {40EDC041-C262-414C-B374-631BF2D1BD97}.Release|x86.Build.0 = Release|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Debug|Any CPU.Build.0 = Debug|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Debug|x64.ActiveCfg = Debug|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Debug|x64.Build.0 = Debug|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Debug|x86.ActiveCfg = Debug|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Debug|x86.Build.0 = Debug|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Release|Any CPU.ActiveCfg = Release|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Release|Any CPU.Build.0 = Release|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Release|x64.ActiveCfg = Release|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Release|x64.Build.0 = Release|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Release|x86.ActiveCfg = Release|Any CPU - {001840D4-8B83-4A8C-AF2C-5429D4F9A370}.Release|x86.Build.0 = Release|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Debug|x64.ActiveCfg = Debug|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Debug|x64.Build.0 = Debug|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Debug|x86.ActiveCfg = Debug|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Debug|x86.Build.0 = Debug|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Release|Any CPU.Build.0 = Release|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Release|x64.ActiveCfg = Release|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Release|x64.Build.0 = Release|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Release|x86.ActiveCfg = Release|Any CPU - {2A04808A-A06C-4F10-87B9-2D12E065F729}.Release|x86.Build.0 = Release|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Debug|x64.ActiveCfg = Debug|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Debug|x64.Build.0 = Debug|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Debug|x86.ActiveCfg = Debug|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Debug|x86.Build.0 = Debug|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Release|Any CPU.Build.0 = Release|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Release|x64.ActiveCfg = Release|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Release|x64.Build.0 = Release|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Release|x86.ActiveCfg = Release|Any CPU + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8}.Release|x86.Build.0 = Release|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Debug|x64.ActiveCfg = Debug|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Debug|x64.Build.0 = Debug|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Debug|x86.ActiveCfg = Debug|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Debug|x86.Build.0 = Debug|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Release|Any CPU.Build.0 = Release|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Release|x64.ActiveCfg = Release|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Release|x64.Build.0 = Release|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Release|x86.ActiveCfg = Release|Any CPU + {D7E7653C-4524-46DE-9A70-7F60C5CB3418}.Release|x86.Build.0 = Release|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Debug|Any CPU.Build.0 = Debug|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Debug|x64.ActiveCfg = Debug|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Debug|x64.Build.0 = Debug|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Debug|x86.ActiveCfg = Debug|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Debug|x86.Build.0 = Debug|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Release|Any CPU.ActiveCfg = Release|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Release|Any CPU.Build.0 = Release|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Release|x64.ActiveCfg = Release|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Release|x64.Build.0 = Release|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Release|x86.ActiveCfg = Release|Any CPU + {251B3EBA-78E5-410D-8287-1C715CBDF884}.Release|x86.Build.0 = Release|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Debug|x64.ActiveCfg = Debug|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Debug|x64.Build.0 = Debug|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Debug|x86.ActiveCfg = Debug|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Debug|x86.Build.0 = Debug|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Release|Any CPU.Build.0 = Release|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Release|x64.ActiveCfg = Release|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Release|x64.Build.0 = Release|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Release|x86.ActiveCfg = Release|Any CPU + {6CE4A43D-0736-44FA-8A11-35B668C83CAF}.Release|x86.Build.0 = Release|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Debug|Any CPU.Build.0 = Debug|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Debug|x64.ActiveCfg = Debug|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Debug|x64.Build.0 = Debug|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Debug|x86.ActiveCfg = Debug|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Debug|x86.Build.0 = Debug|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Release|Any CPU.ActiveCfg = Release|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Release|Any CPU.Build.0 = Release|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Release|x64.ActiveCfg = Release|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Release|x64.Build.0 = Release|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Release|x86.ActiveCfg = Release|Any CPU + {96050DA7-378F-482B-9154-BDC8972C7B33}.Release|x86.Build.0 = Release|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Debug|x64.ActiveCfg = Debug|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Debug|x64.Build.0 = Debug|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Debug|x86.ActiveCfg = Debug|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Debug|x86.Build.0 = Debug|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Release|Any CPU.Build.0 = Release|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Release|x64.ActiveCfg = Release|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Release|x64.Build.0 = Release|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Release|x86.ActiveCfg = Release|Any CPU + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808}.Release|x86.Build.0 = Release|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Debug|x64.ActiveCfg = Debug|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Debug|x64.Build.0 = Debug|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Debug|x86.ActiveCfg = Debug|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Debug|x86.Build.0 = Debug|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Release|Any CPU.Build.0 = Release|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Release|x64.ActiveCfg = Release|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Release|x64.Build.0 = Release|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Release|x86.ActiveCfg = Release|Any CPU + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution - {63FD9C99-C538-44BF-9AD4-D892775E336B} = {3C549079-A502-4B40-B051-5278915AE91B} {CE1159B9-F763-4C32-828A-77529A820415} = {E14F66D1-EA3E-40C6-835A-91A4382D4646} - {FB30F557-D861-428B-A05D-49AE57F00EA4} = {B2A776DB-385B-4AD4-96A5-61746FD909C3} - {8A1331D1-BAC3-4DD9-B16E-BB04BEE46D0A} = {3C549079-A502-4B40-B051-5278915AE91B} - {93B5A99A-B7D8-4412-A801-BE6572157CFA} = {B2A776DB-385B-4AD4-96A5-61746FD909C3} {F01EA18D-DAA2-41A3-B6B4-5F7B185C3525} = {439382D9-7230-4AD0-A82F-956020041BDD} {7ACD3916-576B-4C5F-B2A9-4617535E95ED} = {E14F66D1-EA3E-40C6-835A-91A4382D4646} - {E2D87CB5-8F05-4629-84FF-4B44CF86EDA4} = {3C549079-A502-4B40-B051-5278915AE91B} {B37CA136-3F20-4D8A-9677-E3A9C9D893EF} = {E14F66D1-EA3E-40C6-835A-91A4382D4646} {D8757F0F-254E-495F-961F-0192F8C97E3F} = {E14F66D1-EA3E-40C6-835A-91A4382D4646} {CBB98134-92F5-487D-8CA3-84C19FF46775} = {E14F66D1-EA3E-40C6-835A-91A4382D4646} - {E02DF032-C17F-4D0C-9CAA-3BD3CC9E4F84} = {3C549079-A502-4B40-B051-5278915AE91B} - {DDB9C401-6B1F-4727-A4CB-932034FBF94E} = {3C549079-A502-4B40-B051-5278915AE91B} {9C2A66C4-D695-4159-9F80-8BCE03303758} = {E14F66D1-EA3E-40C6-835A-91A4382D4646} {E6D2B82A-023E-4B8C-9E21-B924C9C918AD} = {9C2A66C4-D695-4159-9F80-8BCE03303758} {D63F8FA3-A0BD-43CA-ABA0-81DBF98646DF} = {9C2A66C4-D695-4159-9F80-8BCE03303758} @@ -366,8 +333,13 @@ Global {8A0FCD30-A6D9-4622-B4D5-90010DE0795E} = {F60AD9DD-A9AB-4181-8DBA-6A3D641D0398} {CA4A9971-654A-4852-8FEB-81414952CF5B} = {8A0FCD30-A6D9-4622-B4D5-90010DE0795E} {40EDC041-C262-414C-B374-631BF2D1BD97} = {8A0FCD30-A6D9-4622-B4D5-90010DE0795E} - {001840D4-8B83-4A8C-AF2C-5429D4F9A370} = {B2A776DB-385B-4AD4-96A5-61746FD909C3} - {2A04808A-A06C-4F10-87B9-2D12E065F729} = {B2A776DB-385B-4AD4-96A5-61746FD909C3} + {D99411E3-6A3A-4C90-803A-FB5396DC2AA8} = {3C549079-A502-4B40-B051-5278915AE91B} + {D7E7653C-4524-46DE-9A70-7F60C5CB3418} = {3C549079-A502-4B40-B051-5278915AE91B} + {251B3EBA-78E5-410D-8287-1C715CBDF884} = {3C549079-A502-4B40-B051-5278915AE91B} + {6CE4A43D-0736-44FA-8A11-35B668C83CAF} = {3C549079-A502-4B40-B051-5278915AE91B} + {96050DA7-378F-482B-9154-BDC8972C7B33} = {3C549079-A502-4B40-B051-5278915AE91B} + {FA3D63B3-29FE-4A0D-944F-C877F6DCC808} = {B2A776DB-385B-4AD4-96A5-61746FD909C3} + {5FBC3E50-DC61-4DEB-B3B9-A88368EBA8B7} = {EE90B5D1-6B69-439C-92A1-667E64CEF848} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {3DAD5980-4688-4794-9CF0-6F3CB67194E7} diff --git a/Duende.Bff.sln.DotSettings b/Bff.sln.DotSettings similarity index 65% rename from Duende.Bff.sln.DotSettings rename to Bff.sln.DotSettings index 12d39f7c..381b099f 100644 --- a/Duende.Bff.sln.DotSettings +++ b/Bff.sln.DotSettings @@ -1,3 +1,4 @@  // Copyright (c) Duende Software. All rights reserved. -// See LICENSE in the project root for license information. \ No newline at end of file +// See LICENSE in the project root for license information. + True \ No newline at end of file diff --git a/Duende.Bff.slnLaunch b/Bff.slnLaunch similarity index 100% rename from Duende.Bff.slnLaunch rename to Bff.slnLaunch diff --git a/Bff.v3.ncrunchsolution b/Bff.v3.ncrunchsolution new file mode 100644 index 00000000..13107d39 --- /dev/null +++ b/Bff.v3.ncrunchsolution @@ -0,0 +1,8 @@ + + + True + True + True + True + + \ No newline at end of file diff --git a/build.cmd b/build.cmd deleted file mode 100644 index b3cc00bc..00000000 --- a/build.cmd +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -dotnet run --project build -- %* diff --git a/build.sh b/build.sh deleted file mode 100755 index b8feb2ca..00000000 --- a/build.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail -dotnet run --project build -- "$@" diff --git a/build/Program.cs b/build/Program.cs index 45d975c2..3b6d5ab5 100644 --- a/build/Program.cs +++ b/build/Program.cs @@ -56,11 +56,11 @@ internal static async Task Main(string[] args) Target(Targets.Pack, DependsOn(Targets.Build, Targets.CleanPackOutput), () => { - Run("dotnet", $"pack ./src/Duende.Bff/Duende.Bff.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); - Run("dotnet", $"pack ./src/Duende.Bff.EntityFramework/Duende.Bff.EntityFramework.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); - Run("dotnet", $"pack ./src/Duende.Bff.Yarp/Duende.Bff.Yarp.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); - Run("dotnet", $"pack ./src/Duende.Bff.Blazor/Duende.Bff.Blazor.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); - Run("dotnet", $"pack ./src/Duende.Bff.Blazor.Client/Duende.Bff.Blazor.Client.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); + Run("dotnet", $"pack ./src/Bff/Bff.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); + Run("dotnet", $"pack ./src/Bff.EntityFramework/Bff.EntityFramework.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); + Run("dotnet", $"pack ./src/Bff.Yarp/Bff.Yarp.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); + Run("dotnet", $"pack ./src/Bff.Blazor/Bff.Blazor.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); + Run("dotnet", $"pack ./src/Bff.Blazor.Client/Bff.Blazor.Client.csproj -c Release -o {Directory.CreateDirectory(packOutput).FullName} --no-build --nologo"); }); Target(Targets.SignPackage, DependsOn(Targets.Pack, Targets.RestoreTools), () => diff --git a/migrations/UserSessionDb/UserSessionDb.csproj b/migrations/UserSessionDb/UserSessionDb.csproj index 6cdf5313..0ddb3b26 100644 --- a/migrations/UserSessionDb/UserSessionDb.csproj +++ b/migrations/UserSessionDb/UserSessionDb.csproj @@ -14,7 +14,7 @@ - + diff --git a/samples/Blazor/PerComponent/PerComponent.Client/PerComponent.Client.csproj b/samples/Blazor/PerComponent/PerComponent.Client/PerComponent.Client.csproj index 01cbcc0b..55b02132 100644 --- a/samples/Blazor/PerComponent/PerComponent.Client/PerComponent.Client.csproj +++ b/samples/Blazor/PerComponent/PerComponent.Client/PerComponent.Client.csproj @@ -15,7 +15,7 @@ - + diff --git a/samples/Blazor/PerComponent/PerComponent/PerComponent.csproj b/samples/Blazor/PerComponent/PerComponent/PerComponent.csproj index 2ff57374..cf228bf6 100644 --- a/samples/Blazor/PerComponent/PerComponent/PerComponent.csproj +++ b/samples/Blazor/PerComponent/PerComponent/PerComponent.csproj @@ -12,9 +12,9 @@ - - - + + + diff --git a/samples/Blazor/WebAssembly/WebAssembly.Client/WebAssembly.Client.csproj b/samples/Blazor/WebAssembly/WebAssembly.Client/WebAssembly.Client.csproj index b51a817d..481d1620 100644 --- a/samples/Blazor/WebAssembly/WebAssembly.Client/WebAssembly.Client.csproj +++ b/samples/Blazor/WebAssembly/WebAssembly.Client/WebAssembly.Client.csproj @@ -15,7 +15,7 @@ - + diff --git a/samples/Blazor/WebAssembly/WebAssembly/WebAssembly.csproj b/samples/Blazor/WebAssembly/WebAssembly/WebAssembly.csproj index 751e811a..86c39bc6 100644 --- a/samples/Blazor/WebAssembly/WebAssembly/WebAssembly.csproj +++ b/samples/Blazor/WebAssembly/WebAssembly/WebAssembly.csproj @@ -7,7 +7,7 @@ - + diff --git a/samples/JS.Yarp/JS.Yarp.csproj b/samples/JS.Yarp/JS.Yarp.csproj index 7dbe7ab2..ebefcfab 100644 --- a/samples/JS.Yarp/JS.Yarp.csproj +++ b/samples/JS.Yarp/JS.Yarp.csproj @@ -11,7 +11,7 @@ - + diff --git a/samples/JS8.DPoP/JS8.DPoP.csproj b/samples/JS8.DPoP/JS8.DPoP.csproj index f4e18467..f1fdcd9c 100644 --- a/samples/JS8.DPoP/JS8.DPoP.csproj +++ b/samples/JS8.DPoP/JS8.DPoP.csproj @@ -12,7 +12,7 @@ - + diff --git a/samples/JS8.EF/JS8.EF.csproj b/samples/JS8.EF/JS8.EF.csproj index 0d2a1a62..04d07a22 100644 --- a/samples/JS8.EF/JS8.EF.csproj +++ b/samples/JS8.EF/JS8.EF.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/samples/JS8/JS8.csproj b/samples/JS8/JS8.csproj index 105c2dd9..aa4a7d8a 100644 --- a/samples/JS8/JS8.csproj +++ b/samples/JS8/JS8.csproj @@ -11,7 +11,7 @@ - + diff --git a/src/Duende.Bff.Blazor.Client/AntiforgeryHandler.cs b/src/Bff.Blazor.Client/AntiforgeryHandler.cs similarity index 100% rename from src/Duende.Bff.Blazor.Client/AntiforgeryHandler.cs rename to src/Bff.Blazor.Client/AntiforgeryHandler.cs diff --git a/src/Duende.Bff.Blazor.Client/Duende.Bff.Blazor.Client.csproj b/src/Bff.Blazor.Client/Bff.Blazor.Client.csproj similarity index 57% rename from src/Duende.Bff.Blazor.Client/Duende.Bff.Blazor.Client.csproj rename to src/Bff.Blazor.Client/Bff.Blazor.Client.csproj index 08c1ea69..dde5eb91 100644 --- a/src/Duende.Bff.Blazor.Client/Duende.Bff.Blazor.Client.csproj +++ b/src/Bff.Blazor.Client/Bff.Blazor.Client.csproj @@ -4,12 +4,14 @@ net8.0 enable enable + Duende.BFF.Blazor.Client + Duende.Bff.Blazor.Client - - - + + + @@ -17,11 +19,11 @@ - + - + diff --git a/src/Duende.Bff.Blazor.Client/BffBlazorOptions.cs b/src/Bff.Blazor.Client/BffBlazorOptions.cs similarity index 100% rename from src/Duende.Bff.Blazor.Client/BffBlazorOptions.cs rename to src/Bff.Blazor.Client/BffBlazorOptions.cs diff --git a/src/Duende.Bff.Blazor.Client/BffClientAuthenticationStateProvider.cs b/src/Bff.Blazor.Client/BffClientAuthenticationStateProvider.cs similarity index 100% rename from src/Duende.Bff.Blazor.Client/BffClientAuthenticationStateProvider.cs rename to src/Bff.Blazor.Client/BffClientAuthenticationStateProvider.cs diff --git a/src/Duende.Bff.Blazor.Client/Internals/GetUserService.cs b/src/Bff.Blazor.Client/Internals/GetUserService.cs similarity index 100% rename from src/Duende.Bff.Blazor.Client/Internals/GetUserService.cs rename to src/Bff.Blazor.Client/Internals/GetUserService.cs diff --git a/src/Duende.Bff.Blazor.Client/Internals/IGetUserService.cs b/src/Bff.Blazor.Client/Internals/IGetUserService.cs similarity index 100% rename from src/Duende.Bff.Blazor.Client/Internals/IGetUserService.cs rename to src/Bff.Blazor.Client/Internals/IGetUserService.cs diff --git a/src/Duende.Bff.Blazor.Client/Internals/IPersistentUserService.cs b/src/Bff.Blazor.Client/Internals/IPersistentUserService.cs similarity index 100% rename from src/Duende.Bff.Blazor.Client/Internals/IPersistentUserService.cs rename to src/Bff.Blazor.Client/Internals/IPersistentUserService.cs diff --git a/src/Duende.Bff.Blazor.Client/Internals/PersistentUserService.cs b/src/Bff.Blazor.Client/Internals/PersistentUserService.cs similarity index 100% rename from src/Duende.Bff.Blazor.Client/Internals/PersistentUserService.cs rename to src/Bff.Blazor.Client/Internals/PersistentUserService.cs diff --git a/src/Duende.Bff.Blazor.Client/ServiceCollectionExtensions.cs b/src/Bff.Blazor.Client/ServiceCollectionExtensions.cs similarity index 100% rename from src/Duende.Bff.Blazor.Client/ServiceCollectionExtensions.cs rename to src/Bff.Blazor.Client/ServiceCollectionExtensions.cs diff --git a/src/Duende.Bff.Blazor/Duende.Bff.Blazor.csproj b/src/Bff.Blazor/Bff.Blazor.csproj similarity index 50% rename from src/Duende.Bff.Blazor/Duende.Bff.Blazor.csproj rename to src/Bff.Blazor/Bff.Blazor.csproj index dbe67c50..9e7ee407 100644 --- a/src/Duende.Bff.Blazor/Duende.Bff.Blazor.csproj +++ b/src/Bff.Blazor/Bff.Blazor.csproj @@ -4,11 +4,13 @@ net8.0 enable enable + Duende.BFF.Blazor + Duende.Bff.Blazor - - + + diff --git a/src/Duende.Bff.Blazor/BffBuilderExtensions.cs b/src/Bff.Blazor/BffBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff.Blazor/BffBuilderExtensions.cs rename to src/Bff.Blazor/BffBuilderExtensions.cs diff --git a/src/Duende.Bff.Blazor/BffServerAuthenticationStateProvider.cs b/src/Bff.Blazor/BffServerAuthenticationStateProvider.cs similarity index 100% rename from src/Duende.Bff.Blazor/BffServerAuthenticationStateProvider.cs rename to src/Bff.Blazor/BffServerAuthenticationStateProvider.cs diff --git a/src/Duende.Bff.Blazor/CaptureManagementClaimsCookieEvents.cs b/src/Bff.Blazor/CaptureManagementClaimsCookieEvents.cs similarity index 100% rename from src/Duende.Bff.Blazor/CaptureManagementClaimsCookieEvents.cs rename to src/Bff.Blazor/CaptureManagementClaimsCookieEvents.cs diff --git a/src/Duende.Bff.Blazor/ServerSideTokenStore.cs b/src/Bff.Blazor/ServerSideTokenStore.cs similarity index 100% rename from src/Duende.Bff.Blazor/ServerSideTokenStore.cs rename to src/Bff.Blazor/ServerSideTokenStore.cs diff --git a/src/Duende.Bff.EntityFramework/Duende.Bff.EntityFramework.csproj b/src/Bff.EntityFramework/Bff.EntityFramework.csproj similarity index 81% rename from src/Duende.Bff.EntityFramework/Duende.Bff.EntityFramework.csproj rename to src/Bff.EntityFramework/Bff.EntityFramework.csproj index 5b568bee..e7011731 100644 --- a/src/Duende.Bff.EntityFramework/Duende.Bff.EntityFramework.csproj +++ b/src/Bff.EntityFramework/Bff.EntityFramework.csproj @@ -4,14 +4,14 @@ net8.0 true latest - Duende.BFF.EntityFramework + Duende.Bff.EntityFramework Entity Framework Core support for backend for frontend (BFF) host for ASP.NET Core - + \ No newline at end of file diff --git a/src/Duende.Bff.EntityFramework/Configuration/BffBuilderExtensions.cs b/src/Bff.EntityFramework/Configuration/BffBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff.EntityFramework/Configuration/BffBuilderExtensions.cs rename to src/Bff.EntityFramework/Configuration/BffBuilderExtensions.cs diff --git a/src/Duende.Bff.EntityFramework/Configuration/SessionStoreOptions.cs b/src/Bff.EntityFramework/Configuration/SessionStoreOptions.cs similarity index 100% rename from src/Duende.Bff.EntityFramework/Configuration/SessionStoreOptions.cs rename to src/Bff.EntityFramework/Configuration/SessionStoreOptions.cs diff --git a/src/Duende.Bff.EntityFramework/Configuration/TableConfiguration.cs b/src/Bff.EntityFramework/Configuration/TableConfiguration.cs similarity index 100% rename from src/Duende.Bff.EntityFramework/Configuration/TableConfiguration.cs rename to src/Bff.EntityFramework/Configuration/TableConfiguration.cs diff --git a/src/Duende.Bff.EntityFramework/Database/ISessionDbContext.cs b/src/Bff.EntityFramework/Database/ISessionDbContext.cs similarity index 100% rename from src/Duende.Bff.EntityFramework/Database/ISessionDbContext.cs rename to src/Bff.EntityFramework/Database/ISessionDbContext.cs diff --git a/src/Duende.Bff.EntityFramework/Database/ModelBuilderExtensions.cs b/src/Bff.EntityFramework/Database/ModelBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff.EntityFramework/Database/ModelBuilderExtensions.cs rename to src/Bff.EntityFramework/Database/ModelBuilderExtensions.cs diff --git a/src/Duende.Bff.EntityFramework/Database/SessionDbContext.cs b/src/Bff.EntityFramework/Database/SessionDbContext.cs similarity index 100% rename from src/Duende.Bff.EntityFramework/Database/SessionDbContext.cs rename to src/Bff.EntityFramework/Database/SessionDbContext.cs diff --git a/src/Duende.Bff.EntityFramework/Database/UserSessionEntity.cs b/src/Bff.EntityFramework/Database/UserSessionEntity.cs similarity index 100% rename from src/Duende.Bff.EntityFramework/Database/UserSessionEntity.cs rename to src/Bff.EntityFramework/Database/UserSessionEntity.cs diff --git a/src/Duende.Bff.EntityFramework/Store/UserSessionStore.cs b/src/Bff.EntityFramework/Store/UserSessionStore.cs similarity index 100% rename from src/Duende.Bff.EntityFramework/Store/UserSessionStore.cs rename to src/Bff.EntityFramework/Store/UserSessionStore.cs diff --git a/src/Duende.Bff.Yarp/AccessTokenRequestTransform.cs b/src/Bff.Yarp/AccessTokenRequestTransform.cs similarity index 100% rename from src/Duende.Bff.Yarp/AccessTokenRequestTransform.cs rename to src/Bff.Yarp/AccessTokenRequestTransform.cs diff --git a/src/Duende.Bff.Yarp/AccessTokenTransformProvider.cs b/src/Bff.Yarp/AccessTokenTransformProvider.cs similarity index 100% rename from src/Duende.Bff.Yarp/AccessTokenTransformProvider.cs rename to src/Bff.Yarp/AccessTokenTransformProvider.cs diff --git a/src/Duende.Bff.Yarp/ActivityPropagationHandler.cs b/src/Bff.Yarp/ActivityPropagationHandler.cs similarity index 100% rename from src/Duende.Bff.Yarp/ActivityPropagationHandler.cs rename to src/Bff.Yarp/ActivityPropagationHandler.cs diff --git a/src/Duende.Bff.Yarp/AntiforgeryMiddleware.cs b/src/Bff.Yarp/AntiforgeryMiddleware.cs similarity index 100% rename from src/Duende.Bff.Yarp/AntiforgeryMiddleware.cs rename to src/Bff.Yarp/AntiforgeryMiddleware.cs diff --git a/src/Duende.Bff.Yarp/Duende.Bff.Yarp.csproj b/src/Bff.Yarp/Bff.Yarp.csproj similarity index 83% rename from src/Duende.Bff.Yarp/Duende.Bff.Yarp.csproj rename to src/Bff.Yarp/Bff.Yarp.csproj index 72ff5294..dcec98e5 100644 --- a/src/Duende.Bff.Yarp/Duende.Bff.Yarp.csproj +++ b/src/Bff.Yarp/Bff.Yarp.csproj @@ -5,8 +5,8 @@ true latest enable - Duende.BFF.Yarp + Duende.Bff.Yarp Backend for frontend (BFF) host for ASP.NET Core (YARP integration) @@ -15,7 +15,7 @@ - + diff --git a/src/Duende.Bff.Yarp/BffBuilderExtensions.cs b/src/Bff.Yarp/BffBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff.Yarp/BffBuilderExtensions.cs rename to src/Bff.Yarp/BffBuilderExtensions.cs diff --git a/src/Duende.Bff.Yarp/BffYarpEndpointRouteBuilderExtensions.cs b/src/Bff.Yarp/BffYarpEndpointRouteBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff.Yarp/BffYarpEndpointRouteBuilderExtensions.cs rename to src/Bff.Yarp/BffYarpEndpointRouteBuilderExtensions.cs diff --git a/src/Duende.Bff.Yarp/DefaultHttpMessageInvokerFactory.cs b/src/Bff.Yarp/DefaultHttpMessageInvokerFactory.cs similarity index 100% rename from src/Duende.Bff.Yarp/DefaultHttpMessageInvokerFactory.cs rename to src/Bff.Yarp/DefaultHttpMessageInvokerFactory.cs diff --git a/src/Duende.Bff.Yarp/DefaultHttpTransformerFactory.cs b/src/Bff.Yarp/DefaultHttpTransformerFactory.cs similarity index 100% rename from src/Duende.Bff.Yarp/DefaultHttpTransformerFactory.cs rename to src/Bff.Yarp/DefaultHttpTransformerFactory.cs diff --git a/src/Duende.Bff.Yarp/IHttpMessageInvokerFactory.cs b/src/Bff.Yarp/IHttpMessageInvokerFactory.cs similarity index 100% rename from src/Duende.Bff.Yarp/IHttpMessageInvokerFactory.cs rename to src/Bff.Yarp/IHttpMessageInvokerFactory.cs diff --git a/src/Duende.Bff.Yarp/IHttpTransformerFactory.cs b/src/Bff.Yarp/IHttpTransformerFactory.cs similarity index 100% rename from src/Duende.Bff.Yarp/IHttpTransformerFactory.cs rename to src/Bff.Yarp/IHttpTransformerFactory.cs diff --git a/src/Duende.Bff.Yarp/Log.cs b/src/Bff.Yarp/Log.cs similarity index 100% rename from src/Duende.Bff.Yarp/Log.cs rename to src/Bff.Yarp/Log.cs diff --git a/src/Duende.Bff.Yarp/ProxyAppBuilderExtensions.cs b/src/Bff.Yarp/ProxyAppBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff.Yarp/ProxyAppBuilderExtensions.cs rename to src/Bff.Yarp/ProxyAppBuilderExtensions.cs diff --git a/src/Duende.Bff.Yarp/ProxyConfigExtensions.cs b/src/Bff.Yarp/ProxyConfigExtensions.cs similarity index 100% rename from src/Duende.Bff.Yarp/ProxyConfigExtensions.cs rename to src/Bff.Yarp/ProxyConfigExtensions.cs diff --git a/src/Duende.Bff.Yarp/RemoteApiEndpoint.cs b/src/Bff.Yarp/RemoteApiEndpoint.cs similarity index 100% rename from src/Duende.Bff.Yarp/RemoteApiEndpoint.cs rename to src/Bff.Yarp/RemoteApiEndpoint.cs diff --git a/src/Duende.Bff.Yarp/ReverseProxyBuilderExtensions.cs b/src/Bff.Yarp/ReverseProxyBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff.Yarp/ReverseProxyBuilderExtensions.cs rename to src/Bff.Yarp/ReverseProxyBuilderExtensions.cs diff --git a/src/Duende.Bff.Yarp/ReverseProxyEndpointConventionBuilderExtensions.cs b/src/Bff.Yarp/ReverseProxyEndpointConventionBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff.Yarp/ReverseProxyEndpointConventionBuilderExtensions.cs rename to src/Bff.Yarp/ReverseProxyEndpointConventionBuilderExtensions.cs diff --git a/src/Duende.Bff/Attributes.cs b/src/Bff/Attributes.cs similarity index 100% rename from src/Duende.Bff/Attributes.cs rename to src/Bff/Attributes.cs diff --git a/src/Duende.Bff/Duende.Bff.csproj b/src/Bff/Bff.csproj similarity index 80% rename from src/Duende.Bff/Duende.Bff.csproj rename to src/Bff/Bff.csproj index 04586b06..ffbb2c26 100644 --- a/src/Duende.Bff/Duende.Bff.csproj +++ b/src/Bff/Bff.csproj @@ -1,12 +1,12 @@ - + net8.0 true latest enable - Duende.BFF + Duende.Bff Backend for frontend (BFF) host for ASP.NET Core @@ -16,6 +16,6 @@ - + \ No newline at end of file diff --git a/src/Duende.Bff/Configuration/BffApplicationBuilderExtensions.cs b/src/Bff/Configuration/BffApplicationBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff/Configuration/BffApplicationBuilderExtensions.cs rename to src/Bff/Configuration/BffApplicationBuilderExtensions.cs diff --git a/src/Duende.Bff/Configuration/BffBuilder.cs b/src/Bff/Configuration/BffBuilder.cs similarity index 100% rename from src/Duende.Bff/Configuration/BffBuilder.cs rename to src/Bff/Configuration/BffBuilder.cs diff --git a/src/Duende.Bff/Configuration/BffEndpointRouteBuilderExtensions.cs b/src/Bff/Configuration/BffEndpointRouteBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff/Configuration/BffEndpointRouteBuilderExtensions.cs rename to src/Bff/Configuration/BffEndpointRouteBuilderExtensions.cs diff --git a/src/Duende.Bff/Configuration/BffOptions.cs b/src/Bff/Configuration/BffOptions.cs similarity index 100% rename from src/Duende.Bff/Configuration/BffOptions.cs rename to src/Bff/Configuration/BffOptions.cs diff --git a/src/Duende.Bff/Configuration/BffRemoteApiEndpointExtensions.cs b/src/Bff/Configuration/BffRemoteApiEndpointExtensions.cs similarity index 100% rename from src/Duende.Bff/Configuration/BffRemoteApiEndpointExtensions.cs rename to src/Bff/Configuration/BffRemoteApiEndpointExtensions.cs diff --git a/src/Duende.Bff/Configuration/BffRemoteApiEndpointMetadata.cs b/src/Bff/Configuration/BffRemoteApiEndpointMetadata.cs similarity index 100% rename from src/Duende.Bff/Configuration/BffRemoteApiEndpointMetadata.cs rename to src/Bff/Configuration/BffRemoteApiEndpointMetadata.cs diff --git a/src/Duende.Bff/Configuration/BffServiceCollectionExtensions.cs b/src/Bff/Configuration/BffServiceCollectionExtensions.cs similarity index 100% rename from src/Duende.Bff/Configuration/BffServiceCollectionExtensions.cs rename to src/Bff/Configuration/BffServiceCollectionExtensions.cs diff --git a/src/Duende.Bff/Configuration/Decorator.cs b/src/Bff/Configuration/Decorator.cs similarity index 100% rename from src/Duende.Bff/Configuration/Decorator.cs rename to src/Bff/Configuration/Decorator.cs diff --git a/src/Duende.Bff/Configuration/EndpointConventionBuilderExtensions.cs b/src/Bff/Configuration/EndpointConventionBuilderExtensions.cs similarity index 100% rename from src/Duende.Bff/Configuration/EndpointConventionBuilderExtensions.cs rename to src/Bff/Configuration/EndpointConventionBuilderExtensions.cs diff --git a/src/Duende.Bff/ConfigureUserTokenManagmentOptions.cs b/src/Bff/ConfigureUserTokenManagmentOptions.cs similarity index 100% rename from src/Duende.Bff/ConfigureUserTokenManagmentOptions.cs rename to src/Bff/ConfigureUserTokenManagmentOptions.cs diff --git a/src/Duende.Bff/Constants.cs b/src/Bff/Constants.cs similarity index 100% rename from src/Duende.Bff/Constants.cs rename to src/Bff/Constants.cs diff --git a/src/Duende.Bff/EndpointProcessing/BffApiAttribute.cs b/src/Bff/EndpointProcessing/BffApiAttribute.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/BffApiAttribute.cs rename to src/Bff/EndpointProcessing/BffApiAttribute.cs diff --git a/src/Duende.Bff/EndpointProcessing/BffApiSkipAntiforgeryAttribute.cs b/src/Bff/EndpointProcessing/BffApiSkipAntiforgeryAttribute.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/BffApiSkipAntiforgeryAttribute.cs rename to src/Bff/EndpointProcessing/BffApiSkipAntiforgeryAttribute.cs diff --git a/src/Duende.Bff/EndpointProcessing/BffApiSkipResponseHandlingAttribute.cs b/src/Bff/EndpointProcessing/BffApiSkipResponseHandlingAttribute.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/BffApiSkipResponseHandlingAttribute.cs rename to src/Bff/EndpointProcessing/BffApiSkipResponseHandlingAttribute.cs diff --git a/src/Duende.Bff/EndpointProcessing/BffAuthenticationService.cs b/src/Bff/EndpointProcessing/BffAuthenticationService.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/BffAuthenticationService.cs rename to src/Bff/EndpointProcessing/BffAuthenticationService.cs diff --git a/src/Duende.Bff/EndpointProcessing/BffMiddleware.cs b/src/Bff/EndpointProcessing/BffMiddleware.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/BffMiddleware.cs rename to src/Bff/EndpointProcessing/BffMiddleware.cs diff --git a/src/Duende.Bff/EndpointProcessing/BffUIEndpointAttribute.cs b/src/Bff/EndpointProcessing/BffUIEndpointAttribute.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/BffUIEndpointAttribute.cs rename to src/Bff/EndpointProcessing/BffUIEndpointAttribute.cs diff --git a/src/Duende.Bff/EndpointProcessing/BffUserAccessTokenParameters.cs b/src/Bff/EndpointProcessing/BffUserAccessTokenParameters.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/BffUserAccessTokenParameters.cs rename to src/Bff/EndpointProcessing/BffUserAccessTokenParameters.cs diff --git a/src/Duende.Bff/EndpointProcessing/IBffApiEndpoint.cs b/src/Bff/EndpointProcessing/IBffApiEndpoint.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/IBffApiEndpoint.cs rename to src/Bff/EndpointProcessing/IBffApiEndpoint.cs diff --git a/src/Duende.Bff/EndpointProcessing/IBffApiSkipAntiforgery.cs b/src/Bff/EndpointProcessing/IBffApiSkipAntiforgery.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/IBffApiSkipAntiforgery.cs rename to src/Bff/EndpointProcessing/IBffApiSkipAntiforgery.cs diff --git a/src/Duende.Bff/EndpointProcessing/IBffApiSkipResponseHandling.cs b/src/Bff/EndpointProcessing/IBffApiSkipResponseHandling.cs similarity index 100% rename from src/Duende.Bff/EndpointProcessing/IBffApiSkipResponseHandling.cs rename to src/Bff/EndpointProcessing/IBffApiSkipResponseHandling.cs diff --git a/src/Duende.Bff/EndpointServices/BackchannelLogout/DefaultBackchannelLogoutService.cs b/src/Bff/EndpointServices/BackchannelLogout/DefaultBackchannelLogoutService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/BackchannelLogout/DefaultBackchannelLogoutService.cs rename to src/Bff/EndpointServices/BackchannelLogout/DefaultBackchannelLogoutService.cs diff --git a/src/Duende.Bff/EndpointServices/BackchannelLogout/IBackchannelLogoutService.cs b/src/Bff/EndpointServices/BackchannelLogout/IBackchannelLogoutService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/BackchannelLogout/IBackchannelLogoutService.cs rename to src/Bff/EndpointServices/BackchannelLogout/IBackchannelLogoutService.cs diff --git a/src/Duende.Bff/EndpointServices/Diagnostics/DefaultDiagnosticsService.cs b/src/Bff/EndpointServices/Diagnostics/DefaultDiagnosticsService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/Diagnostics/DefaultDiagnosticsService.cs rename to src/Bff/EndpointServices/Diagnostics/DefaultDiagnosticsService.cs diff --git a/src/Duende.Bff/EndpointServices/Diagnostics/IDiagnosticsService.cs b/src/Bff/EndpointServices/Diagnostics/IDiagnosticsService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/Diagnostics/IDiagnosticsService.cs rename to src/Bff/EndpointServices/Diagnostics/IDiagnosticsService.cs diff --git a/src/Duende.Bff/EndpointServices/IBffEndpointService.cs b/src/Bff/EndpointServices/IBffEndpointService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/IBffEndpointService.cs rename to src/Bff/EndpointServices/IBffEndpointService.cs diff --git a/src/Duende.Bff/EndpointServices/Login/DefaultLoginService.cs b/src/Bff/EndpointServices/Login/DefaultLoginService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/Login/DefaultLoginService.cs rename to src/Bff/EndpointServices/Login/DefaultLoginService.cs diff --git a/src/Duende.Bff/EndpointServices/Login/ILoginService.cs b/src/Bff/EndpointServices/Login/ILoginService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/Login/ILoginService.cs rename to src/Bff/EndpointServices/Login/ILoginService.cs diff --git a/src/Duende.Bff/EndpointServices/Logout/DefaultLogoutService.cs b/src/Bff/EndpointServices/Logout/DefaultLogoutService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/Logout/DefaultLogoutService.cs rename to src/Bff/EndpointServices/Logout/DefaultLogoutService.cs diff --git a/src/Duende.Bff/EndpointServices/Logout/ILogoutService.cs b/src/Bff/EndpointServices/Logout/ILogoutService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/Logout/ILogoutService.cs rename to src/Bff/EndpointServices/Logout/ILogoutService.cs diff --git a/src/Duende.Bff/EndpointServices/SilentLogin/BffOpenIdConnectEvents.cs b/src/Bff/EndpointServices/SilentLogin/BffOpenIdConnectEvents.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/SilentLogin/BffOpenIdConnectEvents.cs rename to src/Bff/EndpointServices/SilentLogin/BffOpenIdConnectEvents.cs diff --git a/src/Duende.Bff/EndpointServices/SilentLogin/DefaultSilentLoginCallbackService.cs b/src/Bff/EndpointServices/SilentLogin/DefaultSilentLoginCallbackService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/SilentLogin/DefaultSilentLoginCallbackService.cs rename to src/Bff/EndpointServices/SilentLogin/DefaultSilentLoginCallbackService.cs diff --git a/src/Duende.Bff/EndpointServices/SilentLogin/DefaultSilentLoginService.cs b/src/Bff/EndpointServices/SilentLogin/DefaultSilentLoginService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/SilentLogin/DefaultSilentLoginService.cs rename to src/Bff/EndpointServices/SilentLogin/DefaultSilentLoginService.cs diff --git a/src/Duende.Bff/EndpointServices/SilentLogin/ISilentLoginCallbackService.cs b/src/Bff/EndpointServices/SilentLogin/ISilentLoginCallbackService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/SilentLogin/ISilentLoginCallbackService.cs rename to src/Bff/EndpointServices/SilentLogin/ISilentLoginCallbackService.cs diff --git a/src/Duende.Bff/EndpointServices/SilentLogin/ISilentLoginService.cs b/src/Bff/EndpointServices/SilentLogin/ISilentLoginService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/SilentLogin/ISilentLoginService.cs rename to src/Bff/EndpointServices/SilentLogin/ISilentLoginService.cs diff --git a/src/Duende.Bff/EndpointServices/SilentLogin/PostConfigureOidcOptionsForSilentLogin.cs b/src/Bff/EndpointServices/SilentLogin/PostConfigureOidcOptionsForSilentLogin.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/SilentLogin/PostConfigureOidcOptionsForSilentLogin.cs rename to src/Bff/EndpointServices/SilentLogin/PostConfigureOidcOptionsForSilentLogin.cs diff --git a/src/Duende.Bff/EndpointServices/User/DefaultClaimsService.cs b/src/Bff/EndpointServices/User/DefaultClaimsService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/User/DefaultClaimsService.cs rename to src/Bff/EndpointServices/User/DefaultClaimsService.cs diff --git a/src/Duende.Bff/EndpointServices/User/DefaultUserService.cs b/src/Bff/EndpointServices/User/DefaultUserService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/User/DefaultUserService.cs rename to src/Bff/EndpointServices/User/DefaultUserService.cs diff --git a/src/Duende.Bff/EndpointServices/User/IClaimsService.cs b/src/Bff/EndpointServices/User/IClaimsService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/User/IClaimsService.cs rename to src/Bff/EndpointServices/User/IClaimsService.cs diff --git a/src/Duende.Bff/EndpointServices/User/IUserService.cs b/src/Bff/EndpointServices/User/IUserService.cs similarity index 100% rename from src/Duende.Bff/EndpointServices/User/IUserService.cs rename to src/Bff/EndpointServices/User/IUserService.cs diff --git a/src/Duende.Bff/Extensions/AuthenticationPropertiesExtensions.cs b/src/Bff/Extensions/AuthenticationPropertiesExtensions.cs similarity index 100% rename from src/Duende.Bff/Extensions/AuthenticationPropertiesExtensions.cs rename to src/Bff/Extensions/AuthenticationPropertiesExtensions.cs diff --git a/src/Duende.Bff/Extensions/AuthenticationTicketExtensions.cs b/src/Bff/Extensions/AuthenticationTicketExtensions.cs similarity index 100% rename from src/Duende.Bff/Extensions/AuthenticationTicketExtensions.cs rename to src/Bff/Extensions/AuthenticationTicketExtensions.cs diff --git a/src/Duende.Bff/Extensions/HttpContextExtensions.cs b/src/Bff/Extensions/HttpContextExtensions.cs similarity index 100% rename from src/Duende.Bff/Extensions/HttpContextExtensions.cs rename to src/Bff/Extensions/HttpContextExtensions.cs diff --git a/src/Duende.Bff/General/AccessTokenResult.cs b/src/Bff/General/AccessTokenResult.cs similarity index 100% rename from src/Duende.Bff/General/AccessTokenResult.cs rename to src/Bff/General/AccessTokenResult.cs diff --git a/src/Duende.Bff/General/AccessTokenRetreivalContext.cs b/src/Bff/General/AccessTokenRetreivalContext.cs similarity index 100% rename from src/Duende.Bff/General/AccessTokenRetreivalContext.cs rename to src/Bff/General/AccessTokenRetreivalContext.cs diff --git a/src/Duende.Bff/General/AccessTokenRetrievalError.cs b/src/Bff/General/AccessTokenRetrievalError.cs similarity index 100% rename from src/Duende.Bff/General/AccessTokenRetrievalError.cs rename to src/Bff/General/AccessTokenRetrievalError.cs diff --git a/src/Duende.Bff/General/BearerTokenResult.cs b/src/Bff/General/BearerTokenResult.cs similarity index 100% rename from src/Duende.Bff/General/BearerTokenResult.cs rename to src/Bff/General/BearerTokenResult.cs diff --git a/src/Duende.Bff/General/DPoPTokenResult.cs b/src/Bff/General/DPoPTokenResult.cs similarity index 100% rename from src/Duende.Bff/General/DPoPTokenResult.cs rename to src/Bff/General/DPoPTokenResult.cs diff --git a/src/Duende.Bff/General/DefaultAccessTokenRetriever.cs b/src/Bff/General/DefaultAccessTokenRetriever.cs similarity index 100% rename from src/Duende.Bff/General/DefaultAccessTokenRetriever.cs rename to src/Bff/General/DefaultAccessTokenRetriever.cs diff --git a/src/Duende.Bff/General/IAccessTokenRetriever.cs b/src/Bff/General/IAccessTokenRetriever.cs similarity index 100% rename from src/Duende.Bff/General/IAccessTokenRetriever.cs rename to src/Bff/General/IAccessTokenRetriever.cs diff --git a/src/Duende.Bff/General/IReturnUrlValidator.cs b/src/Bff/General/IReturnUrlValidator.cs similarity index 100% rename from src/Duende.Bff/General/IReturnUrlValidator.cs rename to src/Bff/General/IReturnUrlValidator.cs diff --git a/src/Duende.Bff/General/LocalUrlReturnUrlValidator.cs b/src/Bff/General/LocalUrlReturnUrlValidator.cs similarity index 100% rename from src/Duende.Bff/General/LocalUrlReturnUrlValidator.cs rename to src/Bff/General/LocalUrlReturnUrlValidator.cs diff --git a/src/Duende.Bff/General/Log.cs b/src/Bff/General/Log.cs similarity index 100% rename from src/Duende.Bff/General/Log.cs rename to src/Bff/General/Log.cs diff --git a/src/Duende.Bff/General/NoAccessTokenResult.cs b/src/Bff/General/NoAccessTokenResult.cs similarity index 100% rename from src/Duende.Bff/General/NoAccessTokenResult.cs rename to src/Bff/General/NoAccessTokenResult.cs diff --git a/src/Duende.Bff/General/TokenType.cs b/src/Bff/General/TokenType.cs similarity index 100% rename from src/Duende.Bff/General/TokenType.cs rename to src/Bff/General/TokenType.cs diff --git a/src/Duende.Bff/IsExternalInit.cs b/src/Bff/IsExternalInit.cs similarity index 100% rename from src/Duende.Bff/IsExternalInit.cs rename to src/Bff/IsExternalInit.cs diff --git a/src/Duende.Bff/Licensing/License.cs b/src/Bff/Licensing/License.cs similarity index 100% rename from src/Duende.Bff/Licensing/License.cs rename to src/Bff/Licensing/License.cs diff --git a/src/Duende.Bff/Licensing/LicenseValidator.cs b/src/Bff/Licensing/LicenseValidator.cs similarity index 100% rename from src/Duende.Bff/Licensing/LicenseValidator.cs rename to src/Bff/Licensing/LicenseValidator.cs diff --git a/src/Duende.Bff/Licensing/LicenseValidatorLocal.cs b/src/Bff/Licensing/LicenseValidatorLocal.cs similarity index 100% rename from src/Duende.Bff/Licensing/LicenseValidatorLocal.cs rename to src/Bff/Licensing/LicenseValidatorLocal.cs diff --git a/src/Duende.Bff/SessionManagement/Configuration/PostConfigureApplicationCookieRevokeRefreshToken.cs b/src/Bff/SessionManagement/Configuration/PostConfigureApplicationCookieRevokeRefreshToken.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/Configuration/PostConfigureApplicationCookieRevokeRefreshToken.cs rename to src/Bff/SessionManagement/Configuration/PostConfigureApplicationCookieRevokeRefreshToken.cs diff --git a/src/Duende.Bff/SessionManagement/Configuration/PostConfigureApplicationCookieTicketStore.cs b/src/Bff/SessionManagement/Configuration/PostConfigureApplicationCookieTicketStore.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/Configuration/PostConfigureApplicationCookieTicketStore.cs rename to src/Bff/SessionManagement/Configuration/PostConfigureApplicationCookieTicketStore.cs diff --git a/src/Duende.Bff/SessionManagement/Configuration/PostConfigureApplicationValidatePrincipal.cs b/src/Bff/SessionManagement/Configuration/PostConfigureApplicationValidatePrincipal.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/Configuration/PostConfigureApplicationValidatePrincipal.cs rename to src/Bff/SessionManagement/Configuration/PostConfigureApplicationValidatePrincipal.cs diff --git a/src/Duende.Bff/SessionManagement/Configuration/PostConfigureSlidingExpirationCheck.cs b/src/Bff/SessionManagement/Configuration/PostConfigureSlidingExpirationCheck.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/Configuration/PostConfigureSlidingExpirationCheck.cs rename to src/Bff/SessionManagement/Configuration/PostConfigureSlidingExpirationCheck.cs diff --git a/src/Duende.Bff/SessionManagement/Revocation/ISessionRevocationService.cs b/src/Bff/SessionManagement/Revocation/ISessionRevocationService.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/Revocation/ISessionRevocationService.cs rename to src/Bff/SessionManagement/Revocation/ISessionRevocationService.cs diff --git a/src/Duende.Bff/SessionManagement/Revocation/NopSessionRevocationService.cs b/src/Bff/SessionManagement/Revocation/NopSessionRevocationService.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/Revocation/NopSessionRevocationService.cs rename to src/Bff/SessionManagement/Revocation/NopSessionRevocationService.cs diff --git a/src/Duende.Bff/SessionManagement/Revocation/SessionRevocationService.cs b/src/Bff/SessionManagement/Revocation/SessionRevocationService.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/Revocation/SessionRevocationService.cs rename to src/Bff/SessionManagement/Revocation/SessionRevocationService.cs diff --git a/src/Duende.Bff/SessionManagement/SessionStore/IUserSessionStore.cs b/src/Bff/SessionManagement/SessionStore/IUserSessionStore.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/SessionStore/IUserSessionStore.cs rename to src/Bff/SessionManagement/SessionStore/IUserSessionStore.cs diff --git a/src/Duende.Bff/SessionManagement/SessionStore/IUserSessionStoreCleanup.cs b/src/Bff/SessionManagement/SessionStore/IUserSessionStoreCleanup.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/SessionStore/IUserSessionStoreCleanup.cs rename to src/Bff/SessionManagement/SessionStore/IUserSessionStoreCleanup.cs diff --git a/src/Duende.Bff/SessionManagement/SessionStore/InMemoryUserSessionStore.cs b/src/Bff/SessionManagement/SessionStore/InMemoryUserSessionStore.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/SessionStore/InMemoryUserSessionStore.cs rename to src/Bff/SessionManagement/SessionStore/InMemoryUserSessionStore.cs diff --git a/src/Duende.Bff/SessionManagement/SessionStore/SessionCleanupHost.cs b/src/Bff/SessionManagement/SessionStore/SessionCleanupHost.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/SessionStore/SessionCleanupHost.cs rename to src/Bff/SessionManagement/SessionStore/SessionCleanupHost.cs diff --git a/src/Duende.Bff/SessionManagement/SessionStore/UserSession.cs b/src/Bff/SessionManagement/SessionStore/UserSession.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/SessionStore/UserSession.cs rename to src/Bff/SessionManagement/SessionStore/UserSession.cs diff --git a/src/Duende.Bff/SessionManagement/SessionStore/UserSessionUpdate.cs b/src/Bff/SessionManagement/SessionStore/UserSessionUpdate.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/SessionStore/UserSessionUpdate.cs rename to src/Bff/SessionManagement/SessionStore/UserSessionUpdate.cs diff --git a/src/Duende.Bff/SessionManagement/SessionStore/UserSessionsFilter.cs b/src/Bff/SessionManagement/SessionStore/UserSessionsFilter.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/SessionStore/UserSessionsFilter.cs rename to src/Bff/SessionManagement/SessionStore/UserSessionsFilter.cs diff --git a/src/Duende.Bff/SessionManagement/TicketStore/IServerTicketStore.cs b/src/Bff/SessionManagement/TicketStore/IServerTicketStore.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/TicketStore/IServerTicketStore.cs rename to src/Bff/SessionManagement/TicketStore/IServerTicketStore.cs diff --git a/src/Duende.Bff/SessionManagement/TicketStore/ServerSideTicketStore.cs b/src/Bff/SessionManagement/TicketStore/ServerSideTicketStore.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/TicketStore/ServerSideTicketStore.cs rename to src/Bff/SessionManagement/TicketStore/ServerSideTicketStore.cs diff --git a/src/Duende.Bff/SessionManagement/TicketStore/TicketStoreShim.cs b/src/Bff/SessionManagement/TicketStore/TicketStoreShim.cs similarity index 100% rename from src/Duende.Bff/SessionManagement/TicketStore/TicketStoreShim.cs rename to src/Bff/SessionManagement/TicketStore/TicketStoreShim.cs diff --git a/src/Duende.Bff/Shared/ClaimLite.cs b/src/Bff/Shared/ClaimLite.cs similarity index 100% rename from src/Duende.Bff/Shared/ClaimLite.cs rename to src/Bff/Shared/ClaimLite.cs diff --git a/src/Duende.Bff/Shared/ClaimsLiteExtensions.cs b/src/Bff/Shared/ClaimsLiteExtensions.cs similarity index 100% rename from src/Duende.Bff/Shared/ClaimsLiteExtensions.cs rename to src/Bff/Shared/ClaimsLiteExtensions.cs diff --git a/src/Duende.Bff/Shared/ClaimsPrincipalLite.cs b/src/Bff/Shared/ClaimsPrincipalLite.cs similarity index 100% rename from src/Duende.Bff/Shared/ClaimsPrincipalLite.cs rename to src/Bff/Shared/ClaimsPrincipalLite.cs diff --git a/test/Duende.Bff.Tests/Duende.Bff.Tests.csproj b/test/Bff.Tests/Bff.Tests.csproj similarity index 58% rename from test/Duende.Bff.Tests/Duende.Bff.Tests.csproj rename to test/Bff.Tests/Bff.Tests.csproj index 3506f590..3c904fec 100644 --- a/test/Duende.Bff.Tests/Duende.Bff.Tests.csproj +++ b/test/Bff.Tests/Bff.Tests.csproj @@ -2,10 +2,16 @@ net8.0 + latest + enable + false + true + enable + runtime; build; native; contentfiles; analyzers; buildtransitive @@ -22,11 +28,20 @@ + + - - + + + + + + + + + diff --git a/test/Duende.Bff.Blazor.Client.UnitTests/AntiforgeryHandlerTests.cs b/test/Bff.Tests/Blazor/Client/AntiforgeryHandlerTests.cs similarity index 100% rename from test/Duende.Bff.Blazor.Client.UnitTests/AntiforgeryHandlerTests.cs rename to test/Bff.Tests/Blazor/Client/AntiforgeryHandlerTests.cs diff --git a/test/Duende.Bff.Blazor.Client.UnitTests/BffClientAuthenticationStateProviderTests.cs b/test/Bff.Tests/Blazor/Client/BffClientAuthenticationStateProviderTests.cs similarity index 100% rename from test/Duende.Bff.Blazor.Client.UnitTests/BffClientAuthenticationStateProviderTests.cs rename to test/Bff.Tests/Blazor/Client/BffClientAuthenticationStateProviderTests.cs diff --git a/test/Duende.Bff.Blazor.Client.UnitTests/GetUserServiceTests.cs b/test/Bff.Tests/Blazor/Client/GetUserServiceTests.cs similarity index 100% rename from test/Duende.Bff.Blazor.Client.UnitTests/GetUserServiceTests.cs rename to test/Bff.Tests/Blazor/Client/GetUserServiceTests.cs diff --git a/test/Duende.Bff.Blazor.Client.UnitTests/ServiceCollectionExtensionsTests.cs b/test/Bff.Tests/Blazor/Client/ServiceCollectionExtensionsTests.cs similarity index 100% rename from test/Duende.Bff.Blazor.Client.UnitTests/ServiceCollectionExtensionsTests.cs rename to test/Bff.Tests/Blazor/Client/ServiceCollectionExtensionsTests.cs diff --git a/test/Duende.Bff.Blazor.Client.UnitTests/TestMocks.cs b/test/Bff.Tests/Blazor/Client/TestMocks.cs similarity index 100% rename from test/Duende.Bff.Blazor.Client.UnitTests/TestMocks.cs rename to test/Bff.Tests/Blazor/Client/TestMocks.cs diff --git a/test/Duende.Bff.Blazor.UnitTests/ServerSideTokenStoreTests.cs b/test/Bff.Tests/Blazor/ServerSideTokenStoreTests.cs similarity index 99% rename from test/Duende.Bff.Blazor.UnitTests/ServerSideTokenStoreTests.cs rename to test/Bff.Tests/Blazor/ServerSideTokenStoreTests.cs index 82d45376..5e613197 100644 --- a/test/Duende.Bff.Blazor.UnitTests/ServerSideTokenStoreTests.cs +++ b/test/Bff.Tests/Blazor/ServerSideTokenStoreTests.cs @@ -1,4 +1,5 @@ using System.Security.Claims; +using System.Threading.Tasks; using Duende.AccessTokenManagement.OpenIdConnect; using Microsoft.AspNetCore.Authentication; using Microsoft.AspNetCore.Authentication.Cookies; diff --git a/test/Duende.Bff.Tests/Endpoints/LocalEndpointTests.cs b/test/Bff.Tests/Endpoints/LocalEndpointTests.cs similarity index 100% rename from test/Duende.Bff.Tests/Endpoints/LocalEndpointTests.cs rename to test/Bff.Tests/Endpoints/LocalEndpointTests.cs diff --git a/test/Duende.Bff.Tests/Endpoints/Management/BackchannelLogoutEndpointTests.cs b/test/Bff.Tests/Endpoints/Management/BackchannelLogoutEndpointTests.cs similarity index 100% rename from test/Duende.Bff.Tests/Endpoints/Management/BackchannelLogoutEndpointTests.cs rename to test/Bff.Tests/Endpoints/Management/BackchannelLogoutEndpointTests.cs diff --git a/test/Duende.Bff.Tests/Endpoints/Management/LoginEndpointTests.cs b/test/Bff.Tests/Endpoints/Management/LoginEndpointTests.cs similarity index 100% rename from test/Duende.Bff.Tests/Endpoints/Management/LoginEndpointTests.cs rename to test/Bff.Tests/Endpoints/Management/LoginEndpointTests.cs diff --git a/test/Duende.Bff.Tests/Endpoints/Management/LogoutEndpointTests.cs b/test/Bff.Tests/Endpoints/Management/LogoutEndpointTests.cs similarity index 100% rename from test/Duende.Bff.Tests/Endpoints/Management/LogoutEndpointTests.cs rename to test/Bff.Tests/Endpoints/Management/LogoutEndpointTests.cs diff --git a/test/Duende.Bff.Tests/Endpoints/Management/ManagementBasePathTests.cs b/test/Bff.Tests/Endpoints/Management/ManagementBasePathTests.cs similarity index 100% rename from test/Duende.Bff.Tests/Endpoints/Management/ManagementBasePathTests.cs rename to test/Bff.Tests/Endpoints/Management/ManagementBasePathTests.cs diff --git a/test/Duende.Bff.Tests/Endpoints/Management/UserEndpointTests.cs b/test/Bff.Tests/Endpoints/Management/UserEndpointTests.cs similarity index 100% rename from test/Duende.Bff.Tests/Endpoints/Management/UserEndpointTests.cs rename to test/Bff.Tests/Endpoints/Management/UserEndpointTests.cs diff --git a/test/Duende.Bff.Tests/Endpoints/RemoteEndpointTests.cs b/test/Bff.Tests/Endpoints/RemoteEndpointTests.cs similarity index 100% rename from test/Duende.Bff.Tests/Endpoints/RemoteEndpointTests.cs rename to test/Bff.Tests/Endpoints/RemoteEndpointTests.cs diff --git a/test/Duende.Bff.Tests/Endpoints/YarpRemoteEndpointTests.cs b/test/Bff.Tests/Endpoints/YarpRemoteEndpointTests.cs similarity index 100% rename from test/Duende.Bff.Tests/Endpoints/YarpRemoteEndpointTests.cs rename to test/Bff.Tests/Endpoints/YarpRemoteEndpointTests.cs diff --git a/test/Duende.Bff.EntityFramework.Tests/UserSessionStoreTests.cs b/test/Bff.Tests/EntityFramework/UserSessionStoreTests.cs similarity index 100% rename from test/Duende.Bff.EntityFramework.Tests/UserSessionStoreTests.cs rename to test/Bff.Tests/EntityFramework/UserSessionStoreTests.cs diff --git a/test/Duende.Bff.Tests/GenericHostTests.cs b/test/Bff.Tests/GenericHostTests.cs similarity index 100% rename from test/Duende.Bff.Tests/GenericHostTests.cs rename to test/Bff.Tests/GenericHostTests.cs diff --git a/test/Duende.Bff.Tests/Headers/ApiAndBffUseForwardedHeaders.cs b/test/Bff.Tests/Headers/ApiAndBffUseForwardedHeaders.cs similarity index 100% rename from test/Duende.Bff.Tests/Headers/ApiAndBffUseForwardedHeaders.cs rename to test/Bff.Tests/Headers/ApiAndBffUseForwardedHeaders.cs diff --git a/test/Duende.Bff.Tests/Headers/ApiUseForwardedHeaders.cs b/test/Bff.Tests/Headers/ApiUseForwardedHeaders.cs similarity index 100% rename from test/Duende.Bff.Tests/Headers/ApiUseForwardedHeaders.cs rename to test/Bff.Tests/Headers/ApiUseForwardedHeaders.cs diff --git a/test/Duende.Bff.Tests/Headers/General.cs b/test/Bff.Tests/Headers/General.cs similarity index 100% rename from test/Duende.Bff.Tests/Headers/General.cs rename to test/Bff.Tests/Headers/General.cs diff --git a/test/Duende.Bff.Tests/Properties/launchSettings.json b/test/Bff.Tests/Properties/launchSettings.json similarity index 100% rename from test/Duende.Bff.Tests/Properties/launchSettings.json rename to test/Bff.Tests/Properties/launchSettings.json diff --git a/test/Duende.Bff.Tests/SessionManagement/CookieSlidingTests.cs b/test/Bff.Tests/SessionManagement/CookieSlidingTests.cs similarity index 100% rename from test/Duende.Bff.Tests/SessionManagement/CookieSlidingTests.cs rename to test/Bff.Tests/SessionManagement/CookieSlidingTests.cs diff --git a/test/Duende.Bff.Tests/SessionManagement/RevokeRefreshTokenTests.cs b/test/Bff.Tests/SessionManagement/RevokeRefreshTokenTests.cs similarity index 100% rename from test/Duende.Bff.Tests/SessionManagement/RevokeRefreshTokenTests.cs rename to test/Bff.Tests/SessionManagement/RevokeRefreshTokenTests.cs diff --git a/test/Duende.Bff.Tests/SessionManagement/ServerSideTicketStoreTests.cs b/test/Bff.Tests/SessionManagement/ServerSideTicketStoreTests.cs similarity index 100% rename from test/Duende.Bff.Tests/SessionManagement/ServerSideTicketStoreTests.cs rename to test/Bff.Tests/SessionManagement/ServerSideTicketStoreTests.cs diff --git a/test/Duende.Bff.Tests/TestFramework/ApiResponse.cs b/test/Bff.Tests/TestFramework/ApiResponse.cs similarity index 100% rename from test/Duende.Bff.Tests/TestFramework/ApiResponse.cs rename to test/Bff.Tests/TestFramework/ApiResponse.cs diff --git a/test/Duende.Bff.Tests/TestFramework/GenericHost.cs b/test/Bff.Tests/TestFramework/GenericHost.cs similarity index 100% rename from test/Duende.Bff.Tests/TestFramework/GenericHost.cs rename to test/Bff.Tests/TestFramework/GenericHost.cs diff --git a/test/Duende.Bff.Tests/TestFramework/MockClock.cs b/test/Bff.Tests/TestFramework/MockClock.cs similarity index 100% rename from test/Duende.Bff.Tests/TestFramework/MockClock.cs rename to test/Bff.Tests/TestFramework/MockClock.cs diff --git a/test/Duende.Bff.Tests/TestFramework/MockExternalAuthenticationHandler.cs b/test/Bff.Tests/TestFramework/MockExternalAuthenticationHandler.cs similarity index 100% rename from test/Duende.Bff.Tests/TestFramework/MockExternalAuthenticationHandler.cs rename to test/Bff.Tests/TestFramework/MockExternalAuthenticationHandler.cs diff --git a/test/Duende.Bff.Tests/TestFramework/MockSessionRevocationService.cs b/test/Bff.Tests/TestFramework/MockSessionRevocationService.cs similarity index 100% rename from test/Duende.Bff.Tests/TestFramework/MockSessionRevocationService.cs rename to test/Bff.Tests/TestFramework/MockSessionRevocationService.cs diff --git a/test/Duende.Bff.Tests/TestFramework/Records.cs b/test/Bff.Tests/TestFramework/Records.cs similarity index 100% rename from test/Duende.Bff.Tests/TestFramework/Records.cs rename to test/Bff.Tests/TestFramework/Records.cs diff --git a/test/Duende.Bff.Tests/TestFramework/TestBrowserClient.cs b/test/Bff.Tests/TestFramework/TestBrowserClient.cs similarity index 100% rename from test/Duende.Bff.Tests/TestFramework/TestBrowserClient.cs rename to test/Bff.Tests/TestFramework/TestBrowserClient.cs diff --git a/test/Duende.Bff.Tests/TestFramework/TestLoggerProvider.cs b/test/Bff.Tests/TestFramework/TestLoggerProvider.cs similarity index 100% rename from test/Duende.Bff.Tests/TestFramework/TestLoggerProvider.cs rename to test/Bff.Tests/TestFramework/TestLoggerProvider.cs diff --git a/test/Duende.Bff.Tests/TestFramework/TestPayload.cs b/test/Bff.Tests/TestFramework/TestPayload.cs similarity index 100% rename from test/Duende.Bff.Tests/TestFramework/TestPayload.cs rename to test/Bff.Tests/TestFramework/TestPayload.cs diff --git a/test/Duende.Bff.Tests/TestHosts/ApiHost.cs b/test/Bff.Tests/TestHosts/ApiHost.cs similarity index 100% rename from test/Duende.Bff.Tests/TestHosts/ApiHost.cs rename to test/Bff.Tests/TestHosts/ApiHost.cs diff --git a/test/Duende.Bff.Tests/TestHosts/BffHost.cs b/test/Bff.Tests/TestHosts/BffHost.cs similarity index 100% rename from test/Duende.Bff.Tests/TestHosts/BffHost.cs rename to test/Bff.Tests/TestHosts/BffHost.cs diff --git a/test/Duende.Bff.Tests/TestHosts/BffHostUsingResourceNamedTokens.cs b/test/Bff.Tests/TestHosts/BffHostUsingResourceNamedTokens.cs similarity index 100% rename from test/Duende.Bff.Tests/TestHosts/BffHostUsingResourceNamedTokens.cs rename to test/Bff.Tests/TestHosts/BffHostUsingResourceNamedTokens.cs diff --git a/test/Duende.Bff.Tests/TestHosts/BffIntegrationTestBase.cs b/test/Bff.Tests/TestHosts/BffIntegrationTestBase.cs similarity index 100% rename from test/Duende.Bff.Tests/TestHosts/BffIntegrationTestBase.cs rename to test/Bff.Tests/TestHosts/BffIntegrationTestBase.cs diff --git a/test/Duende.Bff.Tests/TestHosts/FailureAccessTokenRetriever.cs b/test/Bff.Tests/TestHosts/FailureAccessTokenRetriever.cs similarity index 100% rename from test/Duende.Bff.Tests/TestHosts/FailureAccessTokenRetriever.cs rename to test/Bff.Tests/TestHosts/FailureAccessTokenRetriever.cs diff --git a/test/Duende.Bff.Tests/TestHosts/IdentityServerHost.cs b/test/Bff.Tests/TestHosts/IdentityServerHost.cs similarity index 100% rename from test/Duende.Bff.Tests/TestHosts/IdentityServerHost.cs rename to test/Bff.Tests/TestHosts/IdentityServerHost.cs diff --git a/test/Duende.Bff.Tests/TestHosts/TestAccessTokenRetriever.cs b/test/Bff.Tests/TestHosts/TestAccessTokenRetriever.cs similarity index 100% rename from test/Duende.Bff.Tests/TestHosts/TestAccessTokenRetriever.cs rename to test/Bff.Tests/TestHosts/TestAccessTokenRetriever.cs diff --git a/test/Duende.Bff.Tests/TestHosts/YarpBffHost.cs b/test/Bff.Tests/TestHosts/YarpBffHost.cs similarity index 100% rename from test/Duende.Bff.Tests/TestHosts/YarpBffHost.cs rename to test/Bff.Tests/TestHosts/YarpBffHost.cs diff --git a/test/Duende.Bff.Tests/TestHosts/YarpBffIntegrationTestBase.cs b/test/Bff.Tests/TestHosts/YarpBffIntegrationTestBase.cs similarity index 100% rename from test/Duende.Bff.Tests/TestHosts/YarpBffIntegrationTestBase.cs rename to test/Bff.Tests/TestHosts/YarpBffIntegrationTestBase.cs diff --git a/test/Duende.Bff.Blazor.Client.UnitTests/Duende.Bff.Blazor.Client.UnitTests.csproj b/test/Duende.Bff.Blazor.Client.UnitTests/Duende.Bff.Blazor.Client.UnitTests.csproj deleted file mode 100644 index 5626771b..00000000 --- a/test/Duende.Bff.Blazor.Client.UnitTests/Duende.Bff.Blazor.Client.UnitTests.csproj +++ /dev/null @@ -1,30 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - - - - - diff --git a/test/Duende.Bff.Blazor.UnitTests/Duende.Bff.Blazor.UnitTests.csproj b/test/Duende.Bff.Blazor.UnitTests/Duende.Bff.Blazor.UnitTests.csproj deleted file mode 100644 index 2c104e3d..00000000 --- a/test/Duende.Bff.Blazor.UnitTests/Duende.Bff.Blazor.UnitTests.csproj +++ /dev/null @@ -1,29 +0,0 @@ - - - - net8.0 - enable - enable - - false - true - - - - - - - - - - - - - - - - - - - - diff --git a/test/Duende.Bff.EntityFramework.Tests/Duende.Bff.EntityFramework.Tests.csproj b/test/Duende.Bff.EntityFramework.Tests/Duende.Bff.EntityFramework.Tests.csproj deleted file mode 100644 index e4d29cc7..00000000 --- a/test/Duende.Bff.EntityFramework.Tests/Duende.Bff.EntityFramework.Tests.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - net8.0 - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - - -