Uploading XML files from WP7, possible, how to etc?

落花浮王杯 提交于 2019-12-01 11:18:21

问题


I'm looking into a system where users can upload xml files to a website for others to download later on. I have very little experience in this department and don't really know where to begin so this is a fairly straightforward question, how do I go about implementing such a thing? Will I need ASP hosting or something?


回答1:


Yes, you will need some form of hosting for a web site/service. The site/service must accept the submission of the XML files. There are lots of ways of doing this depending on quite what you want and the security you wish to implement. Your web site/service must also provide a way for the user/application to browse and download the said XML files. Again there are lots of ways to do this and again security may be a consideration here.

I'd suggest investigating the options available/desirable to you and then asking more specific questions here.

Update
With regards to what you'll be doing on the phone. You'll probably want to POST the data from the APP using HttpWebRequest.
The easiest way to get data from a server is using WebClient but depending on security you may need to use HWR.

If you don't have any hosting then what you get will likely impact what you can do. The security of the data transmitted and how it is stored will impact what you need to do.

I'd start by investigating/researching the basics of HTTP.



来源:https://stackoverflow.com/questions/4916699/uploading-xml-files-from-wp7-possible-how-to-etc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!