1

We are using distributed architecture for our project. In which UI layer is reside on one server and Business Layer on another server. We are creating Windows service of Business layer. Is it possible to call the windows service from another server UI application. How to do it?

2 Answers 2

5

There are a couple of options for communicating with a windows service.

  1. A service bus
  2. In Proc hosted WebAPI
  3. Self hosted WCF Service
  4. SignalR to message between client and server
Sign up to request clarification or add additional context in comments.

Comments

1

You could create a self hosted wcf service inside of your windows service. Check this similar question and answer for more information: Can I host (self host) a WCF Service in a Windows Service and expose it via http?

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.