Web服务,用于从外部来源接收信息 [英] Webservice for receiving information from external source
问题描述
让我以以下内容开头:这是一个webforms项目,并且它没有改变,请收起干草叉.
Let me preface this with: This is a webforms project and it is not changing, put away your pitchforks.
我们有一个需要从外部网站接收信息的应用程序(这里的所有内容都在Intranet的上下文中).他们将发布到我给他们的网址.该URL将包含一个查询字符串.
We have an application that needs to receive information from an external website (everything here is in the context of intranet). They will be posting to a url that I give them. The URL will contain a query string.
我该怎么做?我一直在研究Web服务,这是正确的方向吗?有人可以给我指出一个好的教程吗?Google在这里并没有太大帮助,或者,我不知道如何正确地提出这个问题.
What do I use to accomplish this? I've been looking at webservices, is this the right direction to go? Could someone point me to a good tutorial? Google has not been too helpful here, or rather, I do not know how to ask the question properly.
推荐答案
没有什么可以阻止您在Web Forms项目中使用Web API.由于您来自MVC环境,因此我假设您熟悉Web API.
There's nothing stopping you from using Web API in a Web Forms project. Since you come from an MVC environment I'm assuming you're familiar with Web API.
这篇关于Web服务,用于从外部来源接收信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!