We have an old application which can be extended only by using COM exposed assemblies. There is now way to work with it without the GAC. The extension we want to provide is an existing .NET component. We want to provide the extension without putting all required references in the GAC as well. I came up with a solution to do this.
I'll host a WCF service in a windows service and use a named pipe endpoint. This endpoint will be consumed by the COM component. This way the COM component is only forwarding call's and I don't need any dependant assemblies in the GAC.
Two questions about this setup:
1. Are there better ways to do what I want?
2. How can I keep the COM component as small as possible? (it's just a forwarding point)