We have a C# .NET Core 3.1 app which needs to call a legacy .NET Framework 32-bit DLL (and we don't have the source code).
The only way I can think to do is is to either force our whole app to target 32-bit only, or make a web service / microservice which wraps the 3rd party function to make it available over HTTP.
However I just wondered if there are any alteratives to HTTP for something like this, given that the calls will be local to the application and the processes will always be on the same machine. I am presuming there is no way to 'wrap' the 32 bit DLL and reference it directly, so I guess two processes which communicate is the only solution, but does that have to be HTTP or is there another way?
Edit:
The main thing I am trying to avoid was the inconvienence of having to have a separate project and web host for this one DLL.