您为.net中的中间件服务器推荐哪些技术? [英] which technologies do you recommend for middleware server in .net?

查看:104
本文介绍了您为.net中的中间件服务器推荐哪些技术?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我不知道这是一个愚蠢的问题!

我在网上搜索时没有任何有用的命中信息,并且我是点网用户(C#).

我想开发一个服务器,它可能被称为中间件服务器(实际上我不确定),它执行以下任务:
我有一个无法修改的服务器,许多请求该服务器并接收结果的客户端.
我可以修改客户端.

现在,我想开发一种软​​件,该软件可以接收客户端请求,检查服务器是否繁忙或服务器上排队了多少任务,如果服务器繁忙则将客户端请求存储到临时数据库中,提取在临时数据库中排队的请求并转发给服务器.服务器,然后接收结果并转发给客户端等.

问题是

1.哪些技术最适合保留在dotnet,WCF,Webservives,远程处理或其他技术中?
2.假设有诸如事务处理,负载平衡,日志记录,安全检查机制之类的任务,此任务有多复杂?
3.我应该读什么书来完成这些任务,相关的书籍教程等?
4.在搜索时,我在Java中发现了诸如中间件之类的东西,但在dotnet中却找不到.原因是什么?

Hi,

I don''t know whether this is a silly question!

I searched the web with no useful hits and I am a dot net user (C#).

I want to develop a Server, it may be called a middleware server (actually I am not sure), which does the following tasks:
I have a server which cannot be modified and many clients that request the server and receive the results.
I can modify the clients.

Now I want to develop software that receives client requests, checks if the server is busy or how many tasks are queued at the server, store the client requests to temporary database if server is busy, fetch requests queued in the temporary database and forward to the server and then receive the results and forward to to clients and the like.

The questions are

1. which technologies are best to use while remaining in dotnet, WCF, Webservives, remoting, or other?
2. how complex is this task assuming that there are tasks like transaction handling, load balancing, logging, security checking mechanisms and the like?
3. what things should i read to do these task, relevant books tutorials etc?
4.while searching I find such things as middleware in java but not in dotnet. what is the reason?

推荐答案

这应该相对容易做到.最复杂的部分可能是要决定如何将作业包装为可以持久存储到临时数据库或发送到服务器进行处理的内容.

您可能需要查看创建Windows Service来处理服务器端的情况.以及用于客户端的标准Windows应用程序.

对于临时数据库,您可以使用MSSQLExpress或根据您的作业对象将其序列化.将它们反序列化到文件系统/从文件系统反序列化.

对于通信,您可以使用多种方法,例如简单的TCP套接字或查看某些Web类.

我认为没有理由拒绝使用MSMQ路由或使用远程处理.
This should be relatively easy to do. The most complex bit will probably be deciding how you want to wrap up the jobs into something that can be persisted to the temporary database or sent onto the Server for processing.

You might want to look at creating a windows Service to handle the server end. and a standard windows application for the client end.

For the temporary database you could use MSSQLExpress or, depending on your job objects serialise.deserialise them to/from the filesystem.

For the communications you could use a variety of methods, either simple TCP sockets or look at some of the Web classes.

I don''t think there is any justification to go down the MSMQ route or use remoting.


这篇关于您为.net中的中间件服务器推荐哪些技术?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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