×

First time here?

You are looking at the most recent posts. You may also want to check out older archives. Please leave a comment, ask a question and consider subscribing to the latest posts via RSS or email. Thank you for visiting!

Silverlight logoAt last, Silverlight 3 is released!  It has been a long road…wait a minute, actually it’s only been 8 months since the last release!  Whoa, that’s some wicked supersonic Microsoft time there!  Anyhow, we are finally released.  A while back I wrote a post on What’s New in Silverlight 3 and it still all applies.  I’d encourage you to read that post as well.  There are, of course, some subtle changes in a few things from an implementation side of things, but those are all documented in the release.

Here’s where you go to get the exhaustive goods.  First if you don’t have Visual Studio or Silverlight yet installed and want to try it out, give the Web Platform Installer a try.  In one click we’ll install everything for you!  The image link here will install VS2008 Express (free) and the Silverlight 3 developer tools:

Here’s some links to all the other bits if you so desire:

That should give you the totality of information to get as deep as you want with all the features.

NOTE: If you are behind a firewall and get an error installing the VS tools, you may be running into a common issue with those ‘behind the walls’ with downloading the runtime.  Basically download the tools, then download the *developer* runtime (link above) and follow the offline instructions here (this was a post from earlier days but still applies).

While you are downloading the bits, take a look at some thoughts on new/changes below here.

What’s changed/new since beta?

There are a few things that are finally in the bits that we’ve talked about since beta but probably not many have seen or been able to work with.  Here’s some of my highlights:

Improved text rendering.  The team made large investments in improving the overall rendering of text in Silverlight applications.  Improved text rendering is available to all supported platforms.  Improvements for text animation have also been introduced.

Updated Out-of-browser tooling.  In the beta, the manifest had to be written by hand for taking your Silverlight application out-of-browser.  The Visual Studio tools now have a user interface for helping you do that.  When you look at the properties dialog of a Silverlight application you’ll now see the checkbox to enable these settings:

Silverlight Out of browser settings

and the resulting tooling to create the file for you:

Silverlight Out of browser settings dialog

The result is that an OutOfBrowserSettings.xml file is created and your .*proj file is decorated with some build instructions on how to compile that for the manifest.  If you have existing projects with the older settings in the manifest, it should be a quick and easy change, but I had also created a quick tool that was helping me do these in bulk.  You are welcome to use my OOBChanger ClickOnce app.  You basically point it at the folder where your Silverlight .**proj file is located and it does the work.  This is certified works on my machine utility, but I wanted to pass it along in case you had a lot to do.

NOTE: Remember to DELETE THE OLD AppManfiest settings (Deployment.Identity) or your application WILL NOT RUN.

In addition to the tooling change, almost all the Out-of-browser APIs got name changes.  For instance, instead of .Detach() it is now .Install().  Also the out-of-browser update model I’ve previously talked about has change slightly.  There is now an API called CheckAndDownloadUpdateAsync() which triggers the update check.  Once called, if an update is available, it is being downloaded asynchronously to the user.  There is an event you can subscribe to for the completion of this event to check if an update did indeed occur and alert the user.  The change here effectively is that you, the developer, now perform when you want that update check/download to occur.

Where did my design view go?!  You may notice right away that the VS tools no longer have the preview mode for your XAML in Silverlight projects.  This is by design.  We heard some pretty vocal feedback that the preview was usually turned off for most development because it was not turning out to be helpful as the applications got more complex.  The team decided put the resource investment into creating a great editable design surface in VS2010 instead and not delay the release of Silverlight 3.

ASP.NET Server Controls.  In the Silverlight 2 SDK and the Silverlight 3 beta, we had two ASP.NET server controls: asp:Silverlight and asp:Media.  These were both controls that served as wrappers to emitting the <object> tag or other JavaScript to instantiate a Silverlight object.  The <object> method is more flexible for developers on various platforms and we have decided not to include updates to these controls for Silverlight 3 SDK.  People may ask how they are going to emit params, etc. using server code, and that is still entirely possible.  We have a whitepaper talking about various methods of doing that including the simplest ones like this:

   1: <object type="application/x-silverlight-2" ...>
   2:   <param name="Source" value='<asp:Literal id="Source" runat="server"/>' />
   3: </object>

That whitepaper about the ASP.NET Server Controls can be downloaded from the Silverlight whitepapers site and includes some guidance, known issues, and things to be aware of if you are still using those controls and move to Silverlight 3.  It also includes a link to where you can get the source code for those controls if you want to extend them yourself.

Silverlight.JS updates.  Just a minor update that we compressed the bits so that if you want to use them it is a 7K library instead of a 57K library.  The “debug” (human readable) version will be available for you to download if needed at the Silverlight.js code site and is licensed under Ms-PL.

New networking stack.  What?!  That’s right a new networking stack option is being introduced for Silverlight 3 and is new since beta.  Silverlight has always leveraged the browser HTTP stack and will continue if you don’t care.  In Silverlight 3 we’ve introduced the Client HTTP stack as an option as well.  You must opt-in to use the client HTTP handling.  This gives you the ability to go more than just GET/POST (i.e., more REST-ful verbs), using response status codes/headers, etc.  You can opt-in to use the client HTTP stack on all requests, requests for a specific domain, or on a per-request basis like this:

   1: HttpWebRequest request = (HttpWebRequest)WebRequestCreator.ClientHttp.Create(new Uri(
   2:         http://api.search.live.net/qson.aspx?query=Silverlight));

Hopefully this new client stack will give you some flexibility in some situations beyond what the browser networking stack was providing.  We continue to look for feedback on improving this area.

Assembly Caching.  This feature was in the beta, but was only limited to Microsoft specific assemblies and only a few.  In the release we’re making this option available to all developers.  This gives you the ability to host your satellite assemblies and not have them packaged as a part of the initial XAP payload.  They will then be download asynchronously when needed.  This feature is great for shared assemblies in corporations as well as component vendors.

Where did DataForm go? DataForm was moved out of the SDK and moved into the Silverlight Toolkit release mechanism.  It is still available in its full awesomeness of glory, but just in a different place under System.Windows.Controls.Data.DataForm.Toolkit namespace.  Look for it (and the source!) in the Silverlight Toolkit downloads.  There were some changes here including the removal of the DataFormFields (like DataFormTextField) in favor of using the primitives more.  So instead of:

   1: <datacontrols:DataFormTextField Text="{Binding Path=FirstName}" />

you’d use

   1: <datacontrols:DataField>
   2:     <TextBox Text="{Binding Path=FirstName}" />
   3: </datacontrols:DataField>

We felt this is a more flexible model for growth in the long run for DataForm usage.

Navigation framework updates.  The navigation framework got some updates including how you use the UriMapper concepts.  In the beta you had to have it as a resource and the resource key had to be named ‘uriMapper' or it wouldn’t work.  We’ve changed that so now you can still have your mappings as a resource, and can reference them on your Frame like this:

   1: <navigation:Frame UriMapper="{StaticResource MyFooMapper}">
   2: ...
   3: </navigation:Frame>

or you can explicitly write them on the Frame itself

   1: <navigation:Frame x:Name="MyCoolFrameNav">
   2:     <navigation:Frame.UriMapper>
   3:         <nav:UriMapper>
   4:         ...
   5:         </nav:UriMapper>
   6:     </navigation:Frame.UriMapper>
   7: </navigation:Frame>

Hopefully that makes things a little more flexible for you.  Also be sure to check out the additional 7 free navigation application template themes we’re providing for you.

.NET RIA Services.  The July 2009 update for .NET RIA Services is now available for you to download as well.  We’ll be posting some deeper tutorials on how to use RIA Services with Silveright.  When you download the bits, there is a walkthrough document that helps you get a good overview of the framework.  Best of all, the July 2009 bits come with a Go-Live license!  Sweet!  Now you can get rolling on some deployment using RIA Services!  Be sure to use the .NET RIA Services forums as the team is very active there!

Browser Zoom.  Silverlight applications now respond to browser zoom requests.  So if you’re viewing an app in IE you can go down to that little right corner and change the zoom to 200% and see the wonder of the ClearType text rendering :-).

Silverlight 2 changes and quirks mode.  In my previous post where I asked you all to make sure your SL2 apps ran fine under the beta, there was a lot of questions about what this quirks mode list of changes was going to be.  At the time we hadn’t formalized the document so I couldn’t share it and I didn’t want to share something incomplete.  The changes are now outlined in the Silverlight 3 changes documentation (section 5).  There are some changes that may directly affect you (like OpenFileDialog requiring a user-initiated action) and some that you won’t care about.  The key here to remember is that even if you have this code in your SL2 application, as long as it is compiled in SL2, it will ran fine in Silverlight 3 because of our quirks mode.  If you compile in Silverlight 3, however, you will be playing by SL3 rules, so pay attention if these affect you.

What’s the deal with Blend?  Expression Blend 3 is releasing a Release Candidate (RC) build alongside the Silverlight 3 final release.  Expression Blend is a part of the overall version 3 suite for Expression which is not yet released (which includes Expression Encoder 3 as well).  The RC build was designed to ensure you can target SL3 applications.  It also includes the feature everyone is talking about: SketchFlow.  Be sure to check out the RC build and play around with it…there are some great improvements.

Encoding media for Silverlight.  IIS Smooth Streaming has already been released and you can play around with it since Silverlight 2 applications.  Expression Encoder 3 features were recently announced (including screen capture!) one of which indicated that updated media templates will be provided.  Here’s a preview of some of my favorites:

‘Expression’ theme: simple, but super elegant.  Has built-in pop-out control, cover-flow style chapter/playlist viewing and offline mode support.  Wicked.  Makes me scared about my project with Joel.

Encoder 3 Expression theme

‘Jukebox’ for audio playback

Encoder 3 Jukebox theme

The source code for these templates are provided as well so you can extend and further template to your liking.  The IIS Smooth Streaming encoding capabilities are also built into the product so you can produce your own smooth streaming bits to put on your IIS7 server.

Summary

I’m sure I’m missing some things, but there is all goodness in the Silverlight 3 release.  You just have to experience it yourself :-).  Go ahead and Get Started now!  The marketing team has also updated their site at http://www.microsoft.com/silverlight with some updated case studies and additional information for you to help learn how Silverlight can empower your developers and help you create unique experiences on the web.

Hope this helps!


This work is licensed under a Creative Commons Attribution By license.


7/10/2009 10:15 AM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim,

All the way from Poland, I would like to congratulate you and the whole SL team on your outstanding work. Keep up the good work.
7/10/2009 10:17 AM | # re: Silverlight 3 Released! What is new/changed?
Thanks a lot Tim! great news for us! we're working hardly on Silverlight technologies and we want the best of all for the next generation of services for our customers. (Even our "under construction" had been built with Silverlight).
Cheers,
7/10/2009 10:28 AM | # re: Silverlight 3 Released! What is new/changed?
Nice post. i'm still watching the [http://vepexp.microsoft.com/seethelight] keynote. Exciting.

I'm very interested in extensibility and patterns an practices.
7/10/2009 10:45 AM | # re: Silverlight 3 Released! What is new/changed?
Thanks Tim,

Great post - that explains where my designer went too :-)

Regards

Richard
Gravatar
7/10/2009 10:56 AM | # re: Silverlight 3 Released! What is new/changed?
Very interesting news about the new client networking stack! Does this mean we could now access something like Azure Storage or Mesh directly from Silverlight? As I understand they both use ADO.NET Data Services to expose their APIs in a RESTy fashion, but SL previously couldn't add the required authentication data to the headers. If this is possible I'd love to see an example! It would be awesome to get access to alarge file store through a real API directly from Silverlight.
7/10/2009 11:18 AM | # re: Silverlight 3 Released! What is new/changed?
Wow you guys are fast. When you said "by the end of an Arizona summer" I was thinking middle of October. Congratulations!
7/10/2009 11:37 AM | # re: Silverlight 3 Released! What is new/changed?
Small quibble. Alas? As in "Alas, poor Yorick, I knew him?" Methinks you meant at last!
7/10/2009 11:38 AM | # re: Silverlight 3 Released! What is new/changed?
Rich -- friggine auto correct :-)
7/10/2009 11:45 AM | # re: Silverlight 3 Released! What is new/changed?
BTW great info...you're were the first hit I got on Google for Silverlight 3.0.....didn't dissapoint.
7/10/2009 12:31 PM | # re: Silverlight 3 Released! What is new/changed?
Disappointed with the font rendering again. Why you guys just can't use system anti-aliasing? SL3 is an improvement for sure but still much worse than just ordinary text rendered in my browser.
7/10/2009 12:34 PM | # re: Silverlight 3 Released! What is new/changed?
Great news, and great work!
7/10/2009 12:50 PM | # WebRequestCreator?
What namespace is this in? I'm not seeing it.
7/10/2009 1:02 PM | # re: Silverlight 3 Released! What is new/changed?
Congratulations Tim & Team!

Upgraded this afternoon and already noticed huge improvements. I'm especially excited about the 3D perspective. Thanks again for the hard work!
7/10/2009 1:25 PM | # re: Silverlight 3 Released! What is new/changed?
So good that it is finally here!! Browser zoom is really really fantastic. No more need to put a clipping region on my Canvas. My weekend is now officially blown! Thanks a lot! ;)
7/10/2009 1:46 PM | # re: Silverlight 3 Released! What is new/changed?
John -- it is in System.Net.Browser
7/10/2009 2:02 PM | # re: Silverlight 3 Released! What is new/changed?
Ah, thanks. Downloaded the CHM file too, for more info. Of course, I get a System.NotSupportedException when trying to access a REST URI on a JBoss server (my companies REST API is in Java). Your link worked though. Guess I need to research more. What I REALLY, REALLY had been hoping for was implementation of Credentials, so I can build my own login and bypass IE's when making a REST call. Oh well. Still having WAYYY too much fun with Silverlight!
7/10/2009 3:13 PM | # re: Silverlight 3 Released! What is new/changed?
The Design view is not totally removed though, right? For me, it's hidden by default, but I can still split the window and open it back up using the splitter at the bottom of the pane.
7/10/2009 4:32 PM | # re: Silverlight 3 Released! What is new/changed?
But I don't even see the split windows too.
totally only source view tab.
7/10/2009 5:14 PM | # re: Silverlight 3 Released! What is new/changed?
Hello, thank you for your great work!
But I have to say that it is a problem for Non-English LOB developer that now we have our customer running SL3 on their machine and we, developer, have no official SDK.
Please consider the support for Non-English developer again. At least, announcement about the release schedule of SDK (Japanese SDK in my case)helps so much when we talk to our customers (and the co-working developers who is still thinking about which to choose - Silverlight, Flash, Ajax?)
7/10/2009 6:04 PM | # re: Silverlight 3 Released! What is new/changed?
Piseth, hover the mouse around the bottom and if the cursor changes.
7/10/2009 7:34 PM | # re: Silverlight 3 Released! What is new/changed?
John/Piseth -- please note that the design view may not work. It should have been fully disabled rather than hidden and I'm investigating why it wasn't :-)
7/10/2009 10:24 PM | # re: Silverlight 3 Released! What is new/changed?
Thanks Tim. I should note that after I open the view, I can can't fully close it. And it's obviously still there anyway because when opening a XAML file, I still get the few second delay while it renders the design view. That, I won't miss.
7/10/2009 11:51 PM | # re: Silverlight 3 Released! What is new/changed?
Regarding the ClientHttp network stack, I'm having an issue. When accessing our RESTful services, I get the following exception: "The remote server returned an error: Not found." Upon further investigation, I found that this does NOT occur when accessing one of our services that does not require authentication. For those that require authentication, it fails. Since Credentials is not implemented, how else can I pass in the credentials? When using the BrowserHttp stack, the browser automatically pops up the login dialog.
Gravatar
7/11/2009 1:30 AM | # re: Silverlight 3 Released! What is new/changed?
Congratulations and thanks to Silverlight team for delivering the much needed, much requested features in SL3. This I think marks the first LOB ready development platform since inception in 2007.

There is one thing though. The penetration of SL3 run-time to end users is quite low and shallow. It would be awesome if Microsoft could put SL3 run-time as a recommended download in Windows Update asap. And developers should help push this great technology to their users. After all, it is only 4MB.

Thank you
7/11/2009 3:52 AM | # re: Silverlight 3 Released! What is new/changed?
Migrating my projects to RTW was more complicated than I expected due to the various changes in the way Microsoft.Expression.Interactivity.dll (from Blend 2.5 -> Blend 3 SDK) is used.

I think a blog post on how to migrate would help others as it's not initially obvious. Especially as the DLL has moved plus there are slight name changes and new name spaces.
7/11/2009 6:17 AM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim,

great help on how to change the check for updates. Unfortunately it does not work for me. I already had problems with the beta and hoped for it to work in the final version.
I use a very simple demo application where I only change the background in order to get an update. But the event handler for the CheckAndDownloadUpdatesCompleted event is never called.
I host the application in the standard website of an IIS7.0 on Vista Enterprise 64bit.

Any help would be appreciated.
Klemens
7/11/2009 6:38 AM | # re: Silverlight 3 Released! What is new/changed?
Tim,

There are problems with two of your links. The link to .NET RIA Services takes you to a download page that says the July download is 5.7MB but then when you select "Download" for it identifies itself as being a 4.12MB msi file and this is the "broken" version according to the .NET RIA Services forums (it fails to install because it complains the Silverlight 3 BETA SDK is missing and doesn't work with the RTW version.) Sure enough I'm getting the "beta" error message every time I try and run that msi, despite installing on a PC that has never had any beta version installed and has only installed the software versions mentioned in your links.

This problem is documented here:
http://silverlight.net/forums/t/108314.aspx

However, the link posted in the "solution" to the oft-reported problem gives the same "incorrect" 4.12MB download as yours does. Although that page says it is the 5.7MB version it isn't. Every time I click "Download" I'm told I'm going to get the (old) 4.12 MB version and this will not install with the RTW version of the SDK :-(

Secondly, your Deep Zoom link takes the user to the Expression site and there is no download link for Deep Zoom Composer on that page. The link required is this one:

www.microsoft.com/.../details.aspx
7/11/2009 7:08 AM | # re: Silverlight 3 Released! What is new/changed?
UPDATE: And on the fourth attempt suddenly the same link started showing me the 5.7MB version. Seems there is some weird server-side caching of the old version going on here (I tried two different PCs and an hour ago both were getting the old 4.12MB version). Did someone fix something in the last half hour?
7/11/2009 8:12 AM | # re: Silverlight 3 Released! What is new/changed?
Neo - it will be on Microsoft Update within the week is the plan.

Klemens - if you have a link for me to test I can take a look. The API is only available in OOB situations.

Ian - I think the RIA services bits were just propogating -- the link delivers the appropriate bits from my home connection. I'll check on the DZC -- it is supposed to be at that link.


7/11/2009 6:57 PM | # re: Silverlight 3 Released! What is new/changed?
Tim,
Congratulations and thanks to Silverlight team for delivering Silverlight 3.
I was hoping for the implementation of Credentials. Are you planning to provide any tutorial how to use authentication using .net RIA services?
Thanks again
7/11/2009 6:59 PM | # re: Silverlight 3 Released! What is new/changed?
Rachida - the updated 'Business Application' template that ships with RIA Services has authentication built into it. I also recorded a simple walk through where you can see how to use the RiaContext to check authentication as well.
7/11/2009 7:46 PM | # re: Silverlight 3 Released! What is new/changed?
Thanks so much for your fast response. I'm looking at the video tutorial right now:
silverlight.net/learn/learnvideo.aspx?video=245417.

Sorry about this, I was not aware that you already posted it.
Thanks for your excellent service.
Rachida
7/11/2009 8:23 PM | # re: Silverlight 3 Released! What is new/changed?
Just curious...who came up with "Blurb" for the out-of-browser description? When I saw that in the beta I figured it was a joke and would never make it into production. My non-programmer girlfriend burst out laughing when I was telling her about it. It's cute and a bit humorous I guess, but also a bit odd. Any insight into why "blurb"? Thx.
7/11/2009 9:56 PM | # re: Silverlight 3 Released! What is new/changed?
Try creating a simple htm page on your server and turn off anonymous access. Try an HttpRequest with BrowseHttp and you'll get prompted for credentials. Makes sense. Change it to ClientHttp and you get no credentials (which also makes sense since it's not using the browser stack) but your call should fail with a NotFound exception. Surely this scenario was tested? If not, this is a good reason why this release of SL maybe should have been an RC or another beta and not RTM, since there were new features added since the beta release. That way we could have tested some of the new features. I hope I'm wrong here and I'm just doing something stupid.
7/11/2009 11:43 PM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim,

I am glad to see Silverlight to grow that much. I started working with flex and then switched to silverlight an year back. However, at that time everybody felt that as if with cloud computing at the back, the traditional static html based websites would be replaced with this new plugin (flash, silverlight) system but unfortunately that did not turn out to be the case.

The job market still demands the skills of jquery, some server side scripting like php or asp.net and html and css. I would like to see a shift in that trend but unfortunately nothing substantial has happened in that direction.

And with HTML 5 on the block, I think the trend is going to shift in favor of HTML 5 because of its conformance to standards and the market penetration.

The biggest issue with the silverlight browser plugin is cross platform compatibility issues and the backward compatibility issues. The support of previous versions is very poor as compared to Flash. I have seen people trying to revamp their applications using silverlight and giving up half way through because of these problems.

The other problem is with choosing good software design and upgrading skills and to cope up with the server side enhancements. I worked on linq to sql but later on there was astoria (ado.net data services) and now there is something called ria services to create applications with rich user experience.

The third party controls for flex are mostly opensource and freely available which is not the case with silverlight and thus sometimes you dont have much options than looking for other alternatives when it comes to cost and time.
7/12/2009 5:32 AM | # re: Silverlight 3 Released! What is new/changed?
At last I found the answer where my Design view disappeared...but can you please suggest me the next best option where I can see my page design...if I can't afford Blend 3, or do I need to wait for VS2010 or you are releasing some kind of patch for VS2008 SP1?
7/12/2009 9:27 AM | # re: Silverlight 3 Released! What is new/changed?
Freaky - Thanks for the feedback. I look forward to seeing HTML5 evolve myself, but the fact is it isn't rapidly evolving and although people point to cool things like <video> tags -- there is no discussion about standards of things like codecs, etc. -- just one example.

Silverlight *is* cross-platform and cross-browser. If you're seeing an issue where it isn't, please be specific. Our plugin goals are always to remain backward compatible. If we missed an area, it isn't intentional and please report it so we can fix. But Silverlight 1.0, 2 apps should run under Silverlight 3 unchanged -- that is our goal. Again, if you have specifics, I'm open to seeing them.

You should look at RIA Services. Your skills in LINQ and Astoria are not lost as these are the underlying technologies. In fact, your domain service can directly be an ADO.NET Data Service (Astoria).

Controls -- have you looked at the Silverlight Toolkit, a completely open-source library of controls provided *by Microsoft*? What about AgGrid (open source and free from DevExpress)? What about the Silverlight Extensions (formerly SilverlightContrib) project? What about VisiFire, a complete charting library? All open source and free. Are there commercial ones? Sure, some vendors have permium controls for which they charge for...and they are great -- but look at http://tinyurl.com/slcontrols for the commercial and free ones.
7/12/2009 9:28 AM | # re: Silverlight 3 Released! What is new/changed?
Brij - there will not be a patch for VS2008. It has always been a read-only surface anyway with no intentions of an editable design surface. Blend is the truly best UI editing surface. You can also look at KaXaml as a free tool.
7/12/2009 9:39 AM | # re: Silverlight 3 Released! What is new/changed?
We are really, really pleased to see the ClientHTTP features! We have plans for it :)

John and JC have already raised some questions about credentials, etc., and when the dust settles a bit, would you comment in more detail?
7/12/2009 10:09 AM | # re: Silverlight 3 Released! What is new/changed?
mark.mymonster.nl/.../silverlight-3-did-we-get-...

Mark has checked out ClientHTTP; looks like WebClient and WebRequest Credentials aren't available quite yet. What to do?
7/12/2009 10:12 AM | # re: Silverlight 3 Released! What is new/changed?
Thanks Tim, KaXaml is really a good tool, BTW, can you post some simple solution of using Validation in Silverlight 3, because most of the places I have found Validations are handled in Business Entities Layer, but my Entities are autogenerated from WSSF as DataContract and EntityModels(edmx), so its difficult for me to change the design approach now. Is there is any simple way to Handle the validation in client end. It would be great if you can post some example in your blog. I am really excited to use SL3 in our Apps I have to start migrating my Applications from SL2 to SL3 from tomorrow. I hope this SL3 will make my job simple as compared to SL2.

Many Thanks
Brij
7/12/2009 10:50 AM | # re: Silverlight 3 Released! What is new/changed?
Nicholas -- no Authorization header modification in SL3 still. Credential support for WCF is in SL3.

Brij -- see if this helps in the short-term: wildermuth.com/.../More_Validation_Fun_-_But_No...
7/12/2009 4:49 PM | # re: Silverlight 3 Released! What is new/changed?
That will do the trick quite well. This was a great release! And it wasn't that long ago that SL2 came out. Thanks!
Gravatar
7/12/2009 8:35 PM | # re: Silverlight 3 Released! What is new/changed?
congratulations to you and the whole SL team. excellent work. Keep it up.
7/13/2009 1:42 AM | # re: Silverlight 3 Released! What is new/changed?
Congrats on the release. Now, I'm intrigued about the client stack. I wonder if you guys will support wsHttpBinding when connecting to WCF services at some point? :)
7/13/2009 1:44 AM | # re: Silverlight 3 Released! What is new/changed?
Thanks for that Tim, the changes info is really helpful.

Shame there's no PixelShader.SetStreamSource api though...I had some useful ( or gimmicky ) applications for this.

Andrew.
7/13/2009 1:53 AM | # re: Silverlight 3 Released! What is new/changed?
Congratulations on the release, Tim.

One quick question: will I still be able to work on SL2 projects after installing the SL 3 dev tools for Visual Studio 2008? I have existing SL2 projects that won't be upgraded right away. Couldn't find any information on this anywhere, but I know it was a one-way-street for the Beta, so maybe that has changed for RTW? Thanks.
7/13/2009 1:56 AM | # re: Silverlight 3 Released! What is new/changed?
Oh well, never mind, Tim. Found the info in the release notes: download.microsoft.com/.../...0Release%20Notes.htm

Short answer: no multi-targeting of SL projects in VS 2008 for the time being. Too bad.
7/13/2009 6:18 AM | # re: Silverlight 3 Released! What is new/changed?
Thanks for a great post Tim. It saved me a lot of time that I would have spent searching.

One question about Assembly Caching that you and ScottGu both talk about, without saying how to implement, is how to cache our own assemblies. I have seen with SL3 RTW that the absolute URLs to MS have been replaced by local zip files for most of the Microsoft Assemblies and the app manifest. So the source of assemblies is now local instead of the Microsoft site. How do we opt our own assemblies into this mechanism?

Thanks again.
7/13/2009 7:05 AM | # re: Silverlight 3 Released! What is new/changed?
I LOVE the inbuilt support for browser zooming. Such a little thing, but makes such a HUGE difference for useability.

Now, all I need to do is re-create our corporate logo bitmap-based images as vector based images......
7/13/2009 8:55 AM | # re: Silverlight 3 Released! What is new/changed?
Problem solved - I got our design guy to give me a PSD file of our logo. Used Expression Blend 3 to import the PSD file into a new user control, set the stretch property on the image control Blend creates, put that on my app form, bingo. Scaleable logo!
7/13/2009 12:11 PM | # Hard to debug problem if Beta OOB settings were used
Tim,

Regarding the change way in which the Out-of-browser settings are now defined in Silverlight 3, developers should be aware that if they used the old AppManifest.xml settings for OOB (i.e., the <Deployment.ApplicationIdentity> element) then Silverlight will not load the XAP at all. This happended to me, and it took me 3 days since the launch on Friday to track down the cause and get my XAP to finally load into Silverlight 3 RTW. It was a very frustrating experience, and I hope that if we get the word out that it won't happend to anyone else.

FYI, here is what my AppManifest.xml file looked like before I removed the <Deployment.ApplicationIdentity> element. I'll bet that if you paste this into any SL3 project, the XAP will not load.

<Deployment
xmlns="schemas.microsoft.com/client/2007/deployment"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<Deployment.Parts />

<Deployment.ApplicationIdentity>
<ApplicationIdentity Title="YinYangMoney">
</ApplicationIdentity>
</Deployment.ApplicationIdentity>
</Deployment>


Thanks,
Jim
7/13/2009 12:29 PM | # re: Silverlight 3 Released! What is new/changed?
Jim -- yep, see above at timheuer.com/.../...d-what-is-new-and-changed.aspx where I have a tool that will convert for you.
7/13/2009 1:22 PM | # re: Silverlight 3 Released! What is new/changed?
Tim,

I had used the tool, and it creates the new OutOfBrowserSettings.xml file, but it does not remove the old <Deployment.ApplicationIdentity> element from AppManifest.xml file. And there is no build error indicating that the old element will cause a problem. So if you do not know enough to remove the element by hand, the XAP will not load, leaving you to scratch your head and wonder why.

Jim
7/14/2009 6:00 AM | # re: Silverlight 3 Released! What is new/changed?
Am I the only one who has a problem with Browser Zooming support? It doesn't work for me when a childwindow is shown. In addition when I close childwindow the annimation is a little bit strange :(.
7/14/2009 8:19 AM | # re: Silverlight 3 Released! What is new/changed?
I am trying to display an image in a dataform - all worked well in the beta using a grid in a DataTemplate in a DisplayTemplate binding the image source to the database field but datacontrols:DataField returns an error 'Unknown Content' and a DataTemplate in an Edit Template returns an unpopulated dataform whether binding to an element or the data context
How do I display an image in a dataform in the RC?
7/14/2009 8:49 AM | # re: Silverlight 3 Released! What is new/changed?
jakb -- can you provide a snippet of your dataform XAML? and is the datacontext image a URL reference?
7/14/2009 9:34 AM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim
Thanks for the quick comeback - I have a file in the silverlight app called PIX containing all the images and the Photo field in the SQL 2008 db contains uri ref like so: the form is so: ../PIX/cape_23.jpg - the df that used to work well in beta was this:
<df:DataForm x:Name="dfPix" Margin="20" Height="400" Width="300" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="Stamp Image"
ItemsSource="{Binding Data, ElementName=dds}">
<df:DataForm.Effect>
<DropShadowEffect Color="DarkOliveGreen" ShadowDepth="10" />
</df:DataForm.Effect>

<df:DataForm.DisplayTemplate>
<DataTemplate>
<Grid>
<Image Source="{Binding Photo}" />
</Grid>
</DataTemplate>
</df:DataForm.DisplayTemplate>
</df:DataForm>
and the new df looks like this:
<dataControls:DataForm x:Name="dfPix" Margin="20" Height="400" Width="300" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Header="Stamp Image"
ItemsSource="{Binding Data, ElementName=gridStamps}">
<dataControls:DataForm.EditTemplate>
<DataTemplate>
<Grid>
<Image Source="{Binding Path Photo}" />
</Grid>
</DataTemplate>
</dataControls:DataForm.EditTemplate>
</dataControls:DataForm>
I will much appreciate any help because the images are mission critical...
7/14/2009 12:26 PM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim,

Does the new httpClient stack indicate the future possibility of having Sync network connections? I hope so... I know the purists out there don't like it and say its much better to have only Async but quiet frankly this makes development just so much more complicated.

So I hope that you guys will consider to have this in the future.

Regards,
Shloma
7/14/2009 12:58 PM | # re: Silverlight 3 Released! What is new/changed?
Shloma -- synchronous connections would lock up the browser UI and make the end user think that the browser is 'not responding' -- that's not what we want to happen :-)
7/14/2009 3:05 PM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim,
Thanks for the fast delivery of the final release. Our project will starts now with SL3 instead of SL2.
I lost also more than one day to port the SL3 Beta project to SL3 RTW due to the old AppManifest.xml entries for the Out of Browser support...
It's a pity, that DependencyObjects still cannot have Bindings, so all the Behaviors and Triggers of the System.Windows.Interactivity namespace cannot use Bindings:(
Nice to see the VirtualizingPanel, unfortunately not compatible with the WPF... e.g. InternalChildren is missing.
However, good work!

hotsnow
7/15/2009 7:28 AM | # re: Silverlight 3 Released! What is new/changed?
Tim,

With out of the browser, is it possible to pass startup parameters to the app? In my web based app I trigger a Spanish version based on a GET of the url. I would like to be able to do something similar for the offline version.
7/15/2009 10:07 AM | # re: Silverlight 3 Released! What is new/changed?
Tim,

Great release!

The first thing that jumped out of the screen upon moving our site to SL3 RC was the great improvement of text rendering of light-colored text on dark surface.

The hardware acceleration was great under IE8 but unfortunately we had to take it out due to complaints from users with firefox (3 and 3.5). The problem only appeared after 20 or 30 or 40 page changes. At that point firefox would slow down to a crawl. When hardware acceleration was turned off, the problem disappeared. There were only 3 or 4 cached items in the xaml -- possibly they were too large?

I would love not to have to make a choice between out-of-browser or cached assemblies. Do you think we can have both options turned in future releases?

Nice work!

Bruce
Gravatar
7/15/2009 5:39 PM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim, I followed your July video on RIA Silverlight 3. Cool stuff. This might be the first framework of this type that I actually use in LOB apps.

