[OzSilverlight] 1.0 RC breaks 1.1 alpha

2007-08-20 Thread Jonathan Parker
Has anyone had problems with the 1.0 RC breaking the 1.1 alpha?

I had auto updates turned on so I was automatically upgraded to the 1.0 RC
from the beta.

I previously had the 1.0 beta and the 1.1 alpha installed but now building
fails with the error that

the silverlight framework is not installed. I'm using Orcas beta 1. With the
silverlight extensions.

If I need to download the 1.1 again where would I find it. It seems to have
disappeared from silverlight.net.

 

 

Regards,

 

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


RE: [OzSilverlight] 1.0 RC breaks 1.1 alpha

2007-08-21 Thread Jonathan Parker
Thanks guys.

I'll try Tim's suggestions and see how far I get with Beta 1.

 

Regards,

 

Jonathan.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Gilbert Corrales
Sent: Tuesday, 21 August 2007 2:54 AM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] 1.0 RC breaks 1.1 alpha

 

Also, given that u r using Orcas Beta 1 with the Alpha tools I will
reconsider getting Orcas 2 and the refreshed set of tools as it will
automatically add the references to the new Silverlight.js file and
structure... or download the latest version of Blend (August Preview) as it
will as well create the projects with the new files and structure. 

Here
<http://samiqbits.blogspot.com/2007/07/silverlight-10-rc-is-almost-out-but.h
tml>  is a post I wrote talking about the breaking changes and a reference
to Tim Sneath and some preview docs he and his team released before RC1 went
released. 

This are my two cents to what Scott and Tim added,

G.

On 8/20/07, Scott Barnes <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

Hi Jonathan,

 

It's expired runtime and I can send you it if you like. Yet, you'll have to
wind your clocks back otherwise the runtime prompts you with an error (which
basically is an expiry past-due do not past go message). 

 

 

--

Scott Barnes 
(Developer Evangelist)

 <http://www.microsoft.com/australia> Microsoft Pty | Blog:
http://blogs.msdn.com/msmossyblog (new blog design) | Office: 7-3218-7030 |
Mobile: 0439-072-184 (New!) 

Twitter: twitter.com/mossyblog | MSN: [EMAIL PROTECTED]
P Please consider your environmental responsibility before printing this
e-mail

 

From: [EMAIL PROTECTED] [mailto:
<mailto:[EMAIL PROTECTED]>  [EMAIL PROTECTED] On
Behalf Of Jonathan Parker
Sent: Monday, August 20, 2007 11:11 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] 1.0 RC breaks 1.1 alpha

 

Has anyone had problems with the 1.0 RC breaking the 1.1 alpha?

I had auto updates turned on so I was automatically upgraded to the 1.0 RC
from the beta.

I previously had the 1.0 beta and the 1.1 alpha installed but now building
fails with the error that

the silverlight framework is not installed. I'm using Orcas beta 1. With the
silverlight extensions.

If I need to download the 1.1 again where would I find it. It seems to have
disappeared from silverlight.net.

 

 

Regards,

 

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 




-- 
___
Gilbert A. Corrales-Villalobos
+506 840 7941 Mobile
+506 238 2195 Home
[EMAIL PROTECTED]  <mailto:[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


RE: [OzSilverlight] 1.0 RC breaks 1.1 alpha

2007-08-21 Thread Jonathan Parker
Looks like 1.1 refresh won't work with orcas beta 1.

I guess I'll have to get beta 2.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jonathan Parker
Sent: Tuesday, 21 August 2007 10:39 PM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] 1.0 RC breaks 1.1 alpha

 

Thanks guys.

I'll try Tim's suggestions and see how far I get with Beta 1.

 

Regards,

 

Jonathan.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Gilbert Corrales
Sent: Tuesday, 21 August 2007 2:54 AM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] 1.0 RC breaks 1.1 alpha

 

Also, given that u r using Orcas Beta 1 with the Alpha tools I will
reconsider getting Orcas 2 and the refreshed set of tools as it will
automatically add the references to the new Silverlight.js file and
structure... or download the latest version of Blend (August Preview) as it
will as well create the projects with the new files and structure. 

Here
<http://samiqbits.blogspot.com/2007/07/silverlight-10-rc-is-almost-out-but.h
tml>  is a post I wrote talking about the breaking changes and a reference
to Tim Sneath and some preview docs he and his team released before RC1 went
released. 

This are my two cents to what Scott and Tim added,

G.

On 8/20/07, Scott Barnes <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:

Hi Jonathan,

 

It's expired runtime and I can send you it if you like. Yet, you'll have to
wind your clocks back otherwise the runtime prompts you with an error (which
basically is an expiry past-due do not past go message). 

 

 

--

Scott Barnes 
(Developer Evangelist)

 <http://www.microsoft.com/australia> Microsoft Pty | Blog:
http://blogs.msdn.com/msmossyblog (new blog design) | Office: 7-3218-7030 |
Mobile: 0439-072-184 (New!) 

Twitter: twitter.com/mossyblog | MSN: [EMAIL PROTECTED]
P Please consider your environmental responsibility before printing this
e-mail

 

From: [EMAIL PROTECTED] [mailto:
<mailto:[EMAIL PROTECTED]>  [EMAIL PROTECTED] On
Behalf Of Jonathan Parker
Sent: Monday, August 20, 2007 11:11 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] 1.0 RC breaks 1.1 alpha

 

Has anyone had problems with the 1.0 RC breaking the 1.1 alpha?

I had auto updates turned on so I was automatically upgraded to the 1.0 RC
from the beta.

I previously had the 1.0 beta and the 1.1 alpha installed but now building
fails with the error that

the silverlight framework is not installed. I'm using Orcas beta 1. With the
silverlight extensions.

If I need to download the 1.1 again where would I find it. It seems to have
disappeared from silverlight.net.

 

 

Regards,

 

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 




-- 
___
Gilbert A. Corrales-Villalobos
+506 840 7941 Mobile
+506 238 2195 Home
[EMAIL PROTECTED]  <mailto:[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 




--- 
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] Accessing local variable from XAML

2007-09-19 Thread Jonathan Parker
Try this.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Price
Sent: Wednesday, 19 September 2007 7:47 PM
To: listserver@ozsilverlight.com
Subject: [OzSilverlight] Accessing local variable from XAML

 

I know this is more of a WPF question but i'm hoping the similarities
between Silverlight and WPF close enough that it applies. That and I think
i'm more likely to get an answer from here. 

 

Is there a WPF e-list? 

 

Anyway, I know how you can access a named XAML object (ala x:Name="name")
from code, but I'm trying to pause an animation that was created in code
from the XAML. 

 

So when I mouse over, it uses a trigger to pause the animation. I've tried
declaring the AnimationTimeline object as internal and public but it seems
to be one way. Have I missed something? 

 

Again, forgive me if this post is offtopic. Someone point me to the WPF
e-list if there is one. 

 

cheers,

Stephen

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


Window.xaml
Description: application/xaml


[OzSilverlight] Scott Gu on 1.0 vs 1.1 etc

2007-09-26 Thread Jonathan Parker
Scott Guthrie: Enter Silverlight 1.0 (And it now runs on all Linux distros)

http://channel9.msdn.com/Showpost.aspx?postid=339594

 

I found this a very interesting interview.

 

Regards,

 

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] Modification of the 1.1 SDK Button

2007-10-26 Thread Jonathan Parker
I thought some of you might be interested in a simple mod. to the button
shiped in the 1.1 sdk.

 

Add this  to the updatelayout method to avoid having to set the width for
each button

that has a different length text.

 

  if (text != null)

  {

this.SetValue(Canvas.WidthProperty, text.ActualWidth +
30);

  } 

 

You could even add an EnableAutoWidth property to the button to enable this
if you want to keep the

original behaviour in other situations.

 

Cheers,

 

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] Blend Sept. Preview

2007-10-26 Thread Jonathan Parker
A!

 

It's all good. Just hit TAB!

 

This will hide all panels. You can also hit F4 or click on Window -> Hide
Panels.

 

Note that everything is still available on the side as popouts.

 

Very cool!

 

Cheers,

 

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


RE: [OzSilverlight] Blend Sept. Preview

2007-11-15 Thread Jonathan Parker
Interesting...

I would prefer just one huge monitor with the previso that I can define as
many
"logical monitors" as I want and arange them as I want. I may even define
portions of the
physical monitor as "empty". This would enable floating monitors. I guess it
would be like docking
and floating in Visual Studio extended to "logical monitors". This would
enable great flexibility as
there are times when you want one large monitor. This would also be similar
to having monitors
that fit together withought any visible edges.

I see no reason why this should not be possible.

I think it should also be possible to have a labtop with a screen that can
be folded.

Anyone expert in patent applications? ;)

Regards,

Jonathan

> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> On Behalf Of silky
> Sent: Wednesday, 7 November 2007 7:14 PM
> To: listserver@ozsilverlight.com
> Subject: Re: [OzSilverlight] Blend Sept. Preview
> 
> ah.
> 
> seriously, widescreen is where it's at for development these days.
> 
> oftentimes i think it may be nice to have little floating monitors
> attached to a main, massive, wide one. the little floating ones could
> have the various windows that we like to have open [solution explorer,
> task list, command window, etc].
> 
> 
> On 11/7/07, Stephen Price <[EMAIL PROTECTED]> wrote:
> > I think it was in reference to a complaint (maybe from Nick?) about the
lack
> > of space in the editor window. I discovered the TAB key after talking
with a
> > designer (mentioned the designer-like hotkeys)
> >
> > Well his random post made sense to me... I'm weird tho, so that doesnt
mean
> > anything. :)
> >
> >
> > On 11/7/07, David L. Campbell
> > <[EMAIL PROTECTED]> wrote:
> > > whew...
> > >
> > > I thought it was just me :)
> > >
> > >
> > > -Dave
> > >
> > >
> > > 
> > >
> > > From: [EMAIL PROTECTED] on behalf of silky
> > > Sent: Tue 11/6/2007 9:46 PM
> > > To: listserver@ozSilverlight.com
> > > Subject: Re: [OzSilverlight] Blend Sept. Preview
> > >
> > >
> > >
> > > is it just me or did this come through with no context ..
> > >
> > >
> > >
> > > On 10/27/07, Jonathan Parker < [EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > >
> > > >
> > > > A!
> > > >
> > > >
> > > >
> > > > It's all good. Just hit TAB!
> > > >
> > > >
> > > >
> > > > This will hide all panels. You can also hit F4 or click on Window ->
> > Hide
> > > > Panels.
> > > >
> > > >
> > > >
> > > > Note that everything is still available on the side as popouts.
> > > >
> > > >
> > > >
> > > > Very cool!
> > > >
> > > >
> > > >
> > > > Cheers,
> > > >
> > > >
> > > >
> > > > 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
> > >
> > >
> > > --
> > > mike
> > > http://lets.coozi.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
> 
> 
> --
> mike
> http://lets.coozi.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] Cross domain web service calls and debugging.

2008-01-19 Thread Jonathan Parker
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


RE: [OzSilverlight] Cross domain web service calls and debugging.

2008-01-20 Thread Jonathan Parker
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: listserver@ozsilverlight.com
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)

 <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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of .net noobie
Sent: Sunday, 20 January 2008 7:31 PM
To: listserver@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 <[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-communi
cation-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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jose Fajardo 
Sent: Sunday, 20 January 2008 6:29 PM
To: listserver@ozSilverlight.com; listserver@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 t

RE: RE: [OzSilverlight] Cross domain web service calls and debugging.

2008-01-23 Thread Jonathan Parker
Thanks, I've been out of town so have not had a chance to try this but I
will give it a shot when I get some time.

 

Cheers,

 

Jonathan

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jose Fajardo
Sent: Monday, 21 January 2008 9:12 AM
To: listserver@ozSilverlight.com; listserver@ozSilverlight.com
Subject: Re: RE: [OzSilverlight] Cross domain web service calls and
debugging.

 

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: listserver@ozSilverlight.com

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: listserver@ozsilverlight.com
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)

 <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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of .net noobie
Sent: Sunday, 20 January 2008 7:31 PM
To: listserver@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 < [EMAIL 

[OzSilverlight] Expression Professional Subscription

2008-03-07 Thread Jonathan Parker
http://www.microsoft.com/expression/subscription/

 

This looks like a great deal.

 

What do people think?

 

Jonathan

 




--- 
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] Silverlight 2.0 Web Services

2008-03-17 Thread Jonathan Parker
I've been trying to get this working for a few days now and it's just not
happening.

 

Has anyone got WCF or ASMX web services working with Silverlight 2.0 beta 1?

 

What about videos/samples? Does anyone know of any that are updated from the
alpha release?

 

I figured out that you can't have a web service in a different solution to
the ASP.NET solution that hosts Silverlight

but I'm still not getting it to work with the inbuilt web server or IIS7 on
Vista.

 

I tried uploading a web service to my hosting site and referencing it
directly but it still didn't work.

 

I tried consuming the same web service from a console app and it worked
fine.

 

What I haven't tried (because I don't know how to) is using the inbuild web
server while using a webservice within the

ASP.NET web site that hosts the silverlight control.

 

The reason I can't do this is because with an ASP.NET website AFAIK you
can't statically set the port number. This means that whenever you call

the web service it's going to be on the wrong port because it is bound to
the port from when the reference was added.

 

Does anyone know how to solve this issue?

 

At the moment I can't even debug so I don't know what error I'm getting.

 

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


RE: [OzSilverlight] Silverlight 2.0 Web Services

2008-03-17 Thread Jonathan Parker
Magic! I new about the basicHttpBinding but I hadn't tried it within the
same project as the silverlight host.

Thanks for your help.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Andrea Boschin
Sent: Monday, 17 March 2008 10:38 PM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] Silverlight 2.0 Web Services

 

On Mon, Mar 17, 2008 at 12:24 PM, Jonathan Parker
<[EMAIL PROTECTED]> wrote:  

Has anyone got WCF or ASMX web services working with Silverlight 2.0 beta 1?

Make sure you are using BasicHttpBinding with WCF.

 

Bye

 

-- 
Andrea Boschin
MicrosoftR MVP - [Visual Developer - ASP/ASP.NET]
http://blog.boschin.it
http://www.xedotnet.org
https://mvp.support.microsoft.com/profile/Andrea.Boschin 

---
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] Silverlight 2.0 Web Services

2008-03-18 Thread Jonathan Parker
Thanks, I've got it working now with WCF.

However I did need to do some extra work to get it working on shared
hosting:

 

<%@ ServiceHost Language="C#" Debug="true" Service="Service"
Factory="CustomHostFactory" CodeBehind="~/App_Code/Service.cs" %>

 

using System;

using System.Data;

using System.Configuration;

using System.Linq;

using System.Web;

using System.Web.Security;

using System.Web.UI;

using System.Web.UI.HtmlControls;

using System.Web.UI.WebControls;

using System.Web.UI.WebControls.WebParts;

using System.Xml.Linq;

using System.ServiceModel.Activation;

using System.ServiceModel;

 

/// 

/// Summary description for CustomHostFactory

/// 

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();

}

}

 

Here's the post where I found the fix:

 

http://www.robzelt.com/blog/CommentView,guid,b53a709e-cd21-460f-a33b-c7a8e02
e8bd6.aspx

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Tim Heuer
Sent: Tuesday, 18 March 2008 3:29 PM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] Silverlight 2.0 Web Services
Importance: Low

 

I also tried to distil different versions here:
http://timheuer.com/blog/archive/2008/03/14/calling-web-services-with-silver
light-2.aspx 

 

-th

 

tim heuer | (602) 405-4567 | im:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]
| blog:  <http://timheuer.com/blog/> http://timheuer.com/blog/ | ride:
<http://timheuer.com/blog/> http://thecodetrip.com

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jonathan Parker
Sent: Monday, March 17, 2008 4:24 AM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] Silverlight 2.0 Web Services

 

I've been trying to get this working for a few days now and it's just not
happening.

 

Has anyone got WCF or ASMX web services working with Silverlight 2.0 beta 1?

 

What about videos/samples? Does anyone know of any that are updated from the
alpha release?

 

I figured out that you can't have a web service in a different solution to
the ASP.NET solution that hosts Silverlight

but I'm still not getting it to work with the inbuilt web server or IIS7 on
Vista.

 

I tried uploading a web service to my hosting site and referencing it
directly but it still didn't work.

 

I tried consuming the same web service from a console app and it worked
fine.

 

What I haven't tried (because I don't know how to) is using the inbuild web
server while using a webservice within the

ASP.NET web site that hosts the silverlight control.

 

The reason I can't do this is because with an ASP.NET website AFAIK you
can't statically set the port number. This means that whenever you call

the web service it's going to be on the wrong port because it is bound to
the port from when the reference was added.

 

Does anyone know how to solve this issue?

 

At the moment I can't even debug so I don't know what error I'm getting.

 

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


RE: [OzSilverlight] Silverlight Proformance

2008-03-19 Thread Jonathan Parker
If this is a 1.1 app then it may be Javascript problems.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of .net noobie
Sent: Wednesday, 19 March 2008 11:09 AM
To: listserver@ozsilverlight.com
Subject: [OzSilverlight] Silverlight Proformance

 

I have run some extremely simple silver light apps on an older PC but still
quite powerful (P4 AMD 2400+ Athlon 32 bit + 512 Mb ram + 256 Mb Video card)

when I look at the task manager performance it is often hitting 100% and
with a couple silver light sites open can experience a couple very long
freezes as things loaded

I should mention this was on a "Dial-up" 56Kb / sec connection

most of the freezing seemed to be related to loading content...

the content was not loaded using the "Downloader/WebClient" so I wonder if I
used this to download content would these issues go away...?

have other people noticed any similar issues..?

-- 
.net noobieT
---
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] Silverlight SEO

2008-03-19 Thread Jonathan Parker
Hi All,

 

I've been looking into SEO for Silverlight a bit and found that it's not all
as easy as it is made out to be.

The issue is that in most apps the content (which is what you want indexed)
is not part of the xaml.

This would be the case if you just had static content inside the xaml but
this is rarely the case with silverilght.

 

The way that crawlers/spiders crawl content on dynamic sites (e.g. content
from a DB) is by following links.

 

So although you can have hyperlinks in SL it's not really the natural way to
expose content as it's easier to

download content via the network API vs. loading a whole new dynamically
generated xaml page from the server.

 

So the question arises how does flash handle SEO.

 

Well apparantly there is some support. For example
http://www.google.com/search?hl=en
<http://www.google.com/search?hl=en&q=filetype%3Aswf> &q=filetype%3Aswf

 

Now unless these sites are dynamically generating ( or more likely just have
a custom handler for ) swf files then

this means swfs are "parsable" and "indexable" though when it comes to
exposing the state of the swf with deep links I don't think

that works out of the box.

 

So the question is how to implement SEO in general and deep links in
particular for SL.

 

My current theory is that you could pass the url/query string to SL by using
the initparams:

 

function createSilverlight()

{  

Silverlight.createObject(

"plugin.xaml", // Source property value.

parentElement, // DOM reference to hosting DIV tag.

"myPlugin",// Unique plug-in ID value.

{  // Plug-in properties.

width:'600',   // Width of rectangular region of
plug-in in pixels.

height:'200',  // Height of rectangular region of
plug-in in pixels.

version:'1.0'  // Plug-in version to use.

},

{ },   // No events defined -- use empty
list.

"param1, param2"); // InitParams property value.

}

 

Then the SL app would use these to set the state ("navigate" to specific
content or set the selected index in a list of content).

This would handle links from a search engine but you would still have to
generate the urls and content for the spider to crawl.

This I think is done at the moment using the "javascript" test. I.e. spiders
don't execute JS and therefore you can take advantage
of that by displaying xml/html with content and links if JS is "disabled".

 

The first issue doesn't seem so difficult but the second one I'm finding
hard to get my head around.

 

Any thoughts?

 

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


RE: [OzSilverlight] Silverlight SEO

2008-03-20 Thread Jonathan Parker
Perry:

 

I saw Nikhil's post just after I sent of the email. I think some of his
ideas are great but I don't think it's a full solution. I.e. no deep
linking.

My comment

 

>>Then the SL app would use these to set the state ("navigate" to specific
content or set the selected index in a list of content).

 

may not be clear enough. I'm talking about selecting content within the page
not using multiple xaml pages. I believe this is deep linking.

 

Michael:

 

Again this will bring the user to your site but won't bring them to the
specific content their expecting from the search. See bellow for more.

 

Jose:

 

When I saw your link to visitmix.com I was blown away!

 

http://sessions.visitmix.com/?selectedSearch=BT03 is a deep link!

 

Your link to a video about Silverlight SEO demonstrates Silverlight SEO!

 

When the link loads it loads a Silverlight Application which then displays a
search result according to the url. In this case it's session BT03.

 

I'm certain that they are using some thing link initparams to do this.

 

The site however doesn't go the extra step to serve up content to spiders as
can be seen if you turn off javascript and navigate to the above link.

 

This is what is the complex part of the problem.

 

I will watch this video and get back to you.

 

 

Thanks all for your input.

 

Cheers,

 

Jonathan

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jose Fajardo
Sent: Thursday, 20 March 2008 7:46 AM
To: listserver@ozSilverlight.com; listserver@ozSilverlight.com
Subject: Re: [OzSilverlight] Silverlight SEO

 

Hi,

 

What you highlight is definetely on the radar of Microsft I believe. They
had a great session at Mix08 titled Advanced SEO for web developers
(http://sessions.visitmix.com/?selectedSearch=BT03). But I also watched
another video where the silverlight team talked about the work they were
doing with SEO in particular with 2.0 because now the distribution method is
nolonger xAML but XAP's which as we all know are zip files which can contain
hundreds of files including xAml's and resource fiels (ripe for spidering).

 

The biggest point I took from the videos was that ultimately it would be up
to the search engine owners (google's, live search, yahoo search) to work
out how to get to the data, and more importantly what constituted important
data. I belive the Live Search team are work hard to ensure our RIA's are
given every advantage of making there way up the search page ranks. It's now
up to the other engines to acknowledge initiatives in this direction.

 

As for what we designers/developers can do honestly I'll keep filling in the
tag's, layer names as I've always have.As for URL re-writing for internal
navigation within silverlight (where an external unique url adress that is
spider friendly will get you to the correct silverlight instance), I believe
there are things out there that can do this easily I've seen one solutiong
BUT I believe it's too early to commit to anything when the search engines
themselves haven't acknowledged they are spidering them.

 

It's going to be an interesting couple of years if it plays out in favour of
RIA over traditional sites!

Jose Fajardo

 

 

- Original Message -

From: Jonathan Parker [mailto:[EMAIL PROTECTED]

Sent: 3/20/2008 12:07:15 AM

To: listserver@ozSilverlight.com

Subject: [OzSilverlight] Silverlight SEO

 

Hi All,

 

I've been looking into SEO for Silverlight a bit and found that it's not all
as easy as it is made out to be.

The issue is that in most apps the content (which is what you want indexed)
is not part of the xaml.

This would be the case if you just had static content inside the xaml but
this is rarely the case with silverilght.

 

The way that crawlers/spiders crawl content on dynamic sites (e.g. content
from a DB) is by following links.

 

So although you can have hyperlinks in SL it's not really the natural way to
expose content as it's easier to

download content via the network API vs. loading a whole new dynamically
generated xaml page from the server.

 

So the question arises how does flash handle SEO.

 

Well apparantly there is some support. For example
http://www.google.com/search?hl=en
<http://www.google.com/search?hl=en&q=filetype%3Aswf> &q=filetype%3Aswf

 

Now unless these sites are dynamically generating ( or more likely just have
a custom handler for ) swf files then

this means swfs are "parsable" and "indexable" though when it comes to
exposing the state of the swf with deep links I don't think

that works out of the box.

 

So the question is how to implement SEO in general and deep links in
particular for SL.

 

My current theory is that you could pass the url/query string to SL by using
the initparams:

 

function createSilverlight()

{ 

Silverlight.createO

RE: OT: Silky vs Microsoft was RE: [OzSilverlight] Silverlight 3.0 wishlist, now's your chance.

2008-04-02 Thread Jonathan Parker
My list:

1. Better clipboard support. I don't get why you can't just copy/paste
to/from the clipboard in SL when this is allowed with HTML/Javascript.
I would expect that SL would have a superset of the features of HTML and not
be more limited in security. I can understand that SL shouldn't be allowed
direct access
to the clipboard by default but that doesn't mean that you can't make a
textblock selectable and have a context menu so you can copy the text.

2. Right and middle mouse click events on controls and context menu control.

3. Rich text is a tricky one as when it comes to copy/paste to/from the
clipboard problems arise. If you can solve this x-platform that would be
something awsome.

4. Make unit testing easy to automate without a browser (if not already
possible).

5. I don't know exactly how the deployment of the SDK bits works at the
moment but it would be good if they only needed to be downloaded once for
each client
instead of once for each client per each app. that references them. This
would mean that the SDK would be kind of like an optional service pack.
Those who don't want the
big foot print can leave it out by not referencing it and those that need it
can reference it and it will be pulled from the MS server the first time
only.
The SDK could still be open source/codeplex and any changes that people want
to make they can reference as their own DLL instead of the one provided by
MS.
This would also allow more flexibility in the control of upgrades to the
SDK. You could choose to either wait for the MS upgrade or control the
upgrade yourself if you're using your own copy.

This would create more vesion issues than normal but SL devs. are smarter
than plain old .NET devs. right? ;) We can handle it!

> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
> On Behalf Of Scott Barnes
> Sent: Tuesday, 1 April 2008 12:11 PM
> To: listserver@ozSilverlight.com
> Subject: RE: OT: Silky vs Microsoft was RE: [OzSilverlight] Silverlight
3.0 wishlist,
> now's your chance.
> 
> *sigh* :) This one's going to be a long one, so bare with me.
> 
> --
> 
> 1) Silky is just vocal and yeah he may go against the grain, but in the
end he is a
> customer of Microsoft and whether I agree or disagree with his views, I'll
still give
> him the time/day to voice them.
> 
> As for the snowflake comment. We are in what, year 2? And already we are
> exceeding our critics expectations and more over, our competitors. The
story with
> Silverlight will continue to get better as we aren't being reactive, we
are keeping
> calm and pushing forward with what we think is a good bet. Our competitor
has
> been reactive and are busy fighting fires on many fronts, and all the
power to
> them. As from growing ground swell from 0 to where we are today, that has
been
> an enormous effort undertaken and lists like this are a testament to this.
The
> community and technology is growing, but we aren't just building a runtime
- we
> are building a UX Platform all with interconnecting pieces (Tools,
Services,
> Communities etc) and there is no "instant deploy" button (wish there was).
> 
> 2) I need to pick my wording more carefully around you :) - It's not that
"I don't get
> it" I disagree with it. There is millions upon millions of .NET friendly
folks from
> around the world who are keen to explore/adopt the new Sivlerlight
ecosystem as
> well as many thousands of folks whom are also keen to use both Flash and
> Silverlight. Right now, it's much easier conversation to work with the
folks whom
> understand Microsoft tools & culture - or have invested in Microsoft
technology
> already - than it is to worry about convincing the folks loyal to the
Adobe brand that
> we have just as strong offering. Doesn't mean we won't spend our energy
and time
> doing so, just that our existing customers are just as important as new
customers.
> That's the simplicity of it all, grow but don't lose sight of the
customers that gave
> you success in the first place.
> 
> The overarching message is that this is not a zero sum game, you can use
BOTH.
> If you don't like Silverlight or you think based on your own investment,
skill set and
> resources made available that Flex is a better solution - then choose
Flex. I'd
> rather you pick a solution that best suits your skills, budget and long
term plans
> then one that is a forced fit. As this is a short term win, massive
long-term loss.
> 
> To put it in perspective, Barry you're in the top 1% of the Adobe
developer pyramid,
> in that you have skills that have been nurtured and cultivated because
you've
> spent time with the right people over the years (I know as I was also
there
> alongside you). The trick isn't so much "why did company xyz choose Flex",
I
> suspect you influenced the discussion or will influence it, but the real
hurdle you
> will face is simple, finding another Barry as you don't scale. How many
> ActionScript 3.0 developers exist in Brisbane? How many .NET develo

RE: OT: Silky vs Microsoft was RE: [OzSilverlight] Silverlight 3.0 wishlist, now's your chance.

2008-04-03 Thread Jonathan Parker
*   the ability to use % values for heights and widths would be nice

You mean the star (*) syntax? It is supported by the Grid.

I.e.

 



















 

Just divide by 100!

 

Some other things:

 

Virtical support for the grid splitter.

A wrap panel.

Incremental search in Blend and VS. Long overdue.

Horizontal split of Design/XAML in Blend to support dual-monitor setup.

Multimonitor support. i.e be able to expand a video control inside a SL app.
to fit the monitor it is on not both monitors.

 

Jonathan

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of .net noobie
Sent: Thursday, 3 April 2008 1:15 PM
To: listserver@ozsilverlight.com
Subject: Re: OT: Silky vs Microsoft was RE: [OzSilverlight] Silverlight 3.0
wishlist, now's your chance.

 

*   the ability to use % values for heights and widths would be nice
*   proper UIElement Property Binding like in WPF & better support for
it in Blend
*   Support for the designer in VS2008 so so you can drop and drag
controls on to the design surface
*   alot better support for debugging, it is currently a potential
nightmare if you have not played with silverlight for a while
*   decent combobox control, and more controls in general, the current
ones are pretty cool, but more is better :)
*   ability to update the "VisualRoot" control would be good
*   more and better documentation, with more and better code samples for
both C# and VB plus xaml
*   new section in the silverlight forums for silverlight 2.0, and 3.0
etc... currently it is a real drag to have to weed out all the silverlight
1.0 & 1.1 posts when your looking for a Silverlight 2.0 Beta 1 answer
*   more Video demos, and some more complex ones

But from playing with silverlight 2.0 Beta 1, it is a really cool product
and getting better :)

On 4/3/08, Jonathan Parker <[EMAIL PROTECTED]> wrote:

My list:

1. Better clipboard support. I don't get why you can't just copy/paste
to/from the clipboard in SL when this is allowed with HTML/Javascript.
I would expect that SL would have a superset of the features of HTML and not
be more limited in security. I can understand that SL shouldn't be allowed
direct access
to the clipboard by default but that doesn't mean that you can't make a
textblock selectable and have a context menu so you can copy the text.

2. Right and middle mouse click events on controls and context menu control.

3. Rich text is a tricky one as when it comes to copy/paste to/from the
clipboard problems arise. If you can solve this x-platform that would be
something awsome.

4. Make unit testing easy to automate without a browser (if not already
possible).

5. I don't know exactly how the deployment of the SDK bits works at the
moment but it would be good if they only needed to be downloaded once for
each client
instead of once for each client per each app. that references them. This
would mean that the SDK would be kind of like an optional service pack.
Those who don't want the
big foot print can leave it out by not referencing it and those that need it
can reference it and it will be pulled from the MS server the first time
only.
The SDK could still be open source/codeplex and any changes that people want
to make they can reference as their own DLL instead of the one provided by
MS.
This would also allow more flexibility in the control of upgrades to the
SDK. You could choose to either wait for the MS upgrade or control the
upgrade yourself if you're using your own copy.

This would create more vesion issues than normal but SL devs. are smarter
than plain old .NET devs. right? ;) We can handle it!


> -Original Message-
> From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]

> On Behalf Of Scott Barnes
> Sent: Tuesday, 1 April 2008 12:11 PM
> To: listserver@ozSilverlight.com
> Subject: RE: OT: Silky vs Microsoft was RE: [OzSilverlight] Silverlight
3.0 wishlist,
> now's your chance.
>
> *sigh* :) This one's going to be a long one, so bare with me.
>
> --
>
> 1) Silky is just vocal and yeah he may go against the grain, but in the
end he is a
> customer of Microsoft and whether I agree or disagree with his views, I'll
still give
> him the time/day to voice them.
>
> As for the snowflake comment. We are in what, year 2? And already we are
> exceeding our critics expectations and more over, our competitors. The
story with
> Silverlight will continue to get better as we aren't being reactive, we
are keeping
> calm and pushing forward with what we think is a good be

RE: [OzSilverlight] [OZ Silverlight] - Silverlight app running in Opera

2008-04-08 Thread Jonathan Parker
The Silverlight 2.0 Developer Reference poster shows "support" for:

 

Browsers:

 

IE 6, 7, 8

Firefox 1.5, 2.0, 3.0

Safari 2.0, 3.0

 

And platforms:

 

OSX Tiger, OSX Leopard

 

Vista, XP, 2003, 2000

 

None of the above have the orange new tag which indicates new functionality
in 2.0 Beta 1.

I would assume that means they are supported in 1.0, 1.1 also.

 

As for 2.0 RTM I don't know if Opera is supported but I recall seeing it in
some other poster.

Probably a "future support" poster.

 

However this page shows more detailed info on what is currently supported.

 

http://www.microsoft.com/silverlight/resources/InstallationFiles.aspx?mode=s
ysreq

 

See the note down the bottom:

 

RECOMMENDED: Use Silverlight in the 32-bit Internet Explorer process on x64
systems. Most browser plug-ins (including Silverlight, Flash, Java and
almost all ActiveX controls) only work in 32-bit browsers currently.

 

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Price
Sent: Tuesday, 8 April 2008 4:01 PM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] [OZ Silverlight] - Silverlight app running in
Opera

 

Have you tried the  tag? I'm not sure if thats exactly right. Read
something about it in Adam Nathan's silverlight book in chapter 1. Still
reading it... 

On Tue, Apr 8, 2008 at 1:54 PM, .net noobie <[EMAIL PROTECTED]> wrote:

I think I am going to start uing the  tag way anyway, it gives more
options then the xaml control from what I can tell, pules you can make you
own custom page to tell the user that they need the pluging etc... 

 

On 4/8/08, Damian Edwards <[EMAIL PROTECTED]> wrote: 

The difference appears to be the ASP.NET   XAML control
inserts the  into the DOM via client-side javascript. So there must
be something incompatible with Opera in the way the XAML control renders its
script.

 

Regards,

Damian Edwards
Readify | Senior Consultant

M: 0448 545 868 | E:  
[EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W:
 www.readify.net

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of .net noobie
Sent: Tuesday, 8 April 2008 14:57
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] [OZ Silverlight] - Silverlight app running in
Opera

 

ok i added a html version of the .aspx page up onto the web server 

http://silverlight.davidthiessen.com/testpage.html

some things are working where as others are not, 
but opera loads a Silverlight app if it is in an  tag it seems, but
not a xaml control...?

On 4/8/08, .net noobie <[EMAIL PROTECTED]> wrote:

e.g. this page is SIlverlight 2 Beta 1,
but does not work in Opera:  

http://silverlight.davidthiessen.com/

this is also SIlverlight 2 Beta 1, but this page does run in Opera?

http://silverlight.davidthiessen.com/Carousel.html

the first one is an aspx page using a asp.net   xaml
control
thesecond is a plain old Html page using a  tag

 

On 4/8/08, .net noobie <[EMAIL PROTECTED]> wrote:

yes but Opera is not a supported browser for silverlight... or is in in SL
2.0 Beta 1...?

 

On 4/8/08, Kennedy, Greg <[EMAIL PROTECTED]> wrote:

Hi noobie,

 

Is it because your carousel is running under silverlight 2 beta and the MS
Silverlight site is trying to present a SL 1 video to you?

Is the 2 beta backwards compatible with the 1 content?

 

Greg

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of .net noobie
Sent: Tuesday, 8 April 2008 12:38 PM
To: listserver@ozsilverlight.com
Subject: [OzSilverlight] [OZ Silverlight] - Silverlight app running in Opera

look here...?

http://dotnetnoobie.spaces.live.com/blog/cns!E24CFBE0589B817E!195.entry

i have made a blog, by the way :)


-- 
.net noobieT
---
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   




**
This email and any files transmitted with it are confidential and contain
privileged or copyright information. It is
intended solely for the addressee. If you are not the intended recipient, it
is prohibited for you to access, copy, 
distribute or use this email or take action in reliance upon the information
contained in it for any purpose other than
to notify us. If you have received this email in error, please notify the
sender immediately and delete this email and 
associated material from your system. We do not guarantee that this material
is free from viruses or any other defects. 
We ask you to consider the environment before printing this email. Security
Advice: Always update your 
anti-virus/anti-spyware software, firewall & operating system when accessing
the Int

[OzSilverlight] Online Silverlight IDE

2008-04-10 Thread Jonathan Parker
As there currently isn't any Silverilght Pad (the equivalent of LINQ Pad or
XAML Pad)

I thought it would be good to have a little editor to play around with.

 

So here it is:  http://www.jonathanparker.com.au/Demos/Slide/Slide.html

 

I guess you could run this in an IE control inside a desktop app if you
wanted

an offline version.

 

I recal seeing something like this somewhere but can't remember where.

If anyone does know of an online Silverlight IDE then please let me know.

 

Cheers,

 

Jonathan




--- 
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] Simple Feed Reader - anyone have a couple of minutes to do a quick test for me?

2008-04-11 Thread Jonathan Parker
Performance is fine for me.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of .net noobie
Sent: Friday, 11 April 2008 9:22 PM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] Simple Feed Reader - anyone have a couple of
minutes to do a quick test for me?

 

yes worked nicely, cool app :)





On 4/11/08, Perry Stathopoulos <[EMAIL PROTECTED]> wrote:

It was fine for me too

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Simon Reed
Sent: Friday, April 11, 2008 3:19 AM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] Simple Feed Reader - anyone have a couple of
minutes to do a quick test for me?

 

Same here, no performance issues.

 

