microsoft / microsoft/node-api-dotnet
Embedded njs calling back into C#
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 783
- フォーク
- 80
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I am trialing this library as a replacement for a custom C#/njs embedding framework that we have in use right now. In order to work as a replacement, I need to both:
- Call from C# into the embedded njs environment
- Call from the embedded njs environment into C#
(Ideally with compile-time code generation)
I have managed to:
- get calls from nodejs into C# via the NPM node-api-dotnet
- get the embedded setup working (although the documentation is missing a few steps) calling C#->JS
But tossing nodejs.Import("node-api-dotnet") into a nodejs.Run throws exceptions.
Is bidirectional calling into/out of the embedded libnode possible? This is crucial for the project, so it will determine whether this library is viable for us.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、組み込みセットアップと、nodejs.Run 内で失敗する nodejs.Import("node-api-dotnet") 呼び出しを再現します。組み込みの libnode と C# の間の双方向呼び出しがサポートされているかを、欠落している文書化済みのセットアップ手順も含めて調査します。実現可能性を確認し、必要なアプローチまたは制限事項を文書化できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, javascript, nodejs
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100