[英]Why ASMX is platform specific in Xamarin.Forms?
I see I need to implement ASMX on each platform I need to consume it: one for Android, one for IoS, one for UWP, and so on. 我看到我需要在需要使用它的每个平台上实现ASMX:一个用于Android,一个用于IoS,一个用于UWP,等等。
It reference to the same model/classes/methods, why I need to replicate it for each platorm? 它引用相同的模型/类/方法,为什么我需要为每个平台复制它? The WSDL is the same.
WSDL是相同的。
Can you give to me an example? 你能给我一个例子吗?
Unload your PCL project. 卸载您的PCL项目。 Open it for edit.
打开进行编辑。 Change it to Profile 78, save it and reload.
将其更改为配置文件78,保存并重新加载。 Now you get an option to add Service Reference
现在,您可以选择添加服务参考
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.