Remove redis
This commit is contained in:
parent
52925f0748
commit
3ef7971fec
|
@ -23,17 +23,8 @@ public class Startup {
|
|||
#if (DEBUG)
|
||||
services.AddControllers().AddRazorRuntimeCompilation();
|
||||
services.AddControllers();
|
||||
services.AddStackExchangeRedisCache(options => {
|
||||
options.Configuration = "localhost";
|
||||
options.InstanceName = "trainav_development";
|
||||
});
|
||||
#else
|
||||
services.AddControllers();
|
||||
services.AddStackExchangeRedisCache(options =>
|
||||
{
|
||||
options.Configuration = "localhost";
|
||||
options.InstanceName = "trainav_production";
|
||||
});
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
<PackageReference Include="linq2db" Version="3.2.3" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.2" />
|
||||
<PackageReference Include="Microsoft.Data.Sqlite" Version="6.0.3" />
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="6.0.2" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.115" />
|
||||
<PackageReference Include="System.Reflection.TypeExtensions" Version="4.7.0" />
|
||||
|
|
Reference in a new issue