Re: [OzSilverlight] Silverlight WCF web service

2008-08-26 Thread Stephen Price
It seems more like an issue with how IIS is hosting the WCF service. Yeah, I've seen the local path thing how it can launch the page you have selected rather than the website. My work around is to use the internal VS development web service that starts up on some random port. My concern was I woul

Re: [OzSilverlight] Silverlight WCF web service

2008-08-26 Thread .net noobie
not that this is your issue by the sound of it but you also need to make sure you are setting the web app/website as the default startup project... if you forget and have it set the the Silverlight application to startup when you run it from VS i noticed that the silverlight app can run using

Re: [OzSilverlight] Silverlight WCF web service

2008-08-26 Thread Stephen Price
Ok, have tried that in my Test project with same results. The error I get in the Add Service window is There was an error downloading 'http://localhost/WCFTestWeb/Service1.svc'. The request failed with HTTP status 404: Not Found. Metadata contains a reference that cannot be resolved: ' http://loc

RE: [OzSilverlight] Silverlight WCF web service

2008-08-26 Thread Jordan Knight
Hrm... you may need a ServiceHostFactory if you are on a machine with multiple sites (normally a problem on an external hoster)... 1. public class AuthenticationServiceHostFactory : ServiceHostFactory 2. { 3. public override System.ServiceModel.ServiceHostBase CreateServiceHost(strin

Re: [OzSilverlight] Silverlight WCF web service

2008-08-26 Thread Stephen Price
Thanks will check that out. Does it explain why in a web browser http://localhost/WCFTestWeb/Service1.svc gives me a 404.3? Is the end point wrong for the web service as this doesn't seem to have anything to do with Silverlight so I didn't think it would be a crossdomain issue. cheers, Stephen O

RE: [OzSilverlight] [Serialization]

2008-08-26 Thread Jordan Knight
I've not tried this but I believe that DataContractSerializer is compatible with SerializableAttribute... Not entirely sure how you would go about nominating the fields and properties to serialise though - normally you need to put DataMember on them. Keep in mind that DataContractSerializer can

RE: [OzSilverlight] Silverlight WCF web service

2008-08-26 Thread Jordan Knight
Shameless self promotion :) Try this: http://jakkaj.wordpress.com/2008/07/03/silverlight-2-call-to-wcf-service-gets-404/ Regards, Jordan Knight Readify - Senior Developer Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia M: +61 403 532 404 | E: [EMAIL PROTECTED]

[OzSilverlight] Silverlight WCF web service

2008-08-26 Thread Stephen Price
Not sure what I'm doing wrong here, this used to work for me. I have a Silverlight WCF web service running on a local IIS app. If I browse to it I get the error HTTP Error 404.3 - Not Found. It used to work... *scratches head*. So I decide to create a new one app and see if it works. I created a

Re: [OzSilverlight] [Serialization]

2008-08-26 Thread Jonas Follesø
You might have to mark them as [DataContract] to use them across your WCF layer On Wed, Aug 27, 2008 at 2:51 PM, Muhammad Niaz <[EMAIL PROTECTED] > wrote: > Hi All, > >I am using WCF service Layer for Silver light communication. And > I am and old DTOs Layer which have lot of classes

[OzSilverlight] [Serialization]

2008-08-26 Thread Muhammad Niaz
Hi All, I am using WCF service Layer for Silver light communication. And I am and old DTOs Layer which have lot of classes and also developed in .NET 2.0 and I do't want to recompile it in .NET 3.0 or 3.5. Is it possible that I use this DTOs Layer's classes in WCF Service Layer by just