Background: We have three applications (ASP.NET MVC & two Windows Services) developed in .NET 4.5. These applications are working fine using .NET Remoting. The ASP.NET application triggers method in one of the Windows Services and once that functionality is completed the Windows Service triggers the method in another Windows Service.
Requirement: Now we have upgraded these applications to .NET 6 but the .NET Remoting is no longer supported in .NET Core. We have two deployment environments for these applications. One for the local intranet and the other for the cloud. We may have one environment at a time or we may have a mixed environment. All these applications can be deployed on a local environment or can be deployed on Azure. The other scenario could be the mixed environment where an ASP.NET application and one Windows Service could be deployed on Azure whereas the other Windows Service will be deployed on the client's local intranet.
We are looking for a better approach where we could successfully invoke service methods. We have the flexibility to run one of the service code either worker process or web job on Azure. All options are open please suggest.
Thanks.