添加Web API项目的Web API引用 [英] Add a web API reference to a .NET core project

查看:334
本文介绍了添加Web API项目的Web API引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作一个小型网络应用,我需要在外部WEB API上调用。它存在Ruby,Python和Javascript绑定,然后是一个JSON版本。



我想知道是否有人尝试过以这种方式引用Javascript或JSON WEB API?我只是不确定如何创建一个客户端进行交互,因为我只用WCF做了这个。



我更喜欢一个适用于VSCode的解决方案/>


我尝试了什么:



googleing的日志,但是我我没有找到关于这个问题的描述性文章。

I want to make a small web app, in which i need to call on an external WEB API. It exists with Ruby, Python and Javascript bindings, and then theres a JSON version.

I was wondering if anyone has tried referencing a Javascript or JSON WEB API this way? I am simply not sure how to create a "client for interaction, as I have only done this with WCF.

I would prefer a solution that works with VSCode

What I have tried:

A log of googleing, but i've had no luck finding a descriptive article on the subject.

推荐答案

这里是 - ASP.Net核心Web API与Visual Studio代码~Seterrite的博客 [ ^ ]。
Here it is - ASP.Net Core Web API with Visual Studio Code ~ Siderite's Blog[^].


这篇关于添加Web API项目的Web API引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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