Skip to content

Tianfei-Wang/StreamJsonRpcTcp

Repository files navigation

StreamJsonRpcTcp

Because .NetRemoting communication mechanism is canceled for. Net6, this project is used to test its alternative instance function. The test is used for interprocess communication (using StreamJsonRpc https://github.com/microsoft/vs-streamjsonrpc )。 Currently tested:

Basic architecture establishment between two processes (completed)

EventHandler delegate event (passed)

Custom delegate event (passed)

Call test without return value (passed)

-->> Using StreamJsonRpc to pass delegate callbacks between processes? Now that we have implemented the basic parameter transfer between two processes, this is not enough. Now I want to implement the delegate callback function between two processes, which requires passing the delegate (method) as an object to the other process, but it fails.

Call with Taskreturn value type (failure, Has problems in Json deserialization)

Taskreturn value test with base class object. (failure, Has problems in Json deserialization)

The project JsonRpc_Server must be started first, and then the project JsonRpcClient can be started. Click the Send button for message transmission

(Closed)2022-07-01 You can only use EventHandler to perform message transmission from Exe2 to Exe1, but you cannot use custom delegates to implement message transmission from Exe1 to Exe2.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages