网络API与SignalR [英] Web API versus SignalR

查看:155
本文介绍了网络API与SignalR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在对.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.

这篇关于网络API与SignalR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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