Skip to content

[Feature]: Integrate Replane SDK with Microsoft.Extensions.Configuration #13

Description

@gimmickj

Problem Statement

Currently the .NET SDK requires calling ReplaneClient.Get() directly.

For ASP.NET Core applications, it would be better to provide an IConfiguration provider:

builder.Configuration.AddReplane(...)

Benefits:

  • Works with IOptions
  • Works with IOptionsMonitor
  • No business code changes
  • Compatible with existing ASP.NET Core configuration ecosystem
  • Supports runtime configuration reload

Example:

builder.Configuration
.AddReplane(options =>
{
options.ApiKey = "...";
});

Proposed Solution

I would like to see native support for Microsoft.Extensions.Configuration.

The SDK currently requires calling Replane APIs directly, but ASP.NET Core applications usually consume configuration through IConfiguration.

A Replane IConfigurationProvider implementation would allow developers to use Replane with:

  • IConfiguration
  • IOptions
  • IOptionsMonitor
  • Configuration binding
  • Dynamic configuration reload

This would provide a more idiomatic ASP.NET Core experience.

Alternatives Considered

No response

Feature Area

Client API

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions