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.jpg>>

<<image004.jpg>>

Reply via email to