RE: Who is using Silverlight?

2010-07-26 Thread Ross McKinnon
Michael Hill's external website www.michaelhill.com is an entire
silverlight site. Probably doesn't fit into your wizardry comment as it
does utilise all the tools available.

 

 

Ross.

 

Ross McKinnon

 

Michael Hill Jeweller

A: 7 Smallwood Place, Murrarie QLD 4172, Australia

P: +61 7 31663344 M: +61 413 128877 F: +61 7 33990949

E: ross.mckin...@michaelhill.com.au

 

From: Greg Harris [mailto:g...@harrisconsultinggroup.com] 
Sent: Tuesday, 27 July 2010 12:22 PM
To: ozSilverlight
Subject: Re: Who is using Silverlight?

 

Hi Perry,

 

Thanks for that, I am more focused here on examples of true business
applications.

Not that video presentation can not be a true business application.

 

Yes there are some in the showcase.

But I am thinking more about things like company X developed a
Silverlight add in to their line of business application allowing remote
data entry or whatever.

That is applications that are NOT using all the Silverlight UI wizardry!

 

I feel that there is a real perception problem out there, you have to
use all the Silverlight UI wizardry, even for simple line of business
applications.

Also, if possible, looking for more local stuff.

 

Thanks

Greg

On Tue, Jul 27, 2010 at 12:07 PM, Perry Stathopoulos psta...@gmail.com
wrote:

Well you have NetFlix on demand in the US that uses Silverlight
exclusively for their online streaming. The Beijing and Vancouver
Olympics were using Silverlight exclusively for NBC and CTV networks in
US and Canada respectively. You then have the showcase here to take a
look at:

http://www.silverlight.net/showcase/

 

 

From: Greg Harris mailto:g...@harrisconsultinggroup.com  

Sent: Monday, July 26, 2010 9:31 PM

To: ozsilverlight@ozsilverlight.com 

Subject: Who is using Silverlight?

 

Hi Everybody,

I am putting together a presentation on Silverlight for managers,
basically a why you should not be afraid of using this technology.
There is one area that I am missing information on, that is who is using
Silverlight.

Question for the group: 
* Who is using Silverlight in Australia? / Overseas?
* What for?
* Is there public information available about the project?

My interest is more focused on real business applications rather than
just cute show off the user interface technology.

Thanks
Greg Harris



___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Out of memory exceptions in VS2010 with Silverlight 4

2010-07-22 Thread ross
I have the same problem on my current client site with WPF / VS2008 /
XP 32bit.   About 5+ times a day I get an out of memory error when
compiling.   Only happens after editing in xaml text editor, it has
never happened after editing c# code.  I have to restart VS and clean
the solution.  If I don't do a clean the error almost always recurs.

I don't have any addins in VS on this machine (powerpack,
resharper), which is what some people blame.

