为系统构建API的最佳项目类型是什么 [英] What is best project type to build an API for a system

查看:99
本文介绍了为系统构建API的最佳项目类型是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个订阅服务计费系统,并且有第三方想要使用计费功能,我不知道我应该使用什么是最好的处理程序,如果我在Web服务中添加这些功能(asmx) )和第三方连接到它或在处理程序(ashx)或wcf服务或ASP.NET Web API上添加函数?

I have a system for billing of subscription services and there is a third party wants to use the billing functionality and i don't know what is the best handler i should use, should i add the functions in a web service(asmx) and the 3rd party connect to it or add the functions on a handler(ashx) or wcf service or ASP.NET web API?

推荐答案

通常,在我看来至少,最佳项目类型将是符合您需要的标准并且您也是最熟悉的项目类型。



您需要记下要求,然后比较各种选项,看看是否有人满足要求的要求远远超过其他要求。如果它们非常接近,那么就在你最熟悉的那个中进行。如果您对任何技术都不熟悉,那么您应该选择更新的技术。
Typically, in my opinion at least, the "best" project type will be the one that meets the criteria you need and that you are also the most familiar with.

You need to write down the requirements and then compare your various options to see if any one meets the requirements much more than the others. If they are pretty close then just do it in the one you are most familiar with. If you are not familiar with any, then you should likely go with the newer technology.


这篇关于为系统构建API的最佳项目类型是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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