ASP.NET MVC 4应用程序调用Windows服务 [英] ASP.NET MVC 4 application to Call Windows Service

查看:748
本文介绍了ASP.NET MVC 4应用程序调用Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用分布式架构为我们的项目。在UI层是驻留在另一台服务器上一台服务器和业务层。我们正在创造业务层的Windows服务。
是否有可能从另一个调用服务器应用程序的用户界面的Windows服务。
怎么办呢?

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?

推荐答案

有几个选项用于与Windows服务进行通信。

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


  1. 系统服务总线

  2. 在PROC主办的WebAPI

  3. 自托管的WCF服务

  4. SignalR 以消息之间客户和服务器

  1. A service bus
  2. In Proc hosted WebAPI
  3. Self hosted WCF Service
  4. SignalR to message between client and server

这篇关于ASP.NET MVC 4应用程序调用Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