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

Support of .NET libraries #5

Open
3F opened this issue Sep 15, 2016 · 0 comments
Open

Support of .NET libraries #5

3F opened this issue Sep 15, 2016 · 0 comments

Comments

@3F
Copy link
Owner

3F commented Sep 15, 2016

It probably should be useful features for work without domains and their common problems with unloading assemblies.

So main idea (noticed here 3F/DllExport#9) to provide unified work with managed and unmanaged code via lightweight bridge.

using(var l = new ConariL("managed_net_lib.dll")) {
    // any convenient work via Bridge & dynamic API layer
}
// fully unloaded !

Basic example is a https://github.com/3F/vsSolutionBuildEvent

where Provider in the role of the binder between API & main core:

But do not forget about ~ access security and partially-trusted code, etc.

I don't think about fully compatible way, but the any useful bridge, like in example above, this is what we need...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant