如何在幕后运行网址,而不在C#.net的浏览器中显示它 [英] How to run an url behind the scenes without displaying it in browser in C#.net

查看:97
本文介绍了如何在幕后运行网址,而不在C#.net的浏览器中显示它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




如何在幕后运行网址而不在浏览器中显示它并从当前网址获取另一个网址?



提前致谢

Hi
How to run an url behind the scenes without displaying it in browser and get the another URL from the current URL?

Thanks in advance

推荐答案

请参阅我对该问题的评论。无论您想做什么,您都可以使用任何URL在服务器端下载纯数据,并按照您希望的方式处理它而不显示它。所有你需要的是类 System.Net.HttpWebRequest

http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29 .aspx [ ^ ]。



-SA
Please see my comment to the question. No matter what do you want to do, you can always download the pure data on the server side using any URL and process it the way you want without displaying it. All you need is the class System.Net.HttpWebRequest:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29.aspx[^].

—SA


嘿,



只需尝试Ajax通话。它对我有用。希望它也适合你。
Hey,

Just try for Ajax call. Its worked for me. Hope it will for you also.


这篇关于如何在幕后运行网址,而不在C#.net的浏览器中显示它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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