Regards,

Simon Reed

Consultant - Connected Systems

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Damian Edwards
Sent: Friday, 11 April 2008 3:11 PM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] Simple Feed Reader - anyone have a couple of
minutes to do a quick test for me?

 

Perf was fine for me. Nice little app by the way, esp. for 3 days work.

Regards,

Damian Edwards
Readify | Senior Consultant

M: 0448 545 868 | E:  
[EMAIL PROTECTED] | C: [EMAIL PROTECTED] | W:
 www.readify.net

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jose Fajardo
Sent: Friday, 11 April 2008 17:05
To: listserver@ozSilverlight.com; listserver@ozSilverlight.com
Subject: [OzSilverlight] Simple Feed Reader - anyone have a couple of
minutes to do a quick test for me?

 

 

Hey guys,

 

I've just built a simple feed reader (that works off the DIGG API's) and
wanted to see if other's are getting issues with the performance of it. 

 

It pulls data via feeds from DIGG then stores the xml in the isolated
storage area. It then has a complex set of UI elements that render the XML
in a rich way. 

 

The actual application is not optimized (as I knocked it up in 3 days) as it
is only a proof of concept. 


If anyone out there has a couple of spare minutes could you launch the
application and just play with it for a couple of mins and let me know how
it goes. I've had a couple of mates externally play with it but there
results were wide and varied (good performance, not so good performance,
resizing not working etc)

 

Anyway any comments would be much appreciated!

 

http://www.cynergysystems.com/blogs/blogs/jose.fajardo/Apple/RipThatFeed.htm
l

 

 

Regards Jose Fajardo

 

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

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.11/1368 - Release Date: 4/9/2008
4:20 PM

 

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.12/1372 - Release Date: 4/10/2008
5:36 PM

---
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 noobieT
---
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: Silverlight vNext feature request

2008-04-11 Thread Jonathan Parker
One way to get around this (which goes in line with the whole wpf data
binding philosophy) is to great a class that implements
INotifyPropertyChanged

and which has a property of type ObservableCollection and then just call
the PropertyChangedEventHandler event of INotifyPropertyChanged  whenever
you want to notify the UI of property changes.

 

It's seems to be working for me so far.

 

Do a search for "The MyColors class should implement the
INotifyPropertyChanged interface." in the Silverlight SDK.

 

Jonathan.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Nick Randolph
Sent: Friday, 11 April 2008 9:31 AM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] RE: Silverlight vNext feature request

 

The irony of the following code (which does just that) is that we
effectively have a synchronous service request... (please ignore the
horrible code as this really was just a throw away app and I'm sure there is
a much more elegant way of doing it)

 

Public Class SynchronousClient

 

Private service As New SimpleServices2.SimpleService2SoapClient

Private result As String

Private reseter As New System.Threading.AutoResetEvent(False)

Private dispatcher As System.Windows.Threading.Dispatcher

 

Public Sub New(ByVal ui As FrameworkElement)

dispatcher = ui.Dispatcher

AddHandler service.HelloWorldCompleted, AddressOf CallBack

End Sub

 

Public Function HelloWorld() As String

'Call the async method

Me.dispatcher.BeginInvoke(New System.Threading.ThreadStart(AddressOf
service.HelloWorldAsync))

'Wait for a response

reseter.WaitOne()

Return result

End Function

 

Private Sub CallBack(ByVal sender As Object, ByVal e As
SimpleServices2.HelloWorldCompletedEventArgs)

result = e.Result

reseter.Set()

End Sub

 

End Class

 

Nick Randolph 

M:+61 412 413 425

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Damian Edwards
Sent: Friday, 11 April 2008 9:10 AM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] RE: Silverlight vNext feature request

 

Yeah fair enough. You'd have to do some hacky stuff like you said if you
wanted something off the UI thread polling a service, i.e. it would have to
hop back on to the UI thread to make the call and then the callback would
have to push the results back into your polling thread. Doable, but not
optimal.

Regards,

Damian Edwards
Readify | Senior Consultant

M: 0448 545 868 | E:  
[EMAIL PROTECTED] | C:  
[EMAIL PROTECTED] | W:   www.readify.net

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Nick Randolph
Sent: Friday, 11 April 2008 09:06
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] RE: Silverlight vNext feature request

 

http://community.softteq.com/blogs/nick/archive/2008/04/10/silverlight-when-
an-async-request-isn-t-asynchronous.aspx

 

Not the world's best code but does illustrate why you have to make the
service call from the UI thread.  Actually it's the link mid way through the
post that fully explains the issue.

 

Nick Randolph 

M:+61 412 413 425

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Perry Stathopoulos
Sent: Friday, 11 April 2008 2:11 AM
To: listserver@ozSilverlight.com
Subject: RE: [OzSilverlight] RE: Silverlight vNext feature request

 

Not that I tried it, but I would assume that the service async callback
comes back to the thread that made the initial call. So couldn't you just
make the service call from the background thread?

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Nick Randolph
Sent: Thursday, April 10, 2008 10:23 AM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] RE: Silverlight vNext feature request

 

Hmmm, but that doesn't address the issue which is that you need to make the
service async request from the UI thread.  That still needs to be fixed imho
otherwise you can't have a background thread (backgroundworker or your own
thread) calling services without hopping back onto the ui thread.

 

Nick Randolph 

M:+61 412 413 425

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Damian Edwards
Sent: Thursday, 10 April 2008 7:53 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] RE: Silverlight vNext feature request

 

And the proof attached J

 

Regards,

Damian Edwards
Readify | Senior Consultant

M: 0448 545 868 | E:  
[EMAIL PROTECTED] | C:  
[EMAIL PROTECTED] | W:   www.readify.net

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Damian Edwards
Sent: Thursday, 10 April 2008 19:42
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] RE: Silverlight vNext feature request

 

Hey Nick,

 

There is support for the BackgroundWorker class in Silverlight 2.0, so in
your service 

RE: [OzSilverlight] Online Silverlight IDE

2008-04-11 Thread Jonathan Parker
Yep. My next big challenge is intellisense! I thought it wouldn't be
possible but it turns out there is "read-only" reflection in SL so it may be
possible.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Price
Sent: Friday, 11 April 2008 8:40 AM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] Online Silverlight IDE

 

Yeah cool idea.
You need to add a vertical scrollbar to the textbox (when needed.)

cheers,
Stephen

On Fri, Apr 11, 2008 at 12:18 AM, Jonathan Parker
<[EMAIL PROTECTED]> wrote:

As there currently isn't any Silverilght Pad (the equivalent of LINQ Pad or
XAML Pad)

I thought it would be good to have a little editor to play around with.

 

So here it is:  http://www.jonathanparker.com.au/Demos/Slide/Slide.html

 

I guess you could run this in an IE control inside a desktop app if you
wanted

an offline version.

 

I recal seeing something like this somewhere but can't remember where.

If anyone does know of an online Silverlight IDE then please let me know.

 

Cheers,

 

Jonathan

---
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] Strange databinding problem

2008-05-03 Thread Jonathan Parker
Just FYI,

 

DOWrapper is in System.Windows.dll.

 

internal class DOWrapper
  : DependencyObject
 

{

// Fields

internal object
  Target
 ;

 

// Methods

internal DOWrapper
 () : base

(1)

{

}

 

internal DOWrapper
 (object
  o) : base

(1)

{

this.Target
  = o;

}

}

 

And Reflector's analyser says:

 

System.Windows.DOWrapper

Used By

 
System.Windows.Controls.ItemsControl.PrepareContainerForItemOverride(Depende
ncyObject, Object) : Void

 
System.Windows.Data.BindingExpression.UpdateValue() : Void

