Silverlight running internally and externally.

Silverlight running internally and externally.

Old forum URL: forums.lhotka.net/forums/t/6614.aspx


danielw posted on Tuesday, March 17, 2009

Hi

I have created a silverlight app that will run both internal and externally through ISA.
I am wondering the best way of setting up the end point address as they will be on IPS depending where you are accessesing the Silverlight from.

Now I have read that you can programatically change the Endpoint. However using silverlight the WCF calls are buried within the CSLA library. Does anybody now if I have to change the CSLA to get this to work or is there a property I can set to override the endpoint addres.

or has anybody done this another way.

Any help would be appreciated

Cheers

Daniel

sergeyb replied on Tuesday, March 17, 2009

Yes, you can do so on public static Csla.DataPortalClient.WCFProxy class.  You can programmatically override binding, end point and data portal url there.

 

Sergey Barskiy

Principal Consultant

office: 678.405.0687 | mobile: 404.388.1899

cid:_2_0648EA840648E85C001BBCB886257279
Microsoft Worldwide Partner of the Year | Custom Development Solutions, Technical Innovation

 

From: danielw [mailto:cslanet@lhotka.net]
Sent: Tuesday, March 17, 2009 8:23 AM
To: Sergey Barskiy
Subject: [CSLA .NET] Silverlight running internally and externally.

 

Hi

I have created a silverlight app that will run both internal and externally through ISA.
I am wondering the best way of setting up the end point address as they will be on IPS depending where you are accessesing the Silverlight from.

Now I have read that you can programatically change the Endpoint. However using silverlight the WCF calls are buried within the CSLA library. Does anybody now if I have to change the CSLA to get this to work or is there a property I can set to override the endpoint addres.

or has anybody done this another way.

Any help would be appreciated

Cheers

Daniel



Copyright (c) Marimer LLC