Skip to content

Instantly share code, notes, and snippets.

@kasunkv
Created January 16, 2020 14:20
Show Gist options
  • Save kasunkv/65a04c61f26a7937095770d5340ce752 to your computer and use it in GitHub Desktop.
Save kasunkv/65a04c61f26a7937095770d5340ce752 to your computer and use it in GitHub Desktop.
Add Feature Management services into DI
using Microsoft.FeatureManagement;
namespace MusicStore.Web
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
...
// Configure Feature Management
services.AddFeatureManagement();
...
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment