Tag Archives: source

Sharing Entities between WCF and Silverlight

One thing that often comes up when developing Silverlight applications is the desire to share entity classes between Silverlight and server-side code in WCF. .NET RIA Services handles the sharing for us automatically. But you’ll find yourself needing the functionality in cases where you’re simply not using .NET RIA Services. Sharing in WCF happens by default when you mark up your entities using [DataContract] and [DataMember] attributes. However, I find polluting my classes with those to be really ugly, as well as limiting. I also dislike the handling of namespaces on the client.

Read the original here: 
Sharing Entities between WCF and Silverlight

What Happened to the asp:Silverlight Control?

You may have noticed that in Silverlight 3 RTW, there’s no more asp:Silverlight or asp silverlight-based media player controls. Those were removed from the core SDK and are no longer part of the official Silverlight distribution What does this mean for me? If you have an existing Silverlight 2 application that you are maintaining, you can continue to use the asp:Silverlight control. If you port it to Silverlight 3, you can also continue to use that control, but it won’t expose the parameters you’ll need for handling hardware acceleration or other Silverlight 3 (and later) specific features. For new Silverlight projects, you should use either the object tag approach, or the extremely flexible but slightly more involved JavaScript approach.

View original post here:
What Happened to the asp:Silverlight Control?

YouTube video in Silverlight 3

A while back I saw a post titled something like Displaying YouTube Videos in Silverlight .

Windows Mobile 7 UI ’still under development’

According to resume of Kim Sealls, the Windows Mobile 7 UI is still a work in progress. Her resume lists her as presently working for the Windows Mobile UX team creating, “designs for Windows Mobile 7 controls (UI still in progress),” and creating, “XAML layouts for controls and dialogs (Silverlight created in Expression Blend).” Source:→ Stephen Click the link below to read more :- Windows Mobile 7 UI ’still under development’

Read more from the original source:
Windows Mobile 7 UI ’still under development’

.NET RIA Services: Get your metadata from anywhere!

While the feedback on .NET RIA Services has been great, many people have commented on the way we store metadata as custom attributes on “buddy” classes of entities.

Managed Extensibility Framework Preview 5 Released

A few days ago we released MEF Preview 5 on codeplex with all the source code, docs, test and samples you need to get started.

Behaviors in Expression Blend 3

One of the really fun and productive things coming to Expression Blend 3 and Silverlight 3 is the concept of Behaviors .   In a nutshell, you will be able to drag/drop a Behavior in Blend 3 onto a UI Element on the design surface, and that will automatically inject runtime logic into that element. Behaviors aren’t a new concept, and there is even an equivalent in the ASP.NET AJAX world if you’ve played with creating custom controls in that universe. Physics Behaviors! One of the most fun examples I’ve seen using Behaviors was done by Pete Blois, a Program Manager on the Expression team at Microsoft. Pete and another developer created some Physics Behaviors which very closely mirror the Physics Helper Library I created for the Farseer Physics Engine . I first saw Pete demo the Physics Behaviors at the MVP Summit a few weeks ago, and my jaw dropped at the similarities! Pete & Co.’s Physics Behaviors use the Box2D Physics Engine . Getting Started with Behaviors If you’re playing with Silverlight 3 and Blend 3, why wait? You can play with Behaviors today! Note this is all Beta level stuff, so be prepared for some hiccups along the way Pete’s MIX Session – Pete Blois gave a great overview of Behaviors in this MIX 09 session. Using Behaviors – A quick Walkthrough by Kirupa on how to use behaviors! Pay special attention to where you find the assembly Microsoft.Expression.Interactivity.dll - you’ll need that for the next link. MIX Behavior Pack – this contains the Physics Behaviors, as well as a bunch of others. Creating New Behaviors It turns out it’s pretty easy to create your own behaviors, and I’ll be covering this in a later blog post. But if you can’t wait, just download the MIX Behavior Pack and have a look at the Behaviors, all of their source code is included!    

More here: 
Behaviors in Expression Blend 3

Switching XAP Files on the Client Side

qingquan126778