Udostępnij za pośrednictwem


New Code Posted

Just posted some minor fixes to the user infterface for the Beta of Dev Nuggets! Thanks to the people that have sent over their initial feedback.  For those that have had this problem, please go ahead and download the new code.

 

Beta Client

 

Beta Client Code

Comments

  • Anonymous
    March 21, 2005
    I downloaded the code and noticed that I can't connect to the web service with the client because of firewall issues. I can easily adjust the code to handle this but just thought i'd bring it up.
  • Anonymous
    March 21, 2005
    Interesting - did it ask for a proxy server? The latest build should handle that.
  • Anonymous
    March 22, 2005
    I get the following error when I try to run it:

    System.Net.WebException: The underlying connection was closed: Unable to connect to the remote server.
    at System.Net.HttpWebRequest.CheckFinalStatus()
    at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult)
    at System.Net.HttpWebRequest.GetRequestStream()
    at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
    at NuggetClient.localhost.devNuggets.GetAllNuggetTopics(String DevToken)

    I got this before on another app I was working on that couldn't get through the proxy. I had to create the proxy object and pass it to the web request.

    The code I used to do this was:

    Dim oProxy As System.Net.WebProxy = CType(System.Net.GlobalProxySelection.Select, System.Net.WebProxy)
    oProxy.Credentials = System.Net.CredentialCache.DefaultCredentials

    ws.Proxy = oProxy

    "ws" being your Web Service.