views:

41

answers:

2
+1  A: 

ip addresses that start with 10 are internal addresses, you will not be able to access this address from outside the firewall.

http://en.wikipedia.org/wiki/IP_address

If you look at the table marked "IANA-reserved private IPv4 network ranges"

You need to expose your service using an external ip address.

Shiraz Bhaiji
A: 

Okay, this took a total of six days of reading and studying for it to "click in". I figured Silverlight would be totally easy, which for the most part it is as I've been writing ASP.Net/WinForm applications for years. Many times we look at a problem and look and look and for the life of us we can't get the solution as we're to focused on the single problem and don't step back and look at the overall picture. It took "Shiraz Bhaiji" answering about 10 series IP addresses being internal only. I knew this but was the magical key to releasing my mind from its confusion. I drew everything up on my whiteboard and put in routing tables and then smacked myself on the back of the head at the obvious solution (e.g. an outside visitor can't see my internal 10 series network).

In a nutshell, this is what I've learned on my first Silverlight application:

Silverlight runs on the CLIENT, not the server (e.g. ASP.Net). I was testing all of my Silverlight against an ASP.Net application that had been running perfectly for over a year. The Silverlight application runs on the server and I couldn't for the life of me figure out why my WCF service worked for ASP.Net but not Silverlight. Being the Silverlight application is downloaded to the client they will only see the WCF service if it's behind a firewall either (1) you open up your firewall to allow it to have access or (2) move the service to the internet (make certain to include the necessary security). I'm sure there are more ways even a combination of 1 and 2.

I chose option #1 to move it to be a dedicated and visible service. I made it easily available and on an alternate port with the security within the service. The firewall redirects to my internal site and everything is well. So if you're using Silverlight make certain that when you test internally you also start and test externally, if you're going to expose it externally, as well.

NTBuddy