网络API与SignalR网络、API、SignalR

2023-09-05 23:20:10 作者:淡抹忧伤

我们正在对.NET Framework 2.0的开发的现有软件。它又与不同的任务基于SOAP的Web服务。

We are having existing software developed on .NET Framework 2.0. It interacts with SOAP based web services for different tasks.

我们正计划转换现有的Web服务是基于两种网络API或SignalR上。而且我们有计划将Web服务在亚马逊云中。

We are planning to switch existing web service to be based on either Web API or SignalR. And also we are having plan to move web services on Amazon cloud.

我想知道哪些技术应该用在相对最好?

I would like to know which technology should be use in terms of comparatively best?

推荐答案

您应该花一些时间上的两个读了起来。他们被限定在处理不同的问题集。

You should spend some time reading up on the two. They are scoped to handle different problem sets.

SignalR 是一个框架,以允许服务器推送到客户端。

SignalR is a framework to allow the server to push to the client.

的ASP.NET Web API 专注于 REST风格的的Web服务。

ASP.NET Web API is focused on RESTful web services.

还要注意,它们不是相互排斥的。这里是另一个 SO回答,提及如何使用它们在一起。

Also note, they are not mutually exclusive. Here is another SO answer that references how to use them together.

 
精彩推荐