EricksonLopez.Ecosystem (Unpublished / Local-Only)
L5UnpublishedNot on NuGetLocal HEAD: v2.0.0AOT: Full
Unpublished / Local-Only Repository:
dotnet-ecosystem(EricksonLopez.Ecosystem.DependencyInjection,2.0.0local) has no public GitHub remote (githubUrl: null) and 0 published NuGet packages (nugetVersion: null).
EricksonLopez.Ecosystem.DependencyInjection (L5, net8.0;net9.0;net10.0, Full Native AOT) provides a fluent startup composition builder (AddEricksonLopezEcosystem and ValidateEricksonLopezEcosystem) with strict environment guardrails and zero internal EricksonLopez.* compile-time dependencies.
using System;using EricksonLopez.Ecosystem.DependencyInjection;using Microsoft.Extensions.DependencyInjection;
namespace Example.EcosystemHost;
public static class EcosystemComposition{ public static void ConfigureServices(IServiceCollection services) { services.AddEricksonLopezEcosystem(builder => { builder.Configure(options => { options.ApplicationName = "Orders.Service"; options.Environment = "Production"; options.EnableDiagnostics = true; options.ValidateOnBuild = true; });
builder.WithResilience(resilience => { resilience.WithDefaultTimeout(TimeSpan.FromSeconds(10)); resilience.WithMaxRetryAttempts(3); resilience.WithCircuitBreaker(TimeSpan.FromSeconds(30)); });
builder.WithDiagnostics(diag => diag.EnableOpenTelemetry()); });
services.ValidateEricksonLopezEcosystem(); }}IEcosystemBuilder:Configure,WithSecurity,WithResilience,WithPersistence,WithDiagnostics.EcosystemOptions:ApplicationName("EricksonLopez.Application"),Environment("Production"),EnableDiagnostics(true),ValidateOnBuild(true),Metadata(IDictionary<string, string>).IEcosystemSecurityBuilder:UseDevelopmentStub()(throwsEcosystemInvariantExceptionwhenEnvironmentis"Production"or"Prod"),WithKeyVault(...),WithSecretPrefix(...)(rejects..,/,\).IEcosystemResilienceBuilder: Bounded ranges —WithDefaultTimeout(0, 10m],WithMaxRetryAttempts[1, 10],WithCircuitBreaker(0, 1h].IEcosystemReport/EcosystemReport: ExposesHasCapability(string)and validates startup invariants viaValidateEricksonLopezEcosystem().
- Always run
services.ValidateEricksonLopezEcosystem()during host startup so missingIEcosystemReportregistrations or production stub misuse fail fast withEcosystemInvariantException. - Analyzers & Benchmarks:
0Roslyn analyzers; no benchmarks exist (hasBenchmarks: false).
Migration & Local Changelog History (Unpublished)
Section titled “Migration & Local Changelog History (Unpublished)”There are 0 published NuGet/GitHub versions. Local CHANGELOG.md records local iterations only:
[2.0.0]— 2026-11-09 (Local Only):BC-001–BC-005, including removing the transitive dependency onEricksonLopez.Result.[1.0.0]— 2026-08-20 (Local Only): Initial localIEcosystemBuilderprototype.