RE: [OzSilverlight] RE: Passign a Server side object to Silverlight

2008-10-09 Thread Philip Beadle
Not sure yet.  Plan is atm to only do this for data that can be held like this 
without causing issues.

Regards,
Philip Beadle
Readify | Principal Consultant
Microsoft MVP - ASP/ASP.NET, MCAD, MCT
Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
M: +61 417 301 024 | E: [EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W: 
www.readify.net


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Beattie
Sent: Thursday, October 09, 2008 6:13 PM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] RE: Passign a Server side object to Silverlight

(either the listserver or GMail is having issues - I just got this email)

Phillip, I was thinking

... is that the same object? is it that you've recreated that object
on the client-side populated it with the data from the server-side
version?

I'm curious: if values get changed on the server without going through
the SL UI (eg another process changes a members' list of roles), how
are you going to capture those changes for the client? or if they're
multiple client instances holding the same user data and one changes,
what happens to the rest?

just ruminating out loud, that's all.
barry.b



On Thu, Oct 9, 2008 at 1:31 PM, Philip Beadle <[EMAIL PROTECTED]> wrote:
> Ok it looks like i can use XmlSerializer to serislaise the objects into a
> string and pass that in the intiaprams.  Now to deserialise on the other
> side.
>
>
>
> Regards,
>
> Philip Beadle
> Readify | Principal Consultant
> Microsoft MVP - ASP/ASP.NET, MCAD, MCT
>
> Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
> M: +61 417 301 024 | E: [EMAIL PROTECTED] | C:
> [EMAIL PROTECTED] | W: www.readify.net
>
>
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Philip Beadle
> Sent: Thursday, October 09, 2008 1:33 PM
> To: listserver@ozSilverlight.com
> Subject: [OzSilverlight] Passign a Server side object to Silverlight
>
>
>
> Hi All,
>
>
>
> Im trying to figure out how I can pass an instance of a server side object
> to my SL app on startup of the host page.  Im building a module for
> DotNetNuke (works great so far) and I would love to have an instance of the
> PortalSettings object in my SL app so I can take advantage of the DNN fx.
>   I tried json serialising it but you cant pass that as a string because of
> all the "" etc in the string.  Any other ideas?
>
>
>
> Regards,
>
> Philip Beadle
> Readify | Principal Consultant
> Microsoft MVP - ASP/ASP.NET, MCAD, MCT
>
> Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
> M: +61 417 301 024 | E: [EMAIL PROTECTED] | C:
> [EMAIL PROTECTED] | W: www.readify.net
>
> 
>
> The content of this e-mail, including any attachments is a confidential
> communication between Readify Pty Ltd and the intended addressee and is for
> the sole use of that intended addressee. If you are not the intended
> addressee, any use, interference with, disclosure or copying of this
> material is unauthorized and prohibited. If you have received this e-mail in
> error please contact the sender immediately and then delete the message and
> any attachment(s).
>
> P Please consider your environmental responsibility before printing this
> e-mail
>
>
>
> ---
> 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




--- 
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] RE: Passign a Server side object to Silverlight

2008-10-09 Thread Barry Beattie
(either the listserver or GMail is having issues - I just got this email)

Phillip, I was thinking

... is that the same object? is it that you've recreated that object
on the client-side populated it with the data from the server-side
version?

I'm curious: if values get changed on the server without going through
the SL UI (eg another process changes a members' list of roles), how
are you going to capture those changes for the client? or if they're
multiple client instances holding the same user data and one changes,
what happens to the rest?

just ruminating out loud, that's all.
barry.b



On Thu, Oct 9, 2008 at 1:31 PM, Philip Beadle <[EMAIL PROTECTED]> wrote:
> Ok it looks like i can use XmlSerializer to serislaise the objects into a
> string and pass that in the intiaprams.  Now to deserialise on the other
> side.
>
>
>
> Regards,
>
> Philip Beadle
> Readify | Principal Consultant
> Microsoft MVP - ASP/ASP.NET, MCAD, MCT
>
> Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
> M: +61 417 301 024 | E: [EMAIL PROTECTED] | C:
> [EMAIL PROTECTED] | W: www.readify.net
>
>
>
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> On Behalf Of Philip Beadle
> Sent: Thursday, October 09, 2008 1:33 PM
> To: listserver@ozSilverlight.com
> Subject: [OzSilverlight] Passign a Server side object to Silverlight
>
>
>
> Hi All,
>
>
>
> Im trying to figure out how I can pass an instance of a server side object
> to my SL app on startup of the host page.  Im building a module for
> DotNetNuke (works great so far) and I would love to have an instance of the
> PortalSettings object in my SL app so I can take advantage of the DNN fx.
>   I tried json serialising it but you cant pass that as a string because of
> all the "" etc in the string.  Any other ideas?
>
>
>
> Regards,
>
> Philip Beadle
> Readify | Principal Consultant
> Microsoft MVP - ASP/ASP.NET, MCAD, MCT
>
> Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
> M: +61 417 301 024 | E: [EMAIL PROTECTED] | C:
> [EMAIL PROTECTED] | W: www.readify.net
>
> 
>
> The content of this e-mail, including any attachments is a confidential
> communication between Readify Pty Ltd and the intended addressee and is for
> the sole use of that intended addressee. If you are not the intended
> addressee, any use, interference with, disclosure or copying of this
> material is unauthorized and prohibited. If you have received this e-mail in
> error please contact the sender immediately and then delete the message and
> any attachment(s).
>
> P Please consider your environmental responsibility before printing this
> e-mail
>
>
>
> ---
> 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




[OzSilverlight] RE: Passign a Server side object to Silverlight

2008-10-08 Thread Philip Beadle
Ok it looks like i can use XmlSerializer to serislaise the objects into a 
string and pass that in the intiaprams.  Now to deserialise on the other side.

Regards,
Philip Beadle
Readify | Principal Consultant
Microsoft MVP - ASP/ASP.NET, MCAD, MCT
Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
M: +61 417 301 024 | E: [EMAIL PROTECTED] | C: [EMAIL 
PROTECTED] | W: www.readify.net

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Philip Beadle
Sent: Thursday, October 09, 2008 1:33 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] Passign a Server side object to Silverlight

Hi All,

Im trying to figure out how I can pass an instance of a server side object to 
my SL app on startup of the host page.  Im building a module for DotNetNuke 
(works great so far) and I would love to have an instance of the PortalSettings 
object in my SL app so I can take advantage of the DNN fx.I tried json 
serialising it but you cant pass that as a string because of all the "" etc in 
the string.  Any other ideas?

Regards,
Philip Beadle
Readify | Principal Consultant
Microsoft MVP - ASP/ASP.NET, MCAD, MCT
[cid:image001.gif@01C92A1B.BD0C3FF0]
Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia
M: +61 417 301 024 | E: [EMAIL PROTECTED] | C: [EMAIL 
PROTECTED] | W: www.readify.net

The content of this e-mail, including any attachments is a confidential 
communication between Readify Pty Ltd and the intended addressee and is for the 
sole use of that intended addressee. If you are not the intended addressee, any 
use, interference with, disclosure or copying of this material is unauthorized 
and prohibited. If you have received this e-mail in error please contact the 
sender immediately and then delete the message and any attachment(s).
P Please consider your environmental responsibility before printing this e-mail

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

<>