On Fri, Jul 23, 2010 at 10:58 AM,  ton...@tpg.com.au wrote:
 Actually compile time and time to run takes a while anyway, so there is 
 plenty of time to do other
 activities.

 T.


 On Fri, Jul 23rd, 2010 at 10:26 AM, Steven Nagy steven.n...@readify.net 
 wrote:

 Yes but everyone's Facebook status will have been updated during that
 outage period so its not a total loss... ;)

 -Original Message-
 From: ozsilverlight-boun...@ozsilverlight.com
 [mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of
 ton...@tpg.com.au
 Sent: Friday, 23 July 2010 10:21 AM
 To: ozsilverlight@ozsilverlight.com
 Subject: Out of memory exceptions in VS2010 with Silverlight 4

 Hi all,

 It's Friday, so I thought I would let you know about one issue in our
 team.

 Basically, we are running 32-bit Windows XP. The machines have anywhere
 between 2 and 4GB RAM. Everyone in the team gets System Out Of Memory
 Exceptions. When that happens, you have wasted the compile time, and then
 you have to shut down VS2010, start it up, then open up the solution. The
 solution has a significant number of projects in it. Apparently this
 problem only happens in 32-bit windows.

 So for the whole restart process, we have assigned 10 minutes to this
 procedure.

 Next we have logged the total crash time for our team of 7 developers
 (some days people were away, but it ultimately doesn't matter).

 The times lost are as follows:
 14th 240 mins
 15th 100 mins
 18th 120 mins
 19th 60 mins
 20th 200 mins
 21st 100 mins
 22nd 140 mins

 we have assigned an arbitrary value against the times of $100/hour. So the
 loss of productivity is
 16 hours @ $100/hour = $1600.

 Hopefully soon these figures will become a significant enough figure to
 justify an upgrade!

 Regards,
 Tony

 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight






 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Prism caching dll's

2010-06-10 Thread ross
You should be able to set the CacheControlCustom property in IIS for a
particular directory, whether the proxies honour it or not is another
story.

An alternative is to work around the problem from the client side.

If you can reproduce the problem (eg it is your ISA server causing the
problem ;-) then try accessing one of the offending xaps via your
browser.

eg: www.yourdomain.com/clientbin/module1.xap

You would expect to get the cached version.

Then hit ctrl-F5 on the same URL and if you get the correct version,
you then know that might be able to work around it by setting the
following headers in your webrequest :

Cache-Control: no-cache
Pragma: no-cache

Watch the headers in Fiddler to see what the browser does when you
tell it to bypass the cache by hitting ctrl-F5

I don't know if all proxies will honour that either.

Of course I am assuming you have control over the webrequest that is
fetching your additional modules.


On Thu, Jun 10, 2010 at 4:31 PM, noonie neale.n...@gmail.com wrote:
 Stephen,

 You could enable Content Expiration on the folders that contain the
 resources.

 The problem is that some Proxy Servers are configured to ignore what you
 want :-(

 --
 Regards,
 noonie

 On 10 June 2010 16:24, Stephen Price step...@perthprojects.com wrote:

 but all of the modules have old content.

 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Move Silverlight Element around in HTML

2010-04-14 Thread ross
If the SL app is inside an updatepanel I don't think you will ever win.

You could try pagemethods instead of updatepanels perhaps, assuming
the legacy permits.

I just tried it out for fun.  I have two divs, one with a SL app and
one with a html button.

On clicking the button I hid the SL div, called the page method, and
on the page method callback showed the SL div and updated a label in
the html div with the time from the server.  The SL app definitely
didn't reload, as I had a timestamp showing in the xaml side of things
that didn't change.


On Thu, Apr 15, 2010 at 1:06 PM, Jordan Knight
jordan.kni...@readify.net wrote:
 Having it outside was an option i've considered... the problem is that the
 UI is quite complex with fold out bits etc... so having it float would
 probably make it look a bit funny.

 JAK
 
 From: ozsilverlight-boun...@ozsilverlight.com
 [ozsilverlight-boun...@ozsilverlight.com] On Behalf Of John OBrien
 [j...@soulsolutions.com.au]
 Sent: Thursday, 15 April 2010 12:00 PM
 To: 'ozSilverlight'
 Subject: RE: Move Silverlight Element around in HTML

 We talking updatepanels Jordan? You need to make sure you’re SL controls are
 not within the updatepanel or they are redrawn.

 The trick we used for the Bing Maps ASP.NET control was to have the update
 panel just contain some divs used for communication while the large map
 control sat just outside. This was all encapsulated within the control, the
 developer didn’t add their own updatepanel.



 John.



 From: ozsilverlight-boun...@ozsilverlight.com
 [mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Jordan Knight
 Sent: Thursday, 15 April 2010 11:36 AM
 To: ozSilverlight
 Subject: Move Silverlight Element around in HTML



 Hey guys,



 I have a situation where an existing ASP.NET AJAX based app has a series of
 SL controls in them. Basically they don't want the SL elements to reload
 when the ajax controls refresh.



 I've had a muck around with moving the element in JS, and it can be moved no
 problem - but it re-initialises the control each time... pretty sure its the
 browser doing it.



 Does anyone have any ideas on how I might move an SL control without it
 re-initialising?



 Cheers!

 Jordan.

 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Row index

2010-04-12 Thread ross
Maybe you need to take a different approach.

You could bind the SelectedItem property of the grid to an appropriate
property on whatever class is supplying your ItemsSource /
datacontext, depending on how you have it coded. Your details panel
could bind to the same property as well, or if it is more complex you
could use it as a hook to do what ever you need, such as update
whatever it is your details panel binds against in the setter perhaps.

Another, less elegant option is to handle the SelectionChanged event
of the grid and then use the SelectionChangedEventArgs.AddedItems
property to give you a hook as to what the new selected item is, which
can then be used to set the datacontext of your details panel.


On Mon, Apr 12, 2010 at 7:45 PM, Stephen Price step...@littlevoices.com wrote:
 Hey all,
 Will someone put me out of my misery and tell me how I can easily get the
 index of a row in a datagrid? I can't believe there's no way to iterate
 through the rows in a datagrid. Have been banging my head against a wall all
 afternoon and I'm done.
 What I actually want to do is set the datacontext of each Details panel of
 my datagrid (more specifically another datagrid within each detailpanel) to
 the same index item as the row. ie collection of itemsources with each
 itemsource being set to the collection[index] that matches that row's index.
 hopefully that makes sense to someone.
 thanks :)
 Stephen
 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Row index

2010-04-12 Thread ross
This may not be appropriate for you situation of course, but I
remember reading someone's blog that pointed out that (in wpf /
silverlight) the use of a datagrid shouldn't necessarily be an
automatic decision for displaying lists of data.

The alternative being the ItemsControl and ItemTemplate.  In some
situations you can create a much more elegant and flexible UI compared
with a grid.

If you don't need the specific benefits of a datagrid, such as column
resizing and reordering, it might be worth ditching the grid
altogether.

PS.  You might need to take some care if you are loading lots of rows
into an itemscontrol, in which case some sort of virtualization would
be advisable.

On Tue, Apr 13, 2010 at 10:32 AM, Stephen Price
step...@perthprojects.com wrote:
 It's been working with SelectedItem but I've got what seems to be a race
 condition between two events and sometimes the selected item is not correct.
 I'm collapsing all of the detailpanels and then either showing or hiding the
 detail panel that was just clicked, at the same time as using the selected
 item to filter the results for a datagrid within the details panel. the net
 result is that sometimes the wrong row gets the data or worse I end up with
 a Layout loop (seems to be on the datagrids that have a lot of rows).

 I can't use the datacontext from the row as the data is on the viewmodel
 itself (property uses linq query to filter the results for the row
 selected). I think a better way to do this would be the classic master
 slave, where I have a single grid or list and the selected item decides what
 to populate in a slave datagrid. that's the behaviour we wanted except that
 the slave datagrid is show in the row's detail panel (selecting another row
 via toggle button in another row collapses all other rows and shows the row
 clicked).

 Doesnt explain why expanding some of the larger rows gives me a layout loop
 exception but that could be a different issue (or maybe even a weird bug in
 the datagrid?) I know there used to be a limit on the number of textboxes
 you could show on a page, but I read that was fixed in SL3.

 thanks for the replies,
 Stephen

 On Mon, Apr 12, 2010 at 8:38 PM, Miguel Madero m...@miguelmadero.com wrote:

 Stephen,

 Could you provide more details about it? An example of the collection of
 itemssources. The Details Panel already has the same DataContext as the row.
 I don't understand what you want to do? Is it just a child colleciton and
 for some reason you want it to use the same index as the parent row?

 Could the VisualTreeHelper or a Converter help?

 On Mon, Apr 12, 2010 at 8:56 PM, ross r...@perenni.com.au wrote:

 Maybe you need to take a different approach.

 You could bind the SelectedItem property of the grid to an appropriate
 property on whatever class is supplying your ItemsSource /
 datacontext, depending on how you have it coded. Your details panel
 could bind to the same property as well, or if it is more complex you
 could use it as a hook to do what ever you need, such as update
 whatever it is your details panel binds against in the setter perhaps.

 Another, less elegant option is to handle the SelectionChanged event
 of the grid and then use the SelectionChangedEventArgs.AddedItems
 property to give you a hook as to what the new selected item is, which
 can then be used to set the datacontext of your details panel.


 On Mon, Apr 12, 2010 at 7:45 PM, Stephen Price step...@littlevoices.com
 wrote:
  Hey all,
  Will someone put me out of my misery and tell me how I can easily get
  the
  index of a row in a datagrid? I can't believe there's no way to iterate
  through the rows in a datagrid. Have been banging my head against a
  wall all
  afternoon and I'm done.
  What I actually want to do is set the datacontext of each Details panel
  of
  my datagrid (more specifically another datagrid within each
  detailpanel) to
  the same index item as the row. ie collection of itemsources with each
  itemsource being set to the collection[index] that matches that row's
  index.
  hopefully that makes sense to someone.
  thanks :)
  Stephen
  ___
  ozsilverlight mailing list
  ozsilverlight@ozsilverlight.com
  http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
 
 
 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight



 --
 Miguel A. Madero Reyes
 www.miguelmadero.com (blog)
 m...@miguelmadero.com

 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight



 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


___
ozsilverlight mailing list

Re: You can't set Global Styles right?

2010-03-31 Thread ross
In WPF you can do this in say your app.xaml or in a merged dictionary:

 Application.Resources
Style TargetType=Button
  Setter Property=Background Value=Red/
/Style
  /Application.Resources

And all buttons will be red unless the style is overridden.

