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

Remove support for remoting #507

Merged
merged 1 commit into from Jun 9, 2020
Merged

Remove support for remoting #507

merged 1 commit into from Jun 9, 2020

Conversation

stakx
Copy link
Member

@stakx stakx commented Jun 8, 2020

This is a follow-up to #501 (comment), where it was mentioned that there's no future for .NET remoting.

We can keep some minimal support for .NET remoting where it doesn't cost us anything (excluding MarshalByRefObject methods during proxy type creation), but there will be functional changes with our net45 target. See the commit message for details.

@jonorossi, I've never worked much with app domains and remoting, so I figured we might just gear v5's feature set towards "modern" .NET; regarding backwards compatibility (i.e. net45), I'll defer to your judgement whether these changes are acceptable.

src/Castle.Core/DynamicProxy/ProxyUtil.cs Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
 * Types in this library that used to subclass `MarshalByRefObject`
   no longer do so.

 * `ProxyUtil.IsProxy` no longer tests for transparent proxies (i.e.
   remoting proxies created by the runtime); that method now tests ex-
   clusively for proxies created by DynamicProxy.

 * DynamicProxy will still recognize `MarshalByRefObject` and exclude
   that type's methods when creating a proxy type.
@stakx stakx changed the title Minimize support for remoting Remove support for remoting Jun 9, 2020
@stakx stakx merged commit 4871e9b into castleproject:master Jun 9, 2020
@stakx stakx deleted the remoting branch June 9, 2020 19:11
@stakx stakx added this to the v5.0.0 milestone Jun 15, 2020
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.

None yet

2 participants