Click here to Skip to main content
14,699,563 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Click once deployment to external server.I want to provide access to external server.At present it is published to my own pc.Plz help

1 solution

sofia3 6-Dec-12 2:35am
i think these links are for localhost not for external server
Devang Vaja 6-Dec-12 4:09am
You can access data from a Web server by using either the WebClient or the HttpWebRequest class in the System.Net namespace. The data can be either static files or ASP.NET applications that return raw text or XML data. If your data is in XML format, the fastest way to retrieve the data is by using the XmlDocument class, whose Load method takes a URL as an argument. For an example, see Reading an XML Document into the DOM.

You have to consider security when your application accesses remote data over HTTP. By default, your ClickOnce application's access to network resources may be restricted, depending on how your application was deployed. These restrictions are applied to prevent malicious programs from gaining access to privileged remote data or from using a user's computer to attack other computers on the network.

that's what in the link You have To read

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900