Skip to content

Commit

Permalink
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -22,9 +22,11 @@ public BackdoorController(IConfigCatClient configCatClient)
// GET: api/backdoor/configcatchanged
[HttpGet]
[Route("configcatchanged")]
public void ConfigCatChanged()
public IActionResult ConfigCatChanged()
{
this.configCatClient.ForceRefresh();

return this.Ok("configCatClient.ForceRefresh() invoked");
}
}
}
1 change: 0 additions & 1 deletion samples/ASP.NETCore/WebApplication/Startup.cs
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
using Microsoft.Extensions.DependencyInjection;

using ConfigCat.Client;
using ConfigCat.Client.Configuration;

namespace WebApplication
{
5 changes: 4 additions & 1 deletion samples/ASP.NETCore/WebApplication/WebApplication.csproj
Original file line number Diff line number Diff line change
@@ -5,9 +5,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ConfigCat.Client" Version="2.1.4" />
<PackageReference Include="ConfigCat.Client" Version="2.5.6" />
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.2.7" />
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory" Version="5.2.4" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.0.0" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Net.Security" Version="4.3.2" />
</ItemGroup>

<ItemGroup>

0 comments on commit d2ab047

Please sign in to comment.