testing use of redis backend
This commit is contained in:
parent
9d92cd47e1
commit
03968bb11f
@ -6,7 +6,9 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.SignalR.StackExchangeRedis" Version="8.0.1" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.15.1" />
|
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.15.1" />
|
||||||
|
<PackageReference Include="StackExchange.Redis" Version="2.7.17" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -21,7 +21,7 @@ namespace BinaryDad.Coding
|
|||||||
public void ConfigureServices(IServiceCollection services)
|
public void ConfigureServices(IServiceCollection services)
|
||||||
{
|
{
|
||||||
services.AddMvc();
|
services.AddMvc();
|
||||||
services.AddSignalR();
|
services.AddSignalR().AddStackExchangeRedis("redis-service:6379");
|
||||||
|
|
||||||
services.AddHttpsRedirection(options =>
|
services.AddHttpsRedirection(options =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user