File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,21 @@ Follow the steps below to add this functionality to your project:
4949 });
5050 ```
5151
52+ * **Applications with Middle Tier Security without multi-tenancy** (`YourSolutionName.MiddleTier\Startup.cs`):
53+
54+ ```cs{4-10}
55+ public class Startup
56+ //...
57+ public void ConfigureServices(IServiceCollection services) {
58+ services.AddScoped<SequenceGeneratorProvider>();
59+ services.Configure<SequenceGeneratorOptions>(opt => {
60+ opt.GetConnectionString = (serviceProvider) => {
61+ var options = serviceProvider.GetRequiredService<IOptions<DataServerSecurityOptions>>();
62+ return options.Value.ConnectionString;
63+ };
64+ });
65+ ```
66+
5267 * **ASP.NET Core Blazor multi-tenant applications** (`YourSolutionName\YourSolutionName.Blazor.Server\Startup.cs`)
5368
5469 ```cs{7-12}
@@ -83,7 +98,7 @@ Follow the steps below to add this functionality to your project:
8398 });
8499 ```
85100
86- * **Applications with Middle Tier Security** (`YourSolutionName.MiddleTier\Startup.cs`):
101+ * **Multi-tenant applications with Middle Tier Security** (`YourSolutionName.MiddleTier\Startup.cs`):
87102
88103 ```cs{4-10}
89104 public class Startup
You can’t perform that action at this time.
0 commit comments