This doesn't work in Silverlight 3.  You have to name the style then
reference it as a static resource:

 Style TargetType=Button x:Name=buttonStyle
  Setter Property=Background Value=Red/
/Style

Button Style={StaticResource buttonStyle}/Button

Of course you can do this via the UI in Blend as well.

I think it might be possible to set implicit styles in Silverlight 4
but haven't tried.

On Wed, Mar 31, 2010 at 4:19 PM, Scott Barnes scott.bar...@readify.net wrote:
 In WPF you can set global styles but in SIlverlight it's right+click+Apply
 Style right? ie i'm not high in thinking that am I?



 J



 ___
 ozsilverlight mailing list
 ozsilverlight@ozsilverlight.com
 http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


Re: Real time updates to and from clients

2010-03-30 Thread ross
Interesting.

Do you know, does Silverlight 4: Duplex WCF over TCP have any issues
with server affinity in a web farm / load balancing configuration?

I believe that might be an issue with Duplex WCF over http.

On Tue, Mar 30, 2010 at 4:08 PM, Peter Gfader peter.gfa...@gmail.com wrote:
 Hi list
 I just give you a quick update on this..
PeterG: WCF net.tcp protocol in Silverlight 4 (Polling over TCP Sockets)
 I have to correct my self here.
 This is not the case, WCF is not polling over TCP sockets, but keeping a
 socket open and using that to send and receive messages... awesome
 performance...

 Initially I started typing up an email, then I was thinking: Hey put this on
 your blog and get some traffic on it...
 So here is the blog post
 http://peitor.blogspot.com/2010/03/time-communication-clientserver.html

 Content here
 

 We are building something similar and have the following requirements

 People on the web should be able to use it
 No download of an application
 Broadcasting messages to all user (server to clients)
 Everyone should be able to use it

 People behind firewalls, proxies, NATs, …
 People with 1 of the current browsers

 Lightweight solution needed



 We tested and verified different technology options like:

 HTML+ Reverse AJAX
 Silverlight 2: Duplex WCF over HTTP (Long polling HTTP connection under the
 hood or Comet-style)
 Silverlight 4: Duplex WCF over TCP (is using net.tcp, socket connection
 under the hood)
 Silverlight raw Sockets (maybe even using SocketsLight)
 Silverlight UDP
 HTML 5 web sockets

 The signs for HTML 5 web sockets are not so good, even though the promise
 for the socket implementation sounds interesting!
 But it seems that HTML 5 is not going to be ready before ~201X, X  2 and
 not sure what that X is…
 More here
 http://blogs.techrepublic.com.com/programming-and-development/?p=718
 http://www.webmonkey.com/blog/HTML_5_Won_t_Be_Ready_Until_2022DOT_Yes__2022DOT



 We finally are using Silverlight with Duplex WCF over TCP”
 And falling back to Silverlight with Duplex WCF over HTTP” when we have a
 firewall or proxy in the middle that causes connection problems.

 The main reason for going in that direction was:

 Ease of development and productivity in coding with Silverlight and WCF
 Developing against one API (WCF) and doing an easy fallback behind the
 scenes (10 lines of code!)
 Performance is awesome by using TCP (see Tomasz post about that)
 Testing Silverlight means testing 1 environment against testing different
 browsers, operating systems, JavaScript versions, OS versions, browser
 versions,



 PS
 There is a new HTTP polling duplex mode added in Silverlight 4 RC, called
 “MultipleMessagesPerPoll”, makes this technology even more interesting


 .peter.gfader.
 http://peitor.blogspot.com/
 http://twitter.com/peitor
 On Thu, Jan 28, 2010 at 7:10 PM, Peter Gfader peter.gfa...@gmail.com
 wrote:

 In Silverlight 3 didn’t they introduce a duplex WCF service?

 Yes they introduced duplex WCF services, but it is doing long polling
 under the hood...

 Messages from the server to the client within a particular session are
 sent using an HTTP response to a long lasting HTTP request the client makes
 to the server (the “long poll”).
 The client side implementation of the polling duplex protocol ensures that
 the server always has such pending HTTP request available; as soon as the
 server sends a message to the client using the response to the long poll,
 the client issues a new long poll.
 From


 http://tomasz.janczuk.org/2009/09/scale-out-of-silverlight-http-polling.html

 .peter.gfader.
 http://peitor.blogspot.com/

 On Thu, Jan 28, 2010 at 4:17 PM, John OBrien j...@soulsolutions.com.au
 wrote:

 Peter,

 We used sockets in Silverlight2 to prototype a spatial collaboration
 concept. The main issues we faced were:

 1.   Needed to run a windows application (testing=console app,
 production=windows service) for both server side processing and also as a
 policy service. Made it hard to deploy.

 2.   Very raw technology, we had to deal with packets of data and
 worried about robustness of the server solution under heavy load.



 In the end we didn’t move beyond the prototype but decided we need to
 evaluate the purchase of a socket based communication server (often used for
 online games).



 In Silverlight 3 didn’t they introduce a duplex WCF service?



 John.



 From: ozsilverlight-boun...@ozsilverlight.com
 [mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Peter Gfader
 Sent: Thursday, 28 January 2010 1:33 PM
 To: ozsilverlight@ozsilverlight.com
 Subject: Real time updates to and from clients



 Hi All,



 I play around with real time updates to and from SL clients, and have
 figured out a couple of possibilities with Silverlight.

 Sockets
 Polling over WCF in SL2 or SL3 (HTTP)
 WCF net.tcp protocol in Silverlight 4 (Polling over TCP Sockets)

 Anyone has some good or bad experience with them?



 Regarding

 

Re: Real time updates to and from clients

2010-03-30 Thread ross
Thanks for that. Those articles cover the topic well.

I had figured out that was an issue for Silverlight 3 / WCF when in a
hobby project I implemented a turn based game server (eg live chess)
using duplex wcf. I had pondered whether my implementation would scale
out, and had concluded it would not without a change in approach.

I was actually wondering if polling over sockets might help address
that issue , as perhaps a particular client would have affinity with
the initial server to which the socket was established? Or is that not
the case?

Assuming there is affinity with sockets, I suppose that leaves two options :

1. Some sort of shared state between the servers, as suggested by
those articles. With the incumbent performance loss.
or
2. Once a 'chat' between two clients is being negotiated, both clients
could be forced onto the same server (assuming that is possible).

On , Peter Gfader peter.gfa...@gmail.com wrote:
 Hi

  Do you know, does Silverlight 4: Duplex WCF over TCP have any 
  issues with server affinity in a web farm / load balancing configuration?



 Yes this issue is there


 from
 http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html

 Current implementation of polling duplex protocol in Silverlight 3
 requires client affinity to a particular physical server machine for the
 lifetime of the WCF channel (WCF proxy). Moreover, the server maintains
 in-memory state for the duration of the session with the client. If you
 are using a load balancer that cannot guarantee client affinity to a
 particular backend, or if your hosting infrastructure cannot guarantee
 that the service will keep running on the same machine, the protocol
 will fail. In the practice of load balanced web farms, the Silverlight
 polling duplex protocol in the current form does not scale out well.


 Scale out solution to this problem here ...
 http://tomasz.janczuk.org/2009/09/scale-out-of-silverlight-http-polling.html



 And porting that scalable solution to the cloud
 http://blogs.msdn.com/ales/archive/2009/09/22/scalable-duplex-messaging-with-silverlight-3-and-windows-azure.aspx



 .peter.gfader.
 http://peitor.blogspot.com/
 http://twitter.com/peitor



 On Tue, Mar 30, 2010 at 5:44 PM, ross r...@perenni.com.au wrote:

 Interesting.



 Do you know, does Silverlight 4: Duplex WCF over TCP have any issues

 with server affinity in a web farm / load balancing configuration?



 I believe that might be an issue with Duplex WCF over http.




 On Tue, Mar 30, 2010 at 4:08 PM, Peter Gfader peter.gfa...@gmail.com wrote:

  Hi list

  I just give you a quick update on this..

 PeterG: WCF net.tcp protocol in Silverlight 4 (Polling over TCP Sockets)

  I have to correct my self here.

  This is not the case, WCF is not polling over TCP sockets, but keeping a

  socket open and using that to send and receive messages... awesome

  performance...

 

  Initially I started typing up an email, then I was thinking: Hey put this on

  your blog and get some traffic on it...

  So here is the blog post

  http://peitor.blogspot.com/2010/03/time-communication-clientserver.html

 

  Content here

  

 

  We are building something similar and have the following requirements

 

  People on the web should be able to use it

  No download of an application

  Broadcasting messages to all user (server to clients)

  Everyone should be able to use it

 

  People behind firewalls, proxies, NATs, …

  People with 1 of the current browsers

 

  Lightweight solution needed

 

 

 

  We tested and verified different technology options like:

 

  HTML+ Reverse AJAX

  Silverlight 2: Duplex WCF over HTTP (Long polling HTTP connection under the

  hood or Comet-style)

  Silverlight 4: Duplex WCF over TCP (is using net.tcp, socket connection

  under the hood)

  Silverlight raw Sockets (maybe even using SocketsLight)

  Silverlight UDP

  HTML 5 web sockets

 

  The signs for HTML 5 web sockets are not so good, even though the promise

  for the socket implementation sounds interesting!

  But it seems that HTML 5 is not going to be ready before ~201X, X  2 and

  not sure what that X is…

  More here

  http://blogs.techrepublic.com.com/programming-and-development/?p=718

  http://www.webmonkey.com/blog/HTML_5_Won_t_Be_Ready_Until_2022DOT_Yes__2022DOT

 

 

 

  We finally are using Silverlight with Duplex WCF over TCP”

  And falling back to Silverlight with Duplex WCF over HTTP” when we have a

  firewall or proxy in the middle that causes connection problems.

 

  The main reason for going in that direction was:

 

  Ease of development and productivity in coding with Silverlight and WCF

  Developing against one API (WCF) and doing an easy fallback behind the

  scenes (10 lines of code!)

  Performance is awesome by using TCP (see Tomasz post about that)

  Testing Silverlight means testing 1 environment against testing different

  browsers, operating systems, JavaScript versions, OS versions

RE: RE: RE: Silverlight site.

2010-03-11 Thread Ross McKinnon
I must admit, I was underwhelmed. 

 

Ross McKinnon

 

Michael Hill Jeweller

A: 7 Smallwood Place, Murrarie QLD 4172, Australia

P: +61 7 31663344 M: +61 413 128877 F: +61 7 33990949

E: ross.mckin...@michaelhill.com.au

 

From: carl.scarl...@bankwest.com.au [mailto:carl.scarl...@bankwest.com.au] 
Sent: Friday, 12 March 2010 11:19 AM
To: ozsilverlight@ozsilverlight.com
Subject: RE: RE: RE: Silverlight site.

 

I’d go even further than that.  I’ve never worked for Microsoft so I don’t have 
a feel for the internal political struggles.  My comments are purely as a 
developer.

 

History tells us one of Microsoft’s greatest strengths lies in the creation and 
support of developer communities.  From the dawn of (MS) time with Geekfest, 
throughout the monkey-boy Balmer days and until today, Microsoft’s mantra has 
been “developers developers developers developers developers...”.  The 
developer community now has a life of it’s own, yet remains a cornerstone of 
Microsoft’s success.  And Microsoft continues to innovate such that the 
community grows stronger, broader, and can react quicker than any other 
developer community.  It’s an amazing thing to be a part of.

 

Given all that, it is such a fantastic shame that Microsoft can’t get it 
together (and put the icing on the cake) as far as their developer product 
websites go.  Somehow during the design of these sites, the message seems to 
become lost that developers are wonderful craftsmen and women with an 
insatiable desire for technical detail.  It’s the ultimate let-down that we 
can’t point to a Microsoft showcase site and say “this is what it’s all about”; 
instead we are ignore these dungheap sites Microsoft deploy every now and again 
and focus back inwards to our communities a little embarrassed by it all.

 

I’m a proud Microsoft developer and I do love the company.  But websites like 
this take a little bit of the shine off my pride when I know it could be just 
that much better.

 

Hopefully this hasn’t been the ramblings of old hand.  I will continue to love 
the company, and hope for the day I can come out as such.

 

My opinions are my own yadda yadda yadda,

Carl.

 

From: ozsilverlight-boun...@ozsilverlight.com 
[mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Scott Barnes 
scott.bar...@readify.net
Sent: Thursday, 11 March 2010 11:50 PM
To: ozSilverlight ozsilverlight@ozsilverlight.com
Subject: RE: RE: RE: Silverlight site.

 

My vote is to fold mscom/expression and mscom/silverlight into Silverlight.NET

 

Tim is touching only the tip of the iceberg, as having 4 sites all talking 
about the same thing is just counter-productive and it kind of makes me chuckle 
a bit as given the problem of XAML was to ensure both sides of the isle 
(developer - designer) collaborate. Yet the first thing Microsoft does is 
segregate the audiences? J It retards the potential for skill pollination 
(teach devs to design, and devs teach design to code etc) and if anything all 
it really does is bolster internal political and egos within (currently 4 
factions duking it out over ownership rights :D)

 

Now the stark reality is most sites in Microsoft only follow a typical 
quantitative analysis for their given sites, which is essentially a popularity 
contest in terms of traffic. Yet, the closer i looked at the data the more I 
saw nobody was really doing a qualitative analysis as had they done that, 
they'd see about 80% of the sites are actually utter failures and are offering 
zero value to their consumer base J

 

..as long as the graphs keep ascending to the upper right, it's no questions 
asked...

 

Silverlight.NET is really the only site that has value, the rest are just 
mediocrity being celebrated out loud.

 

 

From: ozsilverlight-boun...@ozsilverlight.com 
[mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Tim Heuer
Sent: Friday, March 12, 2010 1:40 AM
To: ozSilverlight
Subject: RE: RE: RE: Silverlight site.

 

Welcome to the world of MSFT ;-0

 

Microsof.com/product are usually ‘marketing’ sites – displaying 
decision-maker information and case studies, etc.

Silverlight.net serves as a developer community resources: forums, learning 
resources, samples, etc. -- *for developers*

 

-th

 

Tim Heuer | +1 (602) 405-4567 | Microsoft Silverlight

blog: http://timheuer.com/blog/ http://timheuer.com/blog/  | twitter: 
@timheuer http://twitter.com/timheuer 

 

From: ozsilverlight-boun...@ozsilverlight.com 
[mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Vishwanath Humpy
Sent: Wednesday, March 10, 2010 11:28 PM
To: ozsilverlight@ozsilverlight.com
Subject: Re: RE: RE: Silverlight site.

 

What is the story with http://silverlight.net/  ? .  Will it disappear?

On a positive note it did enlighten me to the silverlight partner program.  I 
haven't heard about that before.

It sounds good, unless you fail to ship a site within 90 days :-)

On Thu, 11 Mar 2010 11:50:25 +0530 wrote


My thoughts

RE: Old silverlight runtime installers

2009-11-10 Thread Ross Jempson
Thanks for that.

 

I've reproduced the problem and it seems to be the onError attribute.
As I mentioned previously, I am doing a custom install experience.

 

It seems that if the client machine already has 2.0.40115.0 or
2.0.31005.0 (and perhaps others), and you have the configuration
following, IE crashes.  Firefox works fine :

 

 

param name=onError value=onSilverlightError /

param name=autoUpgrade value=false /

 

Jscript:

 

   function onSilverlightError(sender, args) {

 



if (args.ErrorCode == 8001) {

try {

 
document.getElementById(silverlightControlHost).innerHTML =
PromptUpgrade;

}

catch (err) { }



}

else {

 

 

A while ago I figured out that the following event is not always fired,
and that you have to handle the 8001 error, which also indicates an
upgrade is required. 

 

Silverlight.onUpgradeRequired = function() {

 

document.getElementById(silverlightControlHost).innerHTML
= PromptUpgrade;

};

 

I am now trying to work out if a different error code is being
generated.  

 

Does anyone have any ideas? 

 

From: Tim Heuer [mailto:timhe...@microsoft.com] 
Sent: Wednesday, 11 November 2009 1:59 AM
To: ozSilverlight
Subject: RE: Old silverlight runtime installers

 

You can find installers to previous versions listed here:

 

http://go.microsoft.com/fwlink/?LinkID=92598

 

-th

 

Tim Heuer | (602) 405-4567 | Microsoft Silverlight

blog: http://timheuer.com/blog/ http://timheuer.com/blog/  | twitter:
@timheuer http://twitter.com/timheuer 

 

From: ozsilverlight-boun...@ozsilverlight.com
[mailto:ozsilverlight-boun...@ozsilverlight.com] On Behalf Of Ross
Jempson
Sent: Monday, November 09, 2009 10:06 PM
To: ozSilverlight
Subject: FW: Old silverlight runtime installers

 

Hi there,

 

We are deploying a SL 3 app and had IE crash on a few machines which had
old versions of SL installed, there was a non-descript error from
agcore.dll .  It happened on both ie6 and ie7.

 

The problem versions seem to be :

 

-  2.0.31005.0

-  2.0.40115.0

 

I want to diagnose the problem further, and to start I would like to be
able to install those versions on a test machine.  However I don't seem
to be able to find the installers on the web.

 

I tried passing the relevant version numbers , eg
http://go.microsoft.com/fwlink/?LinkID=149156v=2.0.31005.0  however it
serves me up SL 3.

 

Also, the problem doesn't surface if I do a simple default SL
application, with AutoUpgrade=true.  I am doing a custom upgrade
experience.


It might not be the cause, but I have 

 

autoUpgrade = false

 

And I am using the following additional attributes above the default
template:

 

initParams

onLoad

AllowHtmlPopupWindow

Windowless - false

EnableRedrawRegions - false (I can remove this one it was just for
testing)

Splashscreensource

onSourceDownloadProgressChanged

 

 

I was going to test to see if any of these was the cause, but can't do
it without first installing the older versions.

 

Cheers.

 

Ross

 


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


RE: Determining what is causing high CPU usage

2009-10-21 Thread Ross Jempson
I was contemplating a somewhat similar thing a few days ago.  Except I
want to look for potential memory leaks.

 

I have used a couple of tools in the past, including the Ants profiler.
However I discovered that the Silverlight framework doesn't implement a
profiling interface as per the full framework.

 

http://www.red-gate.com/supportcenter/Content.aspx?p=ANTS%20Performance%
20Profilerc=knowledgebase\ANTS_Performance_Profiler\KB200809000306.htm

 

It is a bit of a tangent, but you could also try an idea suggested on
this list by Seema Ramchandani.  You can set param
name=EnableRedrawRegions value=true /  in your plugin object.  When
I did this I was surprised to notice that a background image I hadn't
considered was being constantly redrawn when a unrelated animation was
in progress on the same screen.

 

 

 

From: John OBrien [mailto:j...@soulsolutions.com.au] 
Sent: Thursday, 22 October 2009 11:41 AM
To: 'ozSilverlight'
Subject: Determining what is causing high CPU usage

 

Hey guys does anyone have a good technique to determine exactly what is
causing high CPU usage inside a Silverlight control?

 

The example today was a ProgressBar with IsIndeterminate set to true
causes a MultiScaleImage control to go crazy (40-70% CPU). Even worse is
even after you hide the progressbar it never stops.

 

MultiScaleImage Source=GeneratedImages/dzc_output.xml /

ProgressBar x:Name=progress IsIndeterminate=True
Width=400 Height=25 /

 

My current solution is simple trial and error to find the cause, and
then remove the offending control.

 

Silverlight Spy showed an infinite amount of LayoutUpdated being fired,
but I can't seem to get more information. Any good tools out there?

I've found ProcessExplorer is awesome for monitoring the CPU usage /
memory.

 

John. 


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
ozsilverlight mailing list
ozsilverlight@ozsilverlight.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight


RE: Do we upgrade to Silverlight3 on our dev machines?

2009-07-10 Thread Ross McKinnon
Scott says, its all backwards compatible, so you should be ok. But we might 
have had a few, so, use your own judgement

-Original Message-
From: John OBrien j...@soulsolutions.com.au
Sent: Friday, 10 July 2009 6:34 PM
To: ozsilverlight@ozsilverlight.com ozsilverlight@ozsilverlight.com
Subject: Do we upgrade to Silverlight3 on our dev machines?

It's getting late on Friday I know but did I miss a post about what happens
when we upgrade to Silverlight3 as developers? It's awesome that the runtime
is backwards compatible so existing sites won't break but...

 

1)  Can we still target Silverlight2 in Visual Studio?

2)  What happens to our corporate clients without admin rights, do we
need to get their IT guys to update?

 

John.

 

 


Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists


Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists



RE: ado.net data services query filtering

2009-07-09 Thread Ross Jempson
That seems like a reasonable suggestion.

 

I had considered writing it as linq, but assumed it would have the same
problem.  I didn't realise you could check the rest URL,  thanks.

 

From: Asheesh Soni [mailto:asheeshs...@gmail.com] 
Sent: Friday, 10 July 2009 1:47 PM
To: ozsilverlight@ozsilverlight.com
Subject: Re: ado.net data services query filtering

 

Why don't you simply write a linq query and let it do the translation
for you?
And if you are curious, you can set a break point and see what REST url
it is using to get the results.

Or have I missed something really obvious and made a fool of myself?

On Wed, Jul 8, 2009 at 2:59 PM, Ross Jempson
ross.jemp...@michaelhill.com.au wrote:

Hi there,

 

This might be slightly off topic, but I'll try my luck.


I am trying to figure out whether I can filter on child collections of
an ado.net data services query in a Silverlight app.

 

For example, the following examples work nicely, and are good for
performance as I don't need round trips to the server when populating
child entity collections:

 

 

this.DataContext.BeginExecuteScreen(new
Uri(Screen?$expand=ScreenMenuItem/ScreenMenuItemCountry,ScreenBackgroun
dImage,ScreenVideoSubstituteImage,ScreenCountryText,ScreenCountryVideo,

UriKind.Relative),

   ScreenLookupDataCallback, this.DataContext);

 

 

this.DataContext.BeginExecuteMainMenuItemCountry(new
Uri(string.Format(MainMenuItemCountry?$expand=MainMenuItem/Screen$filt
er=CountryId eq {0}, _loc.ApplicationSettings.CountryId),

UriKind.Relative),

   MainMenuItemsDataCallback, this.DataContext);

 

 

Notice in the second query I am filtering the 'MainMenuItemCountry' by
CountryId.  Note how this filter is against the top level entity.

 

I would like to do the same thing in the first query, but I want to
filter by country for the ScreenMenuItem/ScreenMenuItemCountry entities.
Eg something like

 

 

this.DataContext.BeginExecuteScreen(new
Uri(Screen?$expand=ScreenMenuItem/ScreenMenuItemCountry,ScreenBackgroun
dImage,ScreenVideoSubstituteImage,ScreenCountryText,ScreenCountryVideo$
filter= ScreenMenuItem/ScreenMenuItemCountry/CountryId eq 61 ,

UriKind.Relative),

   ScreenLookupDataCallback, this.DataContext);

 

However, this results in a bad request.  The following link implies it
is not possible to filter the 'expanded' child collection, but I can't
be sure.  http://msdn.microsoft.com/en-us/library/cc668778.aspx

 

Has anyone tried this?

Cheers.

Ross



Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
mailto:ozsilverlight@ozsilverlight.com 
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
mailto:ozsilverlight-subscr...@ozsilverlight.com 
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
mailto:ozsilverlight-unsubscr...@ozsilverlight.com 
List FAQ: http://www.codify.com/lists/ozsilverlight
http://www.codify.com/lists/ozsilverlight 
Other lists you might want to join: http://www.codify.com/lists
http://www.codify.com/lists  

 



Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
mailto:ozsilverlight@ozsilverlight.com 
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
mailto:ozsilverlight-subscr...@ozsilverlight.com 
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
mailto:ozsilverlight-unsubscr...@ozsilverlight.com 
List FAQ: http://www.codify.com/lists/ozsilverlight
http://www.codify.com/lists/ozsilverlight 
Other lists you might want to join: http://www.codify.com/lists
http://www.codify.com/lists  


Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists



ado.net data services query filtering

2009-07-07 Thread Ross Jempson
Hi there,

 

This might be slightly off topic, but I'll try my luck.


I am trying to figure out whether I can filter on child collections of
an ado.net data services query in a Silverlight app.

 

For example, the following examples work nicely, and are good for
performance as I don't need round trips to the server when populating
child entity collections:

 

 

this.DataContext.BeginExecuteScreen(new
Uri(Screen?$expand=ScreenMenuItem/ScreenMenuItemCountry,ScreenBackgroun
dImage,ScreenVideoSubstituteImage,ScreenCountryText,ScreenCountryVideo,

UriKind.Relative),

   ScreenLookupDataCallback, this.DataContext);

 

 

this.DataContext.BeginExecuteMainMenuItemCountry(new
Uri(string.Format(MainMenuItemCountry?$expand=MainMenuItem/Screen$filt
er=CountryId eq {0}, _loc.ApplicationSettings.CountryId),

UriKind.Relative),

   MainMenuItemsDataCallback, this.DataContext);

 

 

Notice in the second query I am filtering the 'MainMenuItemCountry' by
CountryId.  Note how this filter is against the top level entity.

 

I would like to do the same thing in the first query, but I want to
filter by country for the ScreenMenuItem/ScreenMenuItemCountry entities.
Eg something like

 

 

this.DataContext.BeginExecuteScreen(new
Uri(Screen?$expand=ScreenMenuItem/ScreenMenuItemCountry,ScreenBackgroun
dImage,ScreenVideoSubstituteImage,ScreenCountryText,ScreenCountryVideo$
filter= ScreenMenuItem/ScreenMenuItemCountry/CountryId eq 61 ,

UriKind.Relative),

   ScreenLookupDataCallback, this.DataContext);

 

However, this results in a bad request.  The following link implies it
is not possible to filter the 'expanded' child collection, but I can't
be sure.  http://msdn.microsoft.com/en-us/library/cc668778.aspx

 

Has anyone tried this?

Cheers.

Ross


Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists



RE: Silverlight Binding Expressions

2009-05-18 Thread Ross Jempson
Assuming the binding is one-way, and you 'own' the model to which you
are binding, can't you extend it and create a derived property there?

 

Lets say you were binding to a Person class

 

public string  Firstname { get; set; }

public string LastName { get; set; }

 

public string FullName

{

get { return Firstname +   + LastName; }

set { }

}

 

 

 

Textblock Text={Binding FullName

 

From: Asheesh Soni [mailto:asheeshs...@gmail.com] 
Sent: Tuesday, 19 May 2009 10:37 AM
To: OzSilverlight@ozsilverlight.com
Subject: Silverlight Binding Expressions

 

Hello

I have a very trivial problem, but all the solutions to it seem to be a
bit of an overkill. Just looking for a simple solution

So here's the problem: Bind a Textblock to more than one field (or a
string and a field)

For example: Textblock Text={Binding FirstName +   + LastName} /
Or, Textblock Text={Binding You are logged in as: + {LoginName}} /

I know the following solutions already:

1. Have two Textblocks with clean and simple bindings.
2. Use a Converter (with ConvertBack for two way binding).
3. Use Xambda (Yeah, I mean a Generic Lambda Converter used in Xaml with
a Lambda expression)

References for Xambda:
http://www.fikrimvarnet/lestirelim/?p=15
http://www.fikrimvar.net/lestirelim/?p=15 
http://marlongrech.wordpress.com/2008/02/10/embed-code-in-xaml/

And I know advocates of Designer/Developer work flow will argue that
embedding complex expressions in Xaml defeats the whole purpose and
leads to the bad (or good) old days of spaghetti code. But I guess,
having trivial code in Xaml (eg {FirstName} + {LastName}) shouldn't
really be a problem.

Basically, All I need is a built-in, in-line Converter for one-way
binding in Xaml, without having to create my own one line Converters for
such trivial transformations.

Any ideas?


Thanks

Soni



Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
mailto:ozsilverlight@ozsilverlight.com 
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
mailto:ozsilverlight-subscr...@ozsilverlight.com 
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
mailto:ozsilverlight-unsubscr...@ozsilverlight.com 
List FAQ: http://www.codify.com/lists/ozsilverlight
http://www.codify.com/lists/ozsilverlight 
Other lists you might want to join: http://www.codify.com/lists
http://www.codify.com/lists  
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists



RE: Adaptive streaming

2009-05-18 Thread Ross Jempson
Good point.  That is up in the air.  The stakeholders are adamant they
don't want to let the user skip or mute the video.  

My feeling is that we should let the user control volume and skip, but
certainly we don't want play / pause buttons and we don't want any sort
of frame around the video as this will affect the aesthetic.

-Original Message-
From: Barry Beattie [mailto:barry.beat...@gmail.com] 
Sent: Tuesday, 19 May 2009 11:32 AM
To: OzSilverlight@ozsilverlight.com
Subject: Re: Adaptive streaming

@Ross

no UI? does that include no audio level control?



On Tue, May 19, 2009 at 11:08 AM, Ross Jempson
ross.jemp...@michaelhill.com.au wrote:
 Hi there,



 I was wondering if anyone has implemented  a custom media player using
 adaptive streaming in a SL client?  I have the IIS side up and
running, and
 have deployed a test page using a player generated by Expression
encoder.
 It performs beautifully on a hosted virtual server in the wild,
although we
 haven't done any load testing yet.



 My requirement is that I have to show streaming video, but where the
user
 doesn't have control over playing / pausing ... , therefore I don't
want to
 show the normal player style UI.  The video will be run in full screen
when
 the user first hits a screen then will fade and keep running in the
 background.

 I haven't found a player that doesn't have a UI or lets me hide the
UI.  Eg
 http://www.openvideoplayer.com/  looks good but I couldn't work out
how to
 hide the UI.



 I found the source code for one of the players  - C:\Program
 Files\Microsoft Expression\Encoder 2\Templates\en\SL2Standard\Source
and
 figured out roughly how it works.  The key is a project/dll
 AdaptiveStreaming.dll that does the hard work.



 I referenced AdapativeStreaming.dll and wired it up how I expected but
it
 didn't work on my first attempt.  I haven't had time to go back and
look at
 it further, and don't expect you guys to debug my app.



 I am looking for advice :



 1.  Does anyone know of a player I can use that has no UI or the
UI can
 be hidden?

 2.  Or, am I on the right track using the Encoder's
AdaptiveStreaming
 library?

 3.  If the answer to 2 is Yes,  Is it legal for me to use the
 AdaptiveStreaming library?  I expect so, given the source code is
 distributed but thought I would ask.





 Cheers.

 Ross

 
 Support procedure: https://www.codify.com/lists/support
 List address: ozsilverlight@ozsilverlight.com
 Subscribe: ozsilverlight-subscr...@ozsilverlight.com
 Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
 List FAQ: http://www.codify.com/lists/ozsilverlight
 Other lists you might want to join: http://www.codify.com/lists


Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists



RE: Adaptive streaming

2009-05-18 Thread Ross Jempson
Yes, I am planning to use a basic media element.

 

I tried code below, but it basically just showed a blank screen.  I
tried a couple of things like AutoPlay = true / false

 

I haven't had time to look at it again, but was mostly wondering if I
was on the right track.  

 

Cheers.

 

Ross

 

MediaElement AutoPlay=False IsMuted=False Grid.Row=0 

  x:Name=melMain HorizontalAlignment=Stretch
VerticalAlignment=Stretch/

 

 

public IMediaStreamSourceFactory MediaStreamSourceFactory { get; set; }

private MediaStreamSource m_mediaStreamSource;

 

...

 

this.MediaStreamSourceFactory = new AdaptiveStreamingSourceFactory();

 

...

 

m_mediaStreamSource = MediaStreamSourceFactory.Create(melMain, new
Uri(http://mydomain.com.au/Big_Buck_Bunny/Big Buck
Bunny.ism/Manifest));

 

...

 

melMain.SetSource(m_mediaStreamSource);

 

melMain.Position = TimeSpan.Zero;

 

melMain.Play();

 



 

/// summary

/// Adpative streaming object factory

/// /summary

internal class AdaptiveStreamingSourceFactory :
IMediaStreamSourceFactory

{

/// summary

/// Creates a MediaStreamSource object.

/// /summary

/// param name=mediaElementThe MediaElement to host the
stream./param

/// param name=uriThe string providing the network location
of the video to be streamed/param

/// returnsThe new MediaStreamSource object/returns

public virtual MediaStreamSource Create(MediaElement
mediaElement, Uri uri)

{

return new AdaptiveStreamingSource(mediaElement, uri);

}

}

 

From: Jordan Knight [mailto:jordan.kni...@readify.net] 
Sent: Tuesday, 19 May 2009 11:32 AM
To: OzSilverlight@ozsilverlight.com
Subject: RE: Adaptive streaming

 

Hey Ross,

 

Is the MediaElement in it's raw form no good?

 

The basic process is (and from my research it's not particularly well
documented at this stage) is that you need to take the MediaStreamSource
class (cannt remember its name) from the AdaptiveStreaming.dll and use
it to load the video from your server.

 

I know I'm being terribly vague I'm sorry, I've done this once before
but I cannot for the life of me find the sample code.

 

From: OzSilverlight@ozsilverlight.com
[mailto:ozsilverli...@ozsilverlight.com] On Behalf Of Ross Jempson
Sent: Tuesday, 19 May 2009 11:09 AM
To: OzSilverlight@ozsilverlight.com
Subject: Adaptive streaming

 

Hi there,

 

I was wondering if anyone has implemented  a custom media player using
adaptive streaming in a SL client?  I have the IIS side up and running,
and have deployed a test page using a player generated by Expression
encoder.  It performs beautifully on a hosted virtual server in the
wild, although we haven't done any load testing yet.

 

My requirement is that I have to show streaming video, but where the
user doesn't have control over playing / pausing ... , therefore I don't
want to show the normal player style UI.  The video will be run in full
screen when the user first hits a screen then will fade and keep running
in the background. 

I haven't found a player that doesn't have a UI or lets me hide the UI.
Eg http://www.openvideoplayer.com/  looks good but I couldn't work out
how to hide the UI.

 

I found the source code for one of the players  - C:\Program
Files\Microsoft Expression\Encoder 2\Templates\en\SL2Standard\Source and
figured out roughly how it works.  The key is a project/dll
AdaptiveStreaming.dll that does the hard work.

 

I referenced AdapativeStreaming.dll and wired it up how I expected but
it didn't work on my first attempt.  I haven't had time to go back and
look at it further, and don't expect you guys to debug my app.

 

I am looking for advice :

 

1.  Does anyone know of a player I can use that has no UI or the UI
can be hidden?

2.  Or, am I on the right track using the Encoder's
AdaptiveStreaming library?

3.  If the answer to 2 is Yes,  Is it legal for me to use the
AdaptiveStreaming library?  I expect so, given the source code is
distributed but thought I would ask.

 

 

Cheers.


Ross



Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
mailto:ozsilverlight@ozsilverlight.com 
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
mailto:ozsilverlight-subscr...@ozsilverlight.com 
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
mailto:ozsilverlight-unsubscr...@ozsilverlight.com 
List FAQ: http://www.codify.com/lists/ozsilverlight
http://www.codify.com/lists/ozsilverlight 
Other lists you might want to join: http://www.codify.com/lists
http://www.codify.com/lists 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.329 / Virus Database: 270.12.32/2118 - Release Date:
05/16/09 17:05:00


__
This email has been scanned by the MessageLabs Email Security System.
For more information

RE: Silverlight reach on Mobile devices

2009-03-01 Thread Ross McKinnon
I am sure in the future of mobile devices, one platform that is derived
off C# will be of great importance.

I am curious though whether SL will have access to the hardware device
will be available (ie imei number, device ID and other functions of the
phone).


Ross. 

-Original Message-
From: Jordan Knight [mailto:jordan.kni...@readify.net] 
Sent: Monday, 2 March 2009 8:57 AM
To: ozsilverlight@ozsilverlight.com
Subject: RE: Silverlight reach on Mobile devices

Bragging rights?? :P

-Original Message-
From: ozsilverlight@ozsilverlight.com
[mailto:ozsilverli...@ozsilverlight.com] On Behalf Of Jonathan Parker
Sent: Monday, 2 March 2009 9:55 AM
To: ozsilverlight@ozsilverlight.com
Subject: Re: Silverlight reach on Mobile devices

Sorry. I accidentally hit the send button.

I heard in a video (can't remember where) that the mobile team are keen
to sync up with the desktop team with their releases of SL so maybe 3.0
will have both, though I'm not sure about the usefulness of HD video on
a phone!

On Mon, Mar 2, 2009 at 9:52 AM, Jonathan Parker
jonathanparkerem...@gmail.com wrote:
 On Mon, Mar 2, 2009 at 9:49 AM, Steven Berry 
 steven.be...@stargategroup.com.au wrote:
 Hi Jonathan,

 With all of Mobile 6.5 information coming out and Mix with
Silverlight 3 I've noticed Silverlight mobile taken a back seat at the
moment.

 Fingers crossed we get to see this at Mix.

 Steve

 -Original Message-
 From: Jonathan Parker [mailto:jonathanparkerem...@gmail.com]
 Sent: Monday, 2 March 2009 9:49 AM
 To: ozsilverlight@ozsilverlight.com
 Subject: Re: Silverlight reach on Mobile devices

 Still in private beta: http://silverlight.net/learn/mobile.aspx

 However I wouldn't be surprised to see something at Mix about it.

 On Mon, Mar 2, 2009 at 9:39 AM,  darren.nei...@live.com wrote:
 Hi all... I'm going to show my ignorance here (what's new ) but... 
 what is the Silverlight 'reach' on mobile devices?


 Kind Regards,

 Darren Neimke - Microsoft MVP
 darren.nei...@live.com

 blog: http://neimke.spaces.live.com
 twitter: http://twitter.com/digory
 mob: 0439 855 046
 
 Support procedure: https://www.codify.com/lists/support
 List address: ozsilverlight@ozsilverlight.com
 Subscribe: ozsilverlight-subscr...@ozsilverlight.com
 Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
 List FAQ: http://www.codify.com/lists/ozsilverlight
 Other lists you might want to join: http://www.codify.com/lists
 -
 --- Support procedure: https://www.codify.com/lists/support
 List address: ozsilverlight@ozsilverlight.com
 Subscribe: ozsilverlight-subscr...@ozsilverlight.com
 Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
 List FAQ: http://www.codify.com/lists/ozsilverlight
 Other lists you might want to join: http://www.codify.com/lists



 -
 - This message contains confidential information and is intended 
 only for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please notify
the sender immediately if you have received this e-mail by mistake and
delete this e-mail from your system. No responsibility is assumed by the
company or its employee to any other person for any loss or damage
(whether caused by negligence or not) arising from the use of the
information and advice contained herein. Finally, it is your
responsibility to check any attachments for viruses and defects before
opening or sending them on.
 -
 -

 -
 --- Support procedure: https://www.codify.com/lists/support
 List address: ozsilverlight@ozsilverlight.com
 Subscribe: ozsilverlight-subscr...@ozsilverlight.com
 Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
 List FAQ: http://www.codify.com/lists/ozsilverlight
 Other lists you might want to join: http://www.codify.com/lists


 --
 -- Support procedure: https://www.codify.com/lists/support
 List address: ozsilverlight@ozsilverlight.com
 Subscribe: ozsilverlight-subscr...@ozsilverlight.com
 Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
 List FAQ: http://www.codify.com/lists/ozsilverlight
 Other lists you might want to join: http://www.codify.com/lists




Support procedure: https://www.codify.com/lists/support
List address: ozsilverlight@ozsilverlight.com
Subscribe: ozsilverlight-subscr...@ozsilverlight.com
Unsubscribe: ozsilverlight-unsubscr...@ozsilverlight.com
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists


No virus found in this incoming message.
Checked by AVG