Conari icon indicating copy to clipboard operation
Conari copied to clipboard

Support of .NET libraries

Open 3F opened this issue 9 years ago • 0 comments

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

So main idea (noticed here https://github.com/3F/DllExport/issues/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...

3F avatar Sep 15 '16 15:09 3F