如何在VB.NET中构建REST API [英] How to build a REST API in VB.NET
问题描述
我正在寻找一个处于规划阶段的项目的建议。
我需要构建一个JSON REST API,以便我们可以将我们正在开发的内部系统与我们的ERP集成( NetSuite的)。我在VB.net中编程并且正在寻找关于使用什么框架的建议,并且我可以找到可以从中学习的示例。如果有帮助,性能对我们来说相当重要。
非常感谢所有帮助和建议。
干杯,
Aneets
我的尝试:
已经构建了一个我们使用WCF的系统,所以试图将这个例子转换为VB而没有成功。 创建RESTful WCF服务API:循序渐进指南 [ ^ ]
已在ServiceStack上阅读,但无法找到有关如何在VB中使用的任何文档。
I am looking for the Advice with a project that is in the planing stages.
I need to Build a JSON REST API so we can integrate an internal system that we are developing with our ERP(Netsuite). I program in VB.net and am looking for advice on what framework to use and were i can find examples that I can learn from. Performance is reasonably important to us if that helps.
All help and advice is very much appreciated.
Cheers,
Aneets
What I have tried:
have built a system in witch we used WCF so did try to convert this example to VB without success. Create RESTful WCF Service API: Step By Step Guide[^]
have read up on ServiceStack but cant find any documentation on how to use in VB.
推荐答案
就像Richard提到的那样, WebAPI [ ^ ]将是最佳的ASP.NET选项。这是一个设置它并试用它的quuick指南:使用ASP.NET Web API 2,Owin和身份进行基于令牌的身份验证 - 技术位点 [ ^ ]
Like Richard has mentioned, WebAPI[^] would be the best ASP.NET option. Here is a quuick guide to setting it up and trying it out: Token Based Authentication using ASP.NET Web API 2, Owin, and Identity - Bit of Technology[^]
管理以使服务堆栈正常工作。非常感谢您的消费。
Managed to get Service Stack to work. Thanks all for your sugestions.
这篇关于如何在VB.NET中构建REST API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!