How do I migrate MFC code to a mcroservice

  .net, c++, com, mfc, visual-c++

I have a large codebase if C++ MFC code and I need to move the bulk of it to microservices with http endpoints after decoupling the UI. I’d prefer not to use IIS as a server but something more lightweight. What would the logical choice be as an interface between the web interface and the domain MFC code? Expose the MFC API via a COM interface with a .NET wrapper and then use .NET core as the web layer?

Source: Windows Questions C++