Skip to content

Commit ca8804c

Browse files
author
Cephas Lin
committed
Remove infra files
1 parent 974362e commit ca8804c

File tree

6 files changed

+10
-530
lines changed

6 files changed

+10
-530
lines changed

Program.cs

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@
99
options.UseSqlServer(builder.Configuration.GetConnectionString("MyDbConnection")));
1010
builder.Services.AddDistributedMemoryCache();
1111
}
12-
else
13-
{
14-
builder.Services.AddDbContext<MyDatabaseContext>(options =>
15-
options.UseSqlServer(builder.Configuration.GetConnectionString("AZURE_SQL_CONNECTIONSTRING")));
16-
builder.Services.AddStackExchangeRedisCache(options =>
17-
{
18-
options.Configuration = builder.Configuration["AZURE_REDIS_CONNECTIONSTRING"];
19-
options.InstanceName = "SampleInstance";
20-
});
21-
}
22-
12+
// else
13+
// {
14+
// builder.Services.AddDbContext<MyDatabaseContext>(options =>
15+
// options.UseSqlServer(builder.Configuration.GetConnectionString("AZURE_SQL_CONNECTIONSTRING")));
16+
// builder.Services.AddStackExchangeRedisCache(options =>
17+
// {
18+
// options.Configuration = builder.Configuration["AZURE_REDIS_CONNECTIONSTRING"];
19+
// options.InstanceName = "SampleInstance";
20+
// });
21+
// }
2322

2423
// Add services to the container.
2524
builder.Services.AddControllersWithViews();

azure.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

infra/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

infra/main.bicep

Lines changed: 0 additions & 45 deletions
This file was deleted.

infra/main.parameters.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)