I have webservices and my setup is as follows  1. Using VS2008 i create a 
SilverLight
1.1 project 2. Using VS2008 i add an ASP.NET web application to the same 
solution
3. Add the SilverLight 1.1 application(1 above) to the ASP.NET application(2 
above).
You do this by right clicking on the asp.net web application project (2 above) 
and
get the context menu -> click add silverlight link ->  choose the silverlight 
application
from 1 above and click ok. 4. Add your webservice to the ASP.NET web application
(2 above). Thus the silverlight application and the web service now exist in the
same project.   Everytime you make a change to the silverlight project it will 
compile
and deploy to the asp.net website (2 above)  When you make a change to the 
webservice
you should be able to immediately get the changes because it is all linked to 
the
same solution and project.  Does this make sense? This is how I build/test 
during
development and it works a treat! 


----- Original Message ----- From: Jonathan Parker [mailto:[EMAIL PROTECTED]
Sent: 1/21/2008 12:53:01 AM To: [email protected] Subject: RE: 
[OzSilverlight]
Cross domain web service calls and debugging. 

        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 < [mailto:[EMAIL 
PROTECTED]@microsoft.com
>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) 

         [http://www.microsoft.com/australia]Microsoft Pty | New! The
RIA Times:  [http://blogs.msdn.com/msmossyblog]http://blogs.msdn.com/msmossyblog
| Office: +61 (2) 88179139 | Mobile: 0439-072-184 

        Twitter :  [http://twitter.com/mossyblog]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:  [mailto:[EMAIL PROTECTED]@ozSilverlight.com [mailto: 
[mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] ]
On Behalf Of .net noobie

Sent: Sunday, 20 January 2008 7:31 PM

To:  [mailto:[EMAIL PROTECTED]@ozsilverlight.com 

        
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 < [mailto:[EMAIL PROTECTED]@microsoft.com
>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]http://blogs.msdn.com/dthorpe/archive/2007/06/18/secure-cross-domain-communication-the-architecture-journal.aspx


        

        

        -- 

        Scott Barnes 
(RIA Evangelist) 

         [http://www.microsoft.com/australia]Microsoft Pty | New! The
RIA Times:  [http://blogs.msdn.com/msmossyblog]http://blogs.msdn.com/msmossyblog
| Office: +61 (2) 88179139 | Mobile: 0439-072-184 

        Twitter :  [http://twitter.com/mossyblog]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:  [mailto:[EMAIL PROTECTED]@ozSilverlight.com [mailto: 
[mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] ]
On Behalf Of Jose Fajardo 
Sent: Sunday, 20 January 2008 6:29 PM

To:  [mailto:[EMAIL PROTECTED]@ozSilverlight.com ;
 [mailto:[EMAIL PROTECTED]@ozSilverlight.com

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: [mailto:[EMAIL PROTECTED] [EMAIL 
PROTECTED]
] 

        Sent: 1/20/2008 4:28:58 PM 

        To:  [mailto:[EMAIL PROTECTED]@ozSilverlight.com 

        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:  [mailto:[EMAIL PROTECTED]@jonathanparker.com.au 

        Blog:  [http://www.jonathanparker.com.au]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  [http://mailenable.com]mailenable.com -
List managed by  [http://www.readify.net]www.readify.net
-------------------------------------------------------------------
OzSilverlight.com
- to unsubscribe from this list, send a message back to the
list with 'unsubscribe'
as the subject.

Powered by  [http://mailenable.com]mailenable.com -
List managed by  [http://www.readify.net]www.readify.net


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

Powered by  [http://mailenable.com]mailenable.com -
List managed by  [http://www.readify.net]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  [http://mailenable.com]mailenable.com -
List managed by  [http://www.readify.net]www.readify.net


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

Powered by  [http://mailenable.com]mailenable.com -
List managed by  [http://www.readify.net]www.readify.net


        


-- 
_______________________________

Gilbert A. Corrales-Villalobos

+506 840 7941 Mobile

+506 238 2195 Home

 [mailto:[EMAIL PROTECTED]@gmail.com 
-------------------------------------------------------------------
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

Reply via email to