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