Skip to content

Refactor runtime host initialization#1

Merged
Denny09310 merged 1 commit into
feature/electron-startup-optionsfrom
codex/remove-electronnetruntime-class-and-improve-di
Nov 19, 2025
Merged

Refactor runtime host initialization#1
Denny09310 merged 1 commit into
feature/electron-startup-optionsfrom
codex/remove-electronnetruntime-class-and-improve-di

Conversation

@Denny09310

Copy link
Copy Markdown
Owner

Summary

  • introduce IElectronHost, ElectronHost, and ElectronHostEnvironment to encapsulate runtime state and expose it through dependency injection instead of the brittle ElectronNetRuntime static class
  • update runtime controllers, bridge components, samples, integration tests, and documentation to consume the new host abstraction and register it from ASP.NET builders
  • add configurable options handling plus shared default constants to simplify port handling and remove direct static dependencies

Testing

  • dotnet build src/ElectronNET.API/ElectronNET.API.csproj (fails: dotnet command is not available in the execution environment)

Codex Task

@Denny09310 Denny09310 merged commit c38d966 into feature/electron-startup-options Nov 19, 2025
1 of 3 checks passed
@Denny09310 Denny09310 deleted the codex/remove-electronnetruntime-class-and-improve-di branch November 19, 2025 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant