Skip to content

Commit 112badc

Browse files
committed
Testing application resilience
1 parent 15254cd commit 112badc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
builder.Services.AddRazorPages();
1313

1414
builder.Services.AddDbContext<InventoryDbContext>(options =>
15-
//options.UseMySQL(builder.Configuration.GetConnectionString("AZURE_MYSQL_CONNECTIONSTRING"))
16-
options.UseInMemoryDatabase("TechInventoryDB")
15+
options.UseMySQL(builder.Configuration.GetConnectionString("AZURE_MYSQL_CONNECTIONSTRING"))
1716
);
1817

1918
builder.Services.AddScoped<IUnitOfWork, UnitOfWork>();

0 commit comments

Comments
 (0)