You can always use a really simple proxy script running on your localhost as
to access the webservice and just disable it once in production as to point
to the released webservice. That's the way we are doing it right now on a
couple of tests.

But again keep in mind this model will change once the Beta comes out as a
more elegant solution will be released as part of the 2.0 bits. So try to
keep this as loosely coupled as you can so that once the solution is out the
changes you will need to do are isolated.

On Jan 20, 2008 7:53 AM, Jonathan Parker <[EMAIL PROTECTED]> wrote:

>  Sorry, I didn't really explain my problem very well.
>
>
>
> I'm not actually doing cross domain calls. I just want to be able to debug
> and then release without
>
> having to change the web reference every time.
>
>
>
> For example. I have a silverlight 1.1 app. that connects to a web service.
> Both are on the same domain.
>
>
>
> For testing I can't use the live web service because it's on a different
> domain to localhost.
>
> Therefore I have to host my web service on my local machine and reference
> it from there.
>
> That means that whenever I upload changes to my domain I have to first
> upload the web service changes
>
> and then delete the localhost web reference and add the domain web
> reference. Then I can upload the changes.
>
>
>
> Now I think about it more. If you where given a web service on your own
> domain but not given a copy of it
>
> to run on your local machine, even though the app. won't be doing
> cross-domain calls in production you will still
>
> not be able to debug it.
>
>
>
> In fact even connecting to a web service on the localhost from a
> silverlight project (no asp.net project) you can't
>
> debug as the silverlight html page is opened directly from the file system
> and thus there is no domain for it to run in.
>
>
>
> It just makes for a difficult development experience.
>
>
>
>
>
> So I'm just making sure that these issues will be fixed allong with the
> "actual" cross-domain issues in 2.0.
>
>
>
> Thanks,
>
>
>
> Jonathan
>
>
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Gilbert Corrales
> *Sent:* Sunday, 20 January 2008 9:47 PM
>
> *To:* [email protected]
> *Subject:* Re: [OzSilverlight] Cross domain web service calls and
> debugging.
>
>
>
> With that said rest in mind that for the time frame of Mix 08 u guys will
> get a hand full of new exiting things to be playing against that will ease
> much of the headaches that runs around 1.1 constrains.
>
> On Jan 20, 2008 3:41 AM, Scott Barnes <[EMAIL PROTECTED]> wrote:
>
> I don't have any specific dates as yet that I can give out, suffice to say
> that what I'm seeing internally is a healthy state of play and It's why I'm
> 20x more excited then I was this time last year if that helps?
>
>
>
> (sorry, I'd love to delve deeper into specifics but I don't want to raise
> commitments that i have no specific control over – it's in the hands of the
> Silverlight deities.. aka Program/Product Managers).
>
>
>
>
>
> *--*
>
> *Scott Barnes *
> (RIA Evangelist)
>
> Microsoft Pty <http://www.microsoft.com/australia> | *New!* *The RIA
> Times:* http://blogs.msdn.com/msmossyblog | *Office:* +61 (2) 88179139 | *
> Mobile:* 0439-072-184
>
> *Twitter*: twitter.com/mossyblog
>
> *
> **The reasonable man adapts himself to the world; the unreasonable man
> persists in trying to adapt the world to himself. Therefore all progress
> depends on the unreasonable man." -** **George Bernard Shaw *
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *.net noobie
> *Sent:* Sunday, 20 January 2008 7:31 PM
> *To:* [email protected]
>
>
> *Subject:* Re: [OzSilverlight] Cross domain web service calls and
> debugging.
>
>
>
> hello Scott,
>
> do have any kind of timeframe on the release of SL 2.0
>
> i know it is meant to be the first quarter of 2008
>
> is it looking good to be ontime?
>
> On 1/20/08, *Scott Barnes* <[EMAIL PROTECTED]> wrote:
>
> Yeah.. our bad.. 2.0 its fixed. We will be including an integrated
> solution for cross-domain networking (trusted sources).
>
>
>
> There is **sort of** a work-around in the mean-time:
>
> http://blogs.msdn.com/dthorpe/archive/2007/06/18/secure-cross-domain-communication-the-architecture-journal.aspx
>
>
>
>
>
>
> *--*
>
> *Scott Barnes *
> (RIA Evangelist)
>
> Microsoft Pty <http://www.microsoft.com/australia> | *New!* *The RIA
> Times:* http://blogs.msdn.com/msmossyblog | *Office:* +61 (2) 88179139 | *
> Mobile:* 0439-072-184
>
> *Twitter*: twitter.com/mossyblog
>
> *
> **The reasonable man adapts himself to the world; the unreasonable man
> persists in trying to adapt the world to himself. Therefore all progress
> depends on the unreasonable man." - George Bernard Shaw*
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Jose Fajardo
> *Sent:* Sunday, 20 January 2008 6:29 PM
> *To:* [email protected]; [email protected]
> *Subject:* Re: [OzSilverlight] Cross domain web service calls and
> debugging.
>
>
>
> Hi Jonathan,
>
>
>
> Your not the only one experiencing headaches with cross domain calls with
> SilverLight 1.1, it's not very developer friendly!
>
>
>
> However I believe that SilverLight 2.0 (release to be in early March for
> Mix 08) will have a more elegant solution to this problem. I believe the
> Silverlight team have re-engineered a better way of performing cross-domain
> calls that doesn't require the annoying workarounds we're currently forced
> to do.
>
>
>
> I wish I had more information regarding this... March 08 is when all will
> be revealed.
>
>
>
> Regards
>
>
>
>
>
>
>
> ----- Original Message -----
>
> *From:* Jonathan Parker [mailto: [EMAIL PROTECTED]
>
> *Sent:* 1/20/2008 4:28:58 PM
>
> *To:* [email protected]
>
> *Subject:* [OzSilverlight] Cross domain web service calls and debugging.
>
>
>
> Hi,
>
>
>
> I'm really getting annoyed with the cross domain restriction for web
> services.
>
> I know exactly why it's there but it doesn't make it easy to debug when
> I'm using
>
> shared hosting.
>
>
>
> At the moment I have to upload the new web service code and then recompile
>
> the SL app against it before uploading.
>
>
>
> Is anyone else having trouble with this or have any suggestions.
>
>
>
>
>
> Cheers,
>
>
>
> Jonathan
>
>
>
> Jonathan Parker (MCTS - Web Applications)
>
> Email: [EMAIL PROTECTED]
>
> Blog: www.jonathanparker.com.au
>
>
>
> -------------------------------------------------------------------
> 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
>
> -------------------------------------------------------------------
> 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
>
>
>
>
> --
> .net noobie
> -------------------------------------------------------------------
> 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
>
>
>
>
> --
> _______________________________
> Gilbert A. Corrales-Villalobos
> +506 840 7941 Mobile
> +506 238 2195 Home
> [EMAIL PROTECTED] 
> -------------------------------------------------------------------
> 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
>



-- 
_______________________________
Gilbert A. Corrales-Villalobos
+506 840 7941 Mobile
+506 238 2195 Home
[EMAIL PROTECTED]



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

Reply via email to