You prefer to use declaratives; I prefer to use codebehind-probably mostly due to handling lots of dynamically-created controls. I was trying to reproduce the DataPager capability in your sample but could not get it to work. I don't understand how the DataPager.Source would control what is bound via the grid.ItemsSource setting (and my confusion here is probably exactly it doesn't work.) Would you be able to throw to gether the couple line example that would do this in codebehind?

Thanks.
7/16/2009 3:21 AM | # re: Silverlight 3 Released! What is new/changed?
Is there is a way in Dataform to specify the control (Custom control instead of Silverlight textbox control for a string property) of my choice, that would be created dynamically for each of the property?
7/16/2009 2:20 PM | # re: Silverlight 3 Released! What is new/changed?
Tim McCurdy your my frikin HERO!
Gravatar
7/18/2009 7:19 PM | # re: Silverlight 3 Released! What is new/changed?
I'm very frustrated that you guys disabled the designer. As a beginner who has been waiting for the LOB side of Silverlight (needed an excuse to try this at work) I'm very turned off. I feel like I'm trying to play Halo using a Zork interface. I guess I can try and simul-design with WPF or just keep hitting F5 over and over to make sure my layouts are working. Plus our MSDN licenses are Pro, so no Expression. It's like MS doesn't want entry level developers to use this at all.
7/18/2009 10:03 PM | # re: Silverlight 3 Released! What is new/changed?
Jay -- thanks for the feedback...we've been getting some mixed feelings. Our early adopters and advisory council feedback we received (which included advanced and beginner developers) was overwhelming that the design surface was not helpful because it was read only and that it wouldn't even render as the use of different development patterns and data contexts were used. It was a trade-off of making those investments now in making the read-only surface work and delaying some things -- or making the investments in the tooling for VS2010 for a full editing experience.

Also, it's still there, just hidden really. Grab the 1pixel border on the bottom of the editor and drag it up. Keep in mind that it may not render everything in your projects.
Gravatar
7/19/2009 6:58 AM | # re: Silverlight 3 Released! What is new/changed?
I saw that I could just expand it and click "Reload Designer", and you are correct, it doesn't display the things I'm trying to use from the Business Application. I'm actually getting an error because VS can't find Controls.Input and Controls.Data.

Thanks for the quick reply!
7/21/2009 1:30 PM | # re: Silverlight 3 Released! What is new/changed?
hi Tim when will be the german language package for Silverlight's 3 available
7/22/2009 3:42 PM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim, Have been working on SL3 Beta on a live project for the past 6 months and am very excited about the direction that this brings for web applications and their developers. Flash was interesting but was designed for artists and ended up becoming a marketing tool instead of a serious RIA IDE. It looks like Silverlight is answering that need in a big albeit long overdue way.

Having said that, HELP! I’m drownin’ here!!! Oddly enough, the Beta platform is/was amazingly stable however, trying to install the RTW, am running into brick firewalls (yeah, your incredible and hard work is being undermined by outsource dolts I assume were hired to do the install program.) Downloading the basic install is no problem but when run, it bombs out on what appears to be a blocked secondary connection. The error codes/messages that are getting kicked out are (for instance):

- WinHttpDetectAutoProxyConfigUrl failed with error: 12180
- Signature verification for file C:\****\*****\*****\TMP97.tmp failed with error 0x800b0100
- Installation failed with error code: (0x80091007), the hash value is not correct

I, and many other forum trolls, have tried dozens of different approaches to getting around this issue but to no avail. I am hoping that you might have a better answer then “Well it works on my machine!!!”.

This of course comes at a ridiculously bad time as we were getting ready to release the app to a small set of test users. Taking down our firewall is not an option but am hoping that you may have made an .msi with the full install available somewhere.

Thanks so much and can’t wait to see SL4 :). (Real 3D quaternion manipulation ala Kit3D maybe???)
7/22/2009 5:19 PM | # re: Silverlight 3 Released! What is new/changed?
mbrookfield - Grab the developer runtime and the tools and follow the instructions here:

timheuer.com/.../...silverlight-2-rc0-offline.aspx
7/24/2009 12:51 AM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim,

It seems there is a serious problem with SL3 RTW in regard to playing streams hosted on a Windows Media Server (mms uri), if those streams contain a Script Stream (scripts that are *not* moved to the header).

SL3 buffers the stream, plays it briefly, then buffers again. It repeats this blocking behaviour untill the end of the stream is reached.

I've confirmed that this is 100% reproducable across all versions of Windows, as well as on the Mac, with different files, codecs, bitrates and servers/sources.
It happens for both live and on demand streams.
All streams play fine in Windows Media Player and Silverlight 1.0, 2.0 and SL3 preview.

Please fix this!
7/24/2009 1:44 PM | # re: Silverlight 3 Released! What is new/changed?
Marcel -- we've got a few reports of this and are looking into the issue and a fix. Thanks for the additional report.
7/24/2009 4:21 PM | # re: Silverlight 3 Released! What is new/changed?
Thanks for the response Tim. I'm glad it's on your radar. I'm stung pretty badly by this one. I'm hosting thousands of webcasts and dozens are being added every week, and suddenly i'm without a working solution for non IE browsers (altho Linux/Moonlight works). I can only hope my users haven't upgraded yet, while I try to figure out what to do next.
So I gotta ask, do you see this as a high priority issue and have you any idea of a timeframe in which a fix might be available? If you can't do a quick update of SL3 itself, perhaps something can be done with an alternate parser we could temporarily include in projects?
7/26/2009 2:39 PM | # re: Silverlight 3 Released! What is new/changed?
Tim, where can I take all the html object parametes of Silverlight?
7/26/2009 8:02 PM | # re: Silverlight 3 Released! What is new/changed?
7/27/2009 7:14 PM | # re: Silverlight 3 Released! What is new/changed?
Cool. Thank's a lot. Very Helpful.
7/28/2009 10:26 AM | # re: Silverlight 3 Released! What is new/changed?
Hi Tim,
Was able to get SL3 installed on a VM as per your instructions but still no luck installing on main development machine. Still getting the same errors as previously stated:

- WinHttpDetectAutoProxyConfigUrl failed with error: 12180
- Signature verification for file C:\****\*****\*****\TMP97.tmp failed with error 0x800b0100
- Installation failed with error code: (0x80091007), the hash value is not correct
7/28/2009 10:43 AM | # re: Silverlight 3 Released! What is new/changed?
Never Mind. Had the wrong version of the Developer Runtime. Note to other folks having issues getting this installed, the correct Developer Runtime in located @: silverlight.dlservice.microsoft.com/.../...per.exe
7/28/2009 10:44 AM | # re: Silverlight 3 Released! What is new/changed?
mbrookfield -- that error indicates that the dev runtime wasn't there. Sounds like you are behind a proxy. Make sure you download the tools *and* the dev runtime and follow the offline instructions as posted here timheuer.com/.../...silverlight-2-rc0-offline.aspx
7/28/2009 10:45 AM | # re: Silverlight 3 Released! What is new/changed?
mbrookfield - the SL3 dev runtime is here http://go.microsoft.com/fwlink/?LinkID=150228 (as indicated in the links above)
7/28/2009 11:52 AM | # re: Silverlight 3 Released! What is new/changed?
Marcel (and others) -- new release available for fixing media issue (3.0.40723.0) -- same download links will deliver new bits.
7/30/2009 2:10 AM | # re: Silverlight 3 Released! What is new/changed?
Just wanted to add my $.02 and say please do not permanently remove the display pane... just leave it disabled with the option to enable, I would like to have it available.
8/12/2009 4:56 PM | # re: Silverlight 3 Released! What is new/changed?
Hey Tim,
Not sure how to ask this, I’m sure you could help, I’ll do my best to keep it short. I’m trying to figure out why my Netflix is working differently now. When I download movies from my Instant Movie Quarim I can only watch one minute at a time of the movie and it takes about 3 minutes to “adjust playback”.
I remember at one time it would take half an hour to watch 20 minutes, than it went to 12 or so minutes for 5minutes of play time. I don’t remember Silverlight being the “applicator” that helps Netflixs in the past, as I just now RE-joined Netlicks after 4 months and was wondering if Silverlight is new to Netflix and what I need to do so I can watch more of the movie instead of waiting? Thank you for your time Dee
11/27/2009 6:57 AM | # re: Silverlight 3 Released! What is new/changed?
Hi All,

I have used expression blend3 asset's mediaplayer and have assigned in xaml file the source of playlist which is an .asx file containing some 3 clips, on execution it works fine.

But this is not dynamic, I need to have this player load an .asx file that is generated dynamically by an outside script using a javascript (which is on the page where the silverlight object is loaded) that can load the playlist source. Can anyone please specify a right link/blog/or suggest how to achieve above. I have scene many and i am bit confused on achieving this.

Thanks
Regards
Leelu
3/21/2010 8:19 AM | # re: Silverlight 3 Released! What is new/changed?
Dear Tim,

I've created a new Silverlight 3 Business Application with VS 2008. The creation has completed correctly. When I try to open the xaml, it opens but in the meanwhile this error is shown:

Failed to load metadata assembly System.Windows.Controls.Data.Input.Design, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace:
at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)An exception of type ArgumentNullException was caught when calling IRegisterMetadata on type System.Windows.Controls.Data.Input.VisualStudio.Design.MetadataRegistration. Exception Message: Value cannot be null. Parameter name: type. Stack Trace: at Microsoft.Windows.Design.Metadata.AttributeTableBuilder.AddCallback(Type type, AttributeCallback callback)
at System.Windows.Controls.Data.Input.VisualStudio.Design.MetadataRegistration.AddAttributes(AttributeTableBuilder builder) at System.Windows.Controls.Design.Common.MetadataRegistrationBase.BuildAttributeTable() at System.Windows.Controls.Data.Input.VisualStudio.Design.MetadataRegistration.Register() at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to load metadata assembly System.Windows.Controls.Design, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace:
at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)Failed to load metadata assembly System.Windows.Controls.Navigation.Design, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35. Exception message: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.. Stack Trace:
at System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at MS.Internal.Package.MetadataLoader.RegisterDesignTimeMetadata(Assembly assembly, LogCallback logger)

Why? Any solutions? Thank you in advance. Best Regards.
7/15/2010 10:48 PM | # re: Silverlight 3 Released! What is new/changed?
I installed this rubbish..........can think of a better word but it would not be published. Now I have no preview facility on my [right click] menu which enabled me to preview pictures. Seems Silverlight......HA! wouldn't work with it. Trouble is when one removes Silverlight one does not get the preview back. Just another indication of how MS has no idea how to programme!
1/5/2011 11:38 PM | # re: Silverlight 3 Released! What is new/changed?
The changes and additional features seems to promising and solving the bugs of the previous releases. truck body
4/18/2011 2:42 PM | # re: Silverlight 3 Released! What is new/changed?
Cool, I just read about the new Silverlight update and how to use it, while working on my fähren kreuzfahrt site and found some nice solutions that will be very helpful. Thanks tim

 
Please add 7 and 7 and type the answer here:

DISCLAIMER:

The opinions/content expressed on this blog are provided "ASIS" with no warranties and are my own personal opinions/content (unless otherwise noted) and do not represent my employer's view in any way.