├── .gitignore ├── README.md ├── Sample-DbTransport.sln ├── Sample-DbTransport.sln.DotSettings ├── docker-compose.yml ├── src ├── Sample.Api.SqlServer │ ├── Controllers │ │ └── RegistrationController.cs │ ├── Migrations │ │ ├── 20230815145325_InitialSqlServer.Designer.cs │ │ ├── 20230815145325_InitialSqlServer.cs │ │ ├── 20241004184901_Updated.Designer.cs │ │ ├── 20241004184901_Updated.cs │ │ ├── 20250211032911_Updated2.Designer.cs │ │ ├── 20250211032911_Updated2.cs │ │ └── SampleDbContextModelSnapshot.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Sample.Api.SqlServer.csproj │ ├── SqlServerTransportExtensions.cs │ └── appsettings.json ├── Sample.Api │ ├── Controllers │ │ └── RegistrationController.cs │ ├── Migrations │ │ ├── 20230706011449_Initial.Designer.cs │ │ ├── 20230706011449_Initial.cs │ │ ├── 20241004184848_Updated.Designer.cs │ │ ├── 20241004184848_Updated.cs │ │ └── SampleDbContextModelSnapshot.cs │ ├── PgSqlTransportExtensions.cs │ ├── Program.cs │ ├── Properties │ │ └── launchSettings.json │ ├── Sample.Api.csproj │ └── appsettings.json ├── Sample.Components │ ├── Activities │ │ ├── AssignWaiverActivity.cs │ │ ├── AssignWaiverArguments.cs │ │ ├── EventRegistrationActivity.cs │ │ ├── EventRegistrationArguments.cs │ │ ├── EventRegistrationLog.cs │ │ ├── LicenseVerificationActivity.cs │ │ ├── LicenseVerificationArguments.cs │ │ ├── ProcessPaymentActivity.cs │ │ ├── ProcessPaymentArguments.cs │ │ └── ProcessPaymentLog.cs │ ├── ComponentsNamespace.cs │ ├── Consumers │ │ ├── ProcessRegistrationConsumer.cs │ │ └── SubmitRegistrationConsumer.cs │ ├── CorrelationInitializer.cs │ ├── DbEndpointAddressProvider.cs │ ├── IEndpointAddressProvider.cs │ ├── LongTransientException.cs │ ├── MigrationHostedService.cs │ ├── PartitionKeyExtensions.cs │ ├── Sample.Components.csproj │ ├── SampleDbContext.cs │ ├── Services │ │ ├── ISecurePaymentInfoService.cs │ │ └── SecurePaymentInfoService.cs │ ├── StateMachines │ │ ├── RegistrationState.cs │ │ ├── RegistrationStateInstanceMap.cs │ │ └── RegistrationStateMachine.cs │ ├── StringExtensions.cs │ └── TransientException.cs └── Sample.Contracts │ ├── GetRegistrationStatus.cs │ ├── ProcessRegistration.cs │ ├── RegistrationCompleted.cs │ ├── RegistrationDetail.cs │ ├── RegistrationLicenseVerificationFailed.cs │ ├── RegistrationPaymentFailed.cs │ ├── RegistrationReceived.cs │ ├── RegistrationStatus.cs │ ├── RetryDelayExpired.cs │ ├── Sample.Contracts.csproj │ ├── SecurePaymentInfo.cs │ └── SubmitRegistration.cs └── tests ├── Sample.Tests ├── Sample.Tests.csproj ├── UnitTest1.cs └── Usings.cs └── SampleRequests.http /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/README.md -------------------------------------------------------------------------------- /Sample-DbTransport.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/Sample-DbTransport.sln -------------------------------------------------------------------------------- /Sample-DbTransport.sln.DotSettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/Sample-DbTransport.sln.DotSettings -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Controllers/RegistrationController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Controllers/RegistrationController.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Migrations/20230815145325_InitialSqlServer.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Migrations/20230815145325_InitialSqlServer.Designer.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Migrations/20230815145325_InitialSqlServer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Migrations/20230815145325_InitialSqlServer.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Migrations/20241004184901_Updated.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Migrations/20241004184901_Updated.Designer.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Migrations/20241004184901_Updated.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Migrations/20241004184901_Updated.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Migrations/20250211032911_Updated2.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Migrations/20250211032911_Updated2.Designer.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Migrations/20250211032911_Updated2.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Migrations/20250211032911_Updated2.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Migrations/SampleDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Migrations/SampleDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Program.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/Sample.Api.SqlServer.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/Sample.Api.SqlServer.csproj -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/SqlServerTransportExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/SqlServerTransportExtensions.cs -------------------------------------------------------------------------------- /src/Sample.Api.SqlServer/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api.SqlServer/appsettings.json -------------------------------------------------------------------------------- /src/Sample.Api/Controllers/RegistrationController.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/Controllers/RegistrationController.cs -------------------------------------------------------------------------------- /src/Sample.Api/Migrations/20230706011449_Initial.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/Migrations/20230706011449_Initial.Designer.cs -------------------------------------------------------------------------------- /src/Sample.Api/Migrations/20230706011449_Initial.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/Migrations/20230706011449_Initial.cs -------------------------------------------------------------------------------- /src/Sample.Api/Migrations/20241004184848_Updated.Designer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/Migrations/20241004184848_Updated.Designer.cs -------------------------------------------------------------------------------- /src/Sample.Api/Migrations/20241004184848_Updated.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/Migrations/20241004184848_Updated.cs -------------------------------------------------------------------------------- /src/Sample.Api/Migrations/SampleDbContextModelSnapshot.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/Migrations/SampleDbContextModelSnapshot.cs -------------------------------------------------------------------------------- /src/Sample.Api/PgSqlTransportExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/PgSqlTransportExtensions.cs -------------------------------------------------------------------------------- /src/Sample.Api/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/Program.cs -------------------------------------------------------------------------------- /src/Sample.Api/Properties/launchSettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/Properties/launchSettings.json -------------------------------------------------------------------------------- /src/Sample.Api/Sample.Api.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/Sample.Api.csproj -------------------------------------------------------------------------------- /src/Sample.Api/appsettings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Api/appsettings.json -------------------------------------------------------------------------------- /src/Sample.Components/Activities/AssignWaiverActivity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/AssignWaiverActivity.cs -------------------------------------------------------------------------------- /src/Sample.Components/Activities/AssignWaiverArguments.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/AssignWaiverArguments.cs -------------------------------------------------------------------------------- /src/Sample.Components/Activities/EventRegistrationActivity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/EventRegistrationActivity.cs -------------------------------------------------------------------------------- /src/Sample.Components/Activities/EventRegistrationArguments.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/EventRegistrationArguments.cs -------------------------------------------------------------------------------- /src/Sample.Components/Activities/EventRegistrationLog.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/EventRegistrationLog.cs -------------------------------------------------------------------------------- /src/Sample.Components/Activities/LicenseVerificationActivity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/LicenseVerificationActivity.cs -------------------------------------------------------------------------------- /src/Sample.Components/Activities/LicenseVerificationArguments.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/LicenseVerificationArguments.cs -------------------------------------------------------------------------------- /src/Sample.Components/Activities/ProcessPaymentActivity.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/ProcessPaymentActivity.cs -------------------------------------------------------------------------------- /src/Sample.Components/Activities/ProcessPaymentArguments.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/ProcessPaymentArguments.cs -------------------------------------------------------------------------------- /src/Sample.Components/Activities/ProcessPaymentLog.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Activities/ProcessPaymentLog.cs -------------------------------------------------------------------------------- /src/Sample.Components/ComponentsNamespace.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/ComponentsNamespace.cs -------------------------------------------------------------------------------- /src/Sample.Components/Consumers/ProcessRegistrationConsumer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Consumers/ProcessRegistrationConsumer.cs -------------------------------------------------------------------------------- /src/Sample.Components/Consumers/SubmitRegistrationConsumer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Consumers/SubmitRegistrationConsumer.cs -------------------------------------------------------------------------------- /src/Sample.Components/CorrelationInitializer.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/CorrelationInitializer.cs -------------------------------------------------------------------------------- /src/Sample.Components/DbEndpointAddressProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/DbEndpointAddressProvider.cs -------------------------------------------------------------------------------- /src/Sample.Components/IEndpointAddressProvider.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/IEndpointAddressProvider.cs -------------------------------------------------------------------------------- /src/Sample.Components/LongTransientException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/LongTransientException.cs -------------------------------------------------------------------------------- /src/Sample.Components/MigrationHostedService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/MigrationHostedService.cs -------------------------------------------------------------------------------- /src/Sample.Components/PartitionKeyExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/PartitionKeyExtensions.cs -------------------------------------------------------------------------------- /src/Sample.Components/Sample.Components.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Sample.Components.csproj -------------------------------------------------------------------------------- /src/Sample.Components/SampleDbContext.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/SampleDbContext.cs -------------------------------------------------------------------------------- /src/Sample.Components/Services/ISecurePaymentInfoService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Services/ISecurePaymentInfoService.cs -------------------------------------------------------------------------------- /src/Sample.Components/Services/SecurePaymentInfoService.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/Services/SecurePaymentInfoService.cs -------------------------------------------------------------------------------- /src/Sample.Components/StateMachines/RegistrationState.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/StateMachines/RegistrationState.cs -------------------------------------------------------------------------------- /src/Sample.Components/StateMachines/RegistrationStateInstanceMap.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/StateMachines/RegistrationStateInstanceMap.cs -------------------------------------------------------------------------------- /src/Sample.Components/StateMachines/RegistrationStateMachine.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/StateMachines/RegistrationStateMachine.cs -------------------------------------------------------------------------------- /src/Sample.Components/StringExtensions.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/StringExtensions.cs -------------------------------------------------------------------------------- /src/Sample.Components/TransientException.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Components/TransientException.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/GetRegistrationStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/GetRegistrationStatus.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/ProcessRegistration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/ProcessRegistration.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/RegistrationCompleted.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/RegistrationCompleted.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/RegistrationDetail.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/RegistrationDetail.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/RegistrationLicenseVerificationFailed.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/RegistrationLicenseVerificationFailed.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/RegistrationPaymentFailed.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/RegistrationPaymentFailed.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/RegistrationReceived.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/RegistrationReceived.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/RegistrationStatus.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/RegistrationStatus.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/RetryDelayExpired.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/RetryDelayExpired.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/Sample.Contracts.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/Sample.Contracts.csproj -------------------------------------------------------------------------------- /src/Sample.Contracts/SecurePaymentInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/SecurePaymentInfo.cs -------------------------------------------------------------------------------- /src/Sample.Contracts/SubmitRegistration.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/src/Sample.Contracts/SubmitRegistration.cs -------------------------------------------------------------------------------- /tests/Sample.Tests/Sample.Tests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/tests/Sample.Tests/Sample.Tests.csproj -------------------------------------------------------------------------------- /tests/Sample.Tests/UnitTest1.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/tests/Sample.Tests/UnitTest1.cs -------------------------------------------------------------------------------- /tests/Sample.Tests/Usings.cs: -------------------------------------------------------------------------------- 1 | global using Xunit; -------------------------------------------------------------------------------- /tests/SampleRequests.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MassTransit/Sample-DbTransport/HEAD/tests/SampleRequests.http --------------------------------------------------------------------------------