Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor RemoteNET projects #13

Merged
merged 20 commits into from
Apr 1, 2024
Merged

Refactor RemoteNET projects #13

merged 20 commits into from
Apr 1, 2024

Conversation

Qonfused
Copy link
Member

@Qonfused Qonfused commented Mar 30, 2024

This pull request is a major refactor of the RemoteNET projects, merging the RemoteNET and ScubaDiver.API projects with the MTGOSDK.Core.Remoting namespace. This accompanies fixes across RemoteNET projects to simplify the project architecture and make it more consistent with the rest of the library.

The MTGOSDK library also has an additional netstandard2.0 target, which exports only the MTGOSDK.Core namespace. This is used by the ScubaDiver assembly to import the internal (RemoteNET) API from the MTGOSDK.Core.Remoting.Interop namespace.

Moves the RemoteNET and ScubaDiver.API libraries into the main MTGOSDK project.

This allows for tighter coupling of the type-marshalling/proxy protocol being developed for the main library, which should be preferred over the previous RemoteNET approach.

TODO: Refactor and deduplicate RemoteNET + API architecture
@Qonfused Qonfused force-pushed the refactor-remotenet branch from 3367019 to c120cf7 Compare March 31, 2024 03:15
@Qonfused Qonfused force-pushed the refactor-remotenet branch 3 times, most recently from ef6bd74 to cd114b6 Compare March 31, 2024 06:27
@Qonfused Qonfused marked this pull request as ready for review April 1, 2024 19:55
@Qonfused Qonfused merged commit deba5ac into main Apr 1, 2024
1 check passed
@Qonfused Qonfused self-assigned this Apr 1, 2024
@Qonfused Qonfused deleted the refactor-remotenet branch April 14, 2024 23:07
Qonfused added a commit that referenced this pull request May 24, 2024
Removes an old workaround for fetching unbound dynamic objects before binding the interface type in reflection cache. Due to architectural changes in #13 this is no longer needed and can be removed to fully harden security of the API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant