This issue tracks the roadmap for the native C# package Plotly.NET.CSharp
Plans on how to design and develop the C# API have been laid out and tracked in #285 and #322.
The general roadmap implementation-wise is the following:
The way to go for the future is clearly code generation. The F# core API could in theory also created from the plotly.js JSON schema, but has many features that would be hard to automate such as type safety for enums etc.
To prevent having to namually maintain 2 code bases though, we should at least try to auto-generate the C# API based on the F# API, over which we have full control.
This issue tracks the roadmap for the native C# package Plotly.NET.CSharp
Plans on how to design and develop the C# API have been laid out and tracked in #285 and #322.
The general roadmap implementation-wise is the following:
Progress on this side has been made on the 'csharp-object-bindings' branch. In short, all these bindings can be auto-generated by using reflection on the F# objects. Might be worth to look into C# source generators
The way to go for the future is clearly code generation. The F# core API could in theory also created from the plotly.js JSON schema, but has many features that would be hard to automate such as type safety for enums etc.
To prevent having to namually maintain 2 code bases though, we should at least try to auto-generate the C# API based on the F# API, over which we have full control.