System.Windows.FrameworkElement..cctor()

 
System.Windows.FrameworkElement.get_DataContext() : Object

 
System.Windows.FrameworkElement.set_DataContext(Object) : Void

Exposed By

Instantiated By

 
System.Windows.Controls.ItemsControl.PrepareContainerForItemOverride(Depende
ncyObject, Object) : Void

 
System.Windows.FrameworkElement.set_DataContext(Object) : Void

 

Jonathan.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jonas Follesø
Sent: Saturday, 3 May 2008 12:37 AM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] Strange databinding problem

 

.net noobie: Thanks for the tip, but that's not the problem. I hook up the
event in the DependencyPropertyChanged delegate.

Dimaz: You're right, that's the problem. The PropertyChangedCallback
executed before the control is loaded, and therefore I have to queue the
animation. I added a simple Queue which I empty and play in the
control loaded events, and it now works...

But this solution still feels a little bit "Frankenstein". In order to
trigger animation based on a databound object I need to:

1) Create a dependency property (even tough the object is allready bound
using DataContext)
2) Hook the PropertyChangedCallback of the dependency property to add the
PropertyChanged event listener
3) Queue any initial state animations in the PropertyChangedCallback
4) Subscribe to the Control_Loaded event and empty the queue and play any
queued animation...

I've attached an updated version which now works, but still isn't to
elegant.




On Fri, May 2, 2008 at 11:07 PM, Dimaz Pramudya <[EMAIL PROTECTED]>
wrote:

Also, another thing to note is the animation will only start after the user
control / canvas is LOADED.
This means, any request to start the animation before hand (eg: in
constructor, etc) will be ignored.

Therefore, it is best to implement your own "Animation" Queueing engine and
invoke the animation within the OnLoaded Event Handler.
Hope this helps.

Dimaz Pramudya

 

On Fri, May 2, 2008 at 10:54 PM, .net noobie <[EMAIL PROTECTED]> wrote:

So the problem is that when the new list of Ordes is created that the
animation is not fired... 
becuase when  i run the sample and hit the button the sample seems to work
fine...

correct

the reason that the animation is not firing when the list is created is
becuase the "PropertyChanged" value for the "AllGood" property is equal to
"null"
once it has been set once it is then equal to "Not null"

in your code you test for is equal to "not null"

thus it never fires on the initial creation of the order in the OrdersList,
so that Void/Method runs, but it fails the test...

public virtual void OnPropertyChanged(string propertyName)
{
if (PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}


Anyway I think that is your issue?

GoodLuck :)

 

On 5/2/08, Jonas Follesø <[EMAIL PROTECTED]> wrote:

Hi,

I created a simple repro of my problem. It consists of Order.cs (the object
we w

RE: [OzSilverlight] Basic Http Authentication on Cross Domain SOAP service calls in Silverlight 2

2008-05-13 Thread Jonathan Parker
I think BasicHttpSecurityMode.TransportCredentialOnly is what you need.

 

Try puting this inside the binding element of your client config file

 



 

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jonas Follesø
Sent: Monday, 12 May 2008 12:40 PM
To: listserver@ozsilverlight.com
Subject: [OzSilverlight] Basic Http Authentication on Cross Domain SOAP
service calls in Silverlight 2

 

Hi,


I have a question regarding Silverlight authentication. The scenario is as
follow:

I need to call an Oracle Soap Service, protected using basic http
authentication, from a Silverlight client. The client will not be  hosted on
the same server, but the server will have a crossdomain.xml file allowing my
Silverlight client to call the service.

In my auto-generated service client I can't access the HttpHeader collection
to add the basic http authentication header.. However, if I use the "raw"
HttpWebRequest class I can add the authentication header before making the
request.

Do I really have to use the HttpWebRequest class and parse the returned XML
my self, or is there a way to set basic http credentials on the web service
proxy?

cheers,
Jonas Follesø





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

2008-05-15 Thread Jonathan Parker
My advice would be if you can't get it working with WPF then you'll not get
very far with SL.

 

Also, WPF Unleashed warns about using ActualHeight and ActualWidth as they
are updated every time

the layout process runs which is asynchronous. Don't know if this has
anything to do with what goes on in SL

but thought you might like to know.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Price
Sent: Thursday, 15 May 2008 12:39 PM
To: listserver@ozsilverlight.com
Subject: [OzSilverlight] ActualWidth

 

Hi guys,

I've come across this issue before with WPF, and have now hit something
similar in Silverlight. I've got a page with a Canvas element on it called
"pageContents" and I'm loading XAML fragments into the contents of the
Canvas. 
That works no problems, but what I'm having issues with is the
pageContents.ActualWidth (and ActualHeight) are not updating. The Canvas
starts off with no content and Width and Height are not set, so default to
Auto. Adding the content automatically sizes the Canvas but the ActualHeight
and ActualWidth are still showing as 0 (zero). 

I've got a snippet of code that tells me if the mouse click was inside the
bounds of the Canvas and I need to know the dimensions of the canvas.
Calling pageContents.Measure(availablesize) doesn't seem to help. Any other
tricks I can use?

protected void Page_MouseLeftButtonDown(object sender, MouseEventArgs e) {
var contentRect = new
Rect((double)pageContents.GetValue(Canvas.LeftProperty),
(double)pageContents.GetValue(Canvas.TopProperty), pageContents.ActualWidth,
pageContents.ActualHeight);
var position = e.GetPosition(null);
if (contentRect.Contains(position)) {
_lastMousePosition = position;
}
}

thanks,
Stephen
---
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] Text property vs Content

2008-06-28 Thread Jonathan Parker
I fixed this by using XamlReader.Load to create a StackPanel at runtime.

 

Something like this:

 

XamlReader.Load(@"http://schemas.microsoft.com/client/2007""; 

 
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml"";>

" +
contentGoesHere + @"");



The contentGoesHere string can have  in it.

Then you just add the stack panel as a child control to a control on your
page.

 

It's a bit "dirty" but it works.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Price
Sent: Saturday, 28 June 2008 12:33 PM
To: listserver@ozsilverlight.com
Subject: [OzSilverlight] Text property vs Content

 

Hi,

I've got some text in a database which I'm binding to the Text property of a
TextBlock. 
It doesn't seem to be honouring the tag's below

This is the second line
of text.Third line. 

It works fine if I remove the binding and place the line above in between
the  and  elements. 
I tried setting the property Text="This is the second line of
text.Third line." and it no longer worked. So it's not the
binding that is the problem here, it seems that anything in the Text
property is interpreted literally whereas the text in the content part of
the TextBlock (ie between the elements) can be proper Xaml. 

Is there a trick to get the Text property to be interpreted as Xaml and not
just a literal string? I need linebreaks with my bound data. 

thanks,
Stephen
---
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] Silverlight 2 and Sharepoint Web Services

2008-08-18 Thread Jonathan Parker
Looks like it's possible.

 

http://silverlight.net/forums/t/11964.aspx :

There were a few known issues with interop with asmx-based web services,
including sharepoint, in Beta 1.  This will be fixed for Silverlight 2. The
fix will be available with the next preview release of the VS tools for
Silverlight.  No need to switch to AJAX or what-not.

Alex DeJarnatt
Connected Framework Team - Silverlight
Microsoft

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Philip Beadle
Sent: Monday, 18 August 2008 8:04 PM
To: listserver@ozSilverlight.com
Subject: [OzSilverlight] Silverlight 2 and Sharepoint Web Services

 

Hi All,

 

I'm not having any luck with getting Silverlight to call a Sharepoint web
service.  Using wither the HttpWebrequest or the WebClient I get security
errors.  I have used SP Designer to drop both the access policy files into
the root and still no go.

 

I have SP1 installed.

 

Has anyone got this to work?

 

