Implement user login and registration; update database connection management to be per use not a singleton by adjusting service lifetimes in DI.

This commit is contained in:
2026-02-26 18:45:15 -08:00
parent 6172d1c373
commit 79ee297e61
6 changed files with 194 additions and 90 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ if (args.Contains("Pull-Stock-Data")) {
builder.Services.AddRazorComponents().AddInteractiveServerComponents();
// Insert the DB driver for Dependency Injection
builder.Services.AddSingleton<DbDriver>();
builder.Services.AddScoped<DbDriver>();
// Insert the python modlue for Dependency Injection
builder.Services.AddSingleton(interopModule);