Webservice中的澄清需求 [英] Clarification need in Webservice
本文介绍了Webservice中的澄清需求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是网络服务的新手。
我可以看到代码services.cs文件中的默认值
Hi,
I am new to web services.
I can see the code by default in services.cs file
[WebMethod]
public string HelloWorld() {
return "Hello World";
请告诉我为什么我们在我们正在编写的每个函数之上添加[WebMethod]。
这是什么意思。请帮忙。
提前致谢
Please tell me why we are adding [WebMethod] on top of every function that we are writing.
What does it mean. Please help.
Thanks in advance
推荐答案
嘿那里,
看看,我希望你能找到你想要的东西:
网络方法属性 [ ^ ]
Azee ......
Hey there,
Take a look, I hope you'll find what you are looking for:
Web Method Attribute[^]
Azee...
我想我们已经为这个问题经历了很多结果,但请参考下面提到的链接,你可能会找到你想要的解决方案。
点击这里 [ ^ ]
I think yoh had already gone through a lot of result for this question but refer below mention link you might found your desired solution.
Click Here[^]
WebMethodAttrib ute [ ^ ]
和 Web服务教程 [ ^ ]
这篇关于Webservice中的澄清需求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文