Wednesday, April 3, 2019

Question about multiple services in same solution in a .NET Core Web App

Hi!

I’m a beginner and currently learning ASP.NET Core and I will keep my question and context simple and concise.

So basically I have a project solution with two ASP.NET Core services that run simultaneously. Is it a good practice/acceptable to communicate between these two services with web api calls using for instance IHttpClientFactory in a class library (also within the solution)

Example:

Service 1 running on localhost 1

Service 2 running on localhost 2

Class within a class library fetching some data with a web API call to service 1 (through service 1 controller), do some calculations and store result in service 2.

Constraint is that I can’t combine the two services into one.

BR

Question about multiple services in same solution in a .NET Core Web App Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team