Regards,

Philip Beadle
Readify | Principal Consultant 
Microsoft MVP - ASP/ASP.NET, MCAD, MCT

cid:image001.gif@01C7F6E2.B7EEA2A0

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

RE: [OzSilverlight] Vista sidebar gadgets

2008-08-24 Thread Jonathan Parker
This guy has:
http://blog.benhall.me.uk/2007/05/vista-sidebar-gadget-using-silverlight.htm
l 

 

Though when I installed his gadget I found that it showed the same download
SL button which took me to a link to install SL 1.

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Price
Sent: Sunday, 24 August 2008 12:25 AM
To: listserver@ozsilverlight.com
Subject: [OzSilverlight] Vista sidebar gadgets

 

Hey all,

I finally got around to having a play with making a Silverlight Vista
sidebar gadget. Making the gadget was simple enough, I just made the Hello
world gadget from msdn. 
http://msdn.microsoft.com/en-au/library/bb456468(VS.85).aspx

I grabbed a Silverlight app that I made a few months ago and checked it
worked in a local browser (in the html page) and it did. I then put the html
into the Vista gadget and all it showed me was the Download silverlight
button. I clicked it and it showed me that it wanted to run the Silverlight
2 Beta 1 version of Silverlight. Just wondering if I've missed something
somewhere. Anyone tried this out?

cheers,
Stephen

---
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] Silverlight WCF web service

2008-08-27 Thread Jonathan Parker
Try this:

 

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();

}

}

 

See here for more http://www.devx.com/RIA/Article/38117/0/page/4 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Price
Sent: Wednesday, 27 August 2008 3:49 PM
To: listserver@ozsilverlight.com
Subject: Re: [OzSilverlight] Silverlight WCF web service

 

It seems more like an issue with how IIS is hosting the WCF service. Yeah,
I've seen the local path thing how it can launch the page you have selected
rather than the website. 

 

My work around is to use the internal VS development web service that starts
up on some random port. My concern was I wouldn't be able to debug the
webservice - I have had an issue where you couldnt debug a non port 80 web
service/website but it seems to be working ok with my Silverlight WCF
service. Just can't run it on IIS for some reason. It's running ok on the
IIS Test server which is IIS 6.0 but I'm hitting that remotely. 

On Wed, Aug 27, 2008 at 1:27 PM, .net noobie <[EMAIL PROTECTED]> wrote:

not that this is your issue by the sound of it but you also need to make
sure you are setting the web app/website as the default startup project...

if you forget and have it set the the Silverlight application to startup
when you run it from VS i noticed that the silverlight app can run using a
file path e.g. (c:\\blah\blah\)
i did not notice for a few minutes and was wondering why I was getting a
security issue trying to call the WCF service from my app...

then I notice set the start up app to the web app/site and it was fine... 

 

On 8/27/08, Stephen Price <[EMAIL PROTECTED]> wrote: 

Thanks will check that out.

 

Does it explain why in a web browser
http://localhost/WCFTestWeb/Service1.svc gives me a 404.3? 

Is the end point wrong for the web service as this doesn't seem to have
anything to do with Silverlight so I didn't think it would be a crossdomain
issue.

 

cheers,

Stephen

On Wed, Aug 27, 2008 at 12:17 PM, Jordan Knight <[EMAIL PROTECTED]>
wrote:

Shameless self promotion J

 

Try this:
http://jakkaj.wordpress.com/2008/07/03/silverlight-2-call-to-wcf-service-get
s-404/

 

 

Regards,

Jordan Knight
Readify - Senior Developer

Suite 206 Nolan Tower | 29 Rakaia Way | Docklands | VIC 3008 | Australia 
M: +61 403 532 404 | E:  
[EMAIL PROTECTED] | W:   www.readify.net

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Stephen Price
Sent: Wednesday, 27 August 2008 2:11 PM
To: listserver@ozsilverlight.com
Subject: [OzSilverlight] Silverlight WCF web service

 

Not sure what I'm doing wrong here, this used to work for me.

 

I have a Silverlight WCF web service running on a local IIS app. If I browse
to it I get the error HTTP Error 404.3 - Not Found.

 

It used to work... *scratches head*. So I decide to create a new one app and
see if it works. I created a blank Silverlight app, added a Silverlight
enabled WCF service to the web site (Web Application project). I try to add
a Service reference to it while it is running on the inbuilt web service and
it can see it no problems. I change the web site to run on IIS and click the
"Create Virtual Directory" button. Check to see it has done so and IIS
manager shows it. Try to add the Service reference again and bam, Error
404.3 not found again.

 

Have I messed up something with IIS? I'm sure it just worked before but I
could be wrong... 

Help!

 

cheers,

Stephen

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

This Framework is not Big Enough for the both of us...
--

RE: [OzSilverlight] How to deploy SL App

2008-10-22 Thread Jonathan Parker
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
<><>

Re: [OzSilverlight] SL, WCF App on Vista

2008-11-19 Thread Jonathan Parker
Are you testing WCF on Vista or Silverlight on Vista? Or both? Is it the
client side that is not working or the server side?

On Thu, Nov 20, 2008 at 4:52 PM, Muhammad Niaz <[EMAIL PROTECTED]>wrote:

>  No, its not accessed there on the ( same )machine.
>
>
>
> Thanks & Regards,
>
> Muhammad Niaz
>
> Software Engineer
>
> Intagleo Systems Pvt Ltd
>
> www.intagleo.co.uk
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Jordan Knight
> *Sent:* Thursday, November 20, 2008 10:23 AM
> *To:* listserver@ozSilverlight.com
> *Subject:* RE: [OzSilverlight] SL, WCF App on Vista
>
>
>
> Hi,
>
>
>
> Can you access the WCF service directly?
>
>
>
> Perhaps try this (from MSDN):
>
>
>
> Install the Windows Communication Foundation Activation Components
> subcomponent of the .NET Framework 3.0. To do this, in Control Panel, click
> *Add or Remove Programs *and then *Add/Remove Windows Components*. This
> activates the *Windows Component Wizard*
>
> * *
>
> also check out this: http://msdn.microsoft.com/en-us/library/ms732012.aspx
>
>
>
> I've had to do ServiceModelReg a couple of times in the past.
>
>
>
> Cheers,
>
>
>
> Jordan.
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Muhammad Niaz
> *Sent:* Thursday, 20 November 2008 4:14 PM
> *To:* listserver@ozSilverlight.com
> *Subject:* [OzSilverlight] SL, WCF App on Vista
>
>
>
> Hi All,
>
>   My SL based App using WCF services working fine on Windows XP
> SP2.
>
> But I have to test this App also on Windows Vista no App working fine(UI
> rendering ) but WCF services not working fine.
>
> Any help in this regards i.e. How to deploy SL App on Vista that sing WCF.
>
>
>
> 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
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.175 / Virus Database: 270.9.4/1793 - Release Date: 19/11/2008
> 8:58 AM
>
> ---
> 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] SL Related Multiple Canvases

2008-11-22 Thread Jonathan Parker
http://channel9.msdn.com/forums/TechOff/432768-WPF--set-height-to-auto-at-runtime/

On Sat, Nov 22, 2008 at 8:21 PM, Muhammad Niaz <[EMAIL PROTECTED]>wrote:

>  Hi all,
>
> I am working on SL App which is based on Canvas controls
> mean:
>
> Master page type( default page )which is collection of
> Header/Navigation/Body and footer Canvas,
>
> Every thing is working fine. But I have only one issue right now.
>
> At runtime I wana grow height of my body canvas when any specific (inner
> Content control which comes in the body Canvas) have more height than the
> fixed of body canvas.
>
>
>
>
>
>
>
>
>
>
>
> 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