RE: [OzSilverlight] How to deploy SL App

2008-10-22 Thread Jordan Knight
Hey Muhammad,

SL doesn't actually require anything special on the system to be deployed. It 
will even work when embedded in a HTML file : )

But...

The SL sever controls require that .NET 3.5 is installed on the server. The 
site should be packaged with the System.Web.Silverlight.dll so your 
asp:silverlight controls will work no problem.

Can you go to the web service URL directly in your browser?

Cheers,

Jordan.

P.S. Anyone - do the SL server controls require 3.5 SP1?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Niaz
Sent: Wednesday, 22 October 2008 5:32 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] How to deploy SL App

Hi All,

* I have developed a SL App which work fine at my system, but when I 
deploy it to other system then WebService not working well, what is the issue 
tell me.


* And What things are required for SL to deploy on any machine.?


Thanks  Regards,
Muhammad Niaz
Software Engineer
Intagleo Systems Pvt Ltd
www.intagleo.co.ukhttp://www.intagleo.co.uk

--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.1/1731 - Release Date: 21/10/2008 2:10 
PM



--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.

Powered by mailenable.com - List managed by www.readify.net



RE: [OzSilverlight] How to deploy SL App

2008-10-22 Thread Tim Heuer
Muhammed,

At first guess, my thought is that your app and web service are probably not in 
the same domain?  If not, you're running into a cross-domain situation where 
your service will have to opt-in for x-domain callers.

This video: http://silverlight.net/learn/learnvideo.aspx?video=47174 describes 
what you need to do.

-th

tim heuer | (602) 405-4567 | im: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
blog: http://timheuer.com/blog/ | twitter: 
@timheuerhttp://twitter.com/timheuer

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jordan Knight
Sent: Wednesday, October 22, 2008 1:52 PM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] How to deploy SL App

Hey Muhammad,

SL doesn't actually require anything special on the system to be deployed. It 
will even work when embedded in a HTML file : )

But...

The SL sever controls require that .NET 3.5 is installed on the server. The 
site should be packaged with the System.Web.Silverlight.dll so your 
asp:silverlight controls will work no problem.

Can you go to the web service URL directly in your browser?

Cheers,

Jordan.

P.S. Anyone - do the SL server controls require 3.5 SP1?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Niaz
Sent: Wednesday, 22 October 2008 5:32 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] How to deploy SL App

Hi All,

* I have developed a SL App which work fine at my system, but when I 
deploy it to other system then WebService not working well, what is the issue 
tell me.


* And What things are required for SL to deploy on any machine.?


Thanks  Regards,
Muhammad Niaz
Software Engineer
Intagleo Systems Pvt Ltd
www.intagleo.co.ukhttp://www.intagleo.co.uk

--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.8.1/1731 - Release Date: 21/10/2008 2:10 
PM
--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net



--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.

Powered by mailenable.com - List managed by www.readify.net



RE: [OzSilverlight] How to deploy SL App

2008-10-22 Thread Jonathan Parker
You may need a custom host factory for your web service (if you are using
WCF):

 

class CustomHostFactory : ServiceHostFactory

{

protected override ServiceHost CreateServiceHost(Type serviceType, Uri[]
baseAddresses)

{

CustomHost customServiceHost =

  new CustomHost(serviceType, baseAddresses[1]);

return customServiceHost;

}

}

 

class CustomHost : ServiceHost

{

public CustomHost(Type serviceType, params Uri[] baseAddresses)

: base(serviceType, baseAddresses)

{ }

protected override void ApplyConfiguration()

{

base.ApplyConfiguration();

}

}

 

Then put:

 

Factory=CustomHostFactory

 

In your .svc file.

 

See here for more: http://www.devx.com/RIA/Article/38117/0/page/4 

 

HTH.

 

Jonathan Parker (MCTS - Web Applications)

Mobile: 0419 969 241

Email: [EMAIL PROTECTED]

Blog: www.jonathanparker.com.au

CV: http://jonathanparker.com.au/Downloads/Jonathan%20Parker.pdf

Agile-logo-4c-member-sm

 

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Muhammad Niaz
Sent: Wednesday, 22 October 2008 5:32 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] How to deploy SL App

 

Hi All,

. I have developed a SL App which work fine at my system, but when I
deploy it to other system then WebService not working well, what is the
issue tell me.

 

. And What things are required for SL to deploy on any machine.?

 

 

Thanks  Regards,

Muhammad Niaz

Software Engineer

Intagleo Systems Pvt Ltd

www.intagleo.co.uk

 

---
OzSilverlight.com - to unsubscribe from this list, send a message back to
the list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net 




--- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net
image001.jpgimage004.jpg