Welcome to MSDN Blogs Sign in | Join | Help

New animation API for Silverlight (Easing Functions)

Easing functions allow you to apply custom mathematical formulas to your animations. For example, you may want an object to realistically bounce or behave as though it were on a spring. You could use Key-Frame or even From/To/By animations to approximate these effects but it would take a significant amount of work and the animation would be less accurate than using a mathematical formula.

Currently, there are 11 new easing functions that you can apply to your animations. You can apply these using Blend 3 beta or you can use XAML or procedural code.

To show you the code way of working with these new functions, here's a relatively crude sample that introduces each of the new easing functions and allows you to change their properties: Easing Function Sample.

Also, I added a section on easing functions in the Animation Overview with some code examples and further explanation.

Posted by snoutholder | 2 Comments

Silverlight Video Player with Source Code

Here's a link to a silverlight video player with all the basic features like progress/seek slider, full screen toggle, play/pause/resume, etc. The player is meant to be relatively simple while still sporting the basic features you'd expect in a video player. Thanks to Nick Kramer (project manager at Microsoft) for creating this player.

A few notes:
- This code is targeted at Silverlight 3 Beta. For example, it uses CacheMode property to improve performance of stretching video.
- All the code is in MainPage.xaml & MainPage.xaml.cs, the other files are pure VS defaults
- Tim Heuer started 2 versions of the SL2VideoPlayer on CodePlex (http://sl2videoplayer.codeplex.com) -- one is *very* full featured (captions, markers, etc.) -- while there also is a fork called 'min' which does exactly what this one does here.
- Known limitations -- no adaptive streaming, not common to all sites.  Minimal keyboard support (you can actually tab around but there's no focus rects), minimal accessibility support.

Posted by snoutholder | 4 Comments

Silverlight Installation Experience whitepaper and sample code released

The Silverlight project templates in Visual Studio and other tools (such as Expression Blend) provide a default experience for users who do not have Silverlight installed. However, the current default experience is not very enticing:

clip_image001

Unless you modify the default experience, this image appears in place of your application for all users who do not have Silverlight installed. Unfortunately, many users will simply ignore this bare-bones request to install Silverlight, since it looks like an ad, and tells them nothing about what they will get if they install.

In almost all cases, you should provide a customized experience for users who need to install or upgrade. For example, you could indicate that installing Silverlight is quick and easy, and you could provide a screenshot of your application so that users can see what they will get.

However, there are some complexities involved if you want to create an experience that is as smooth as possible for all potential users. Specifically, there are several states that you should detect using JavaScript in order to respond appropriately. For example, you should indicate that users who are upgrading will need to restart their browsers, while users who are installing will need to refresh the page. Additionally, you should provide a different message for users on unsupported platforms and browsers.

Fortunately, the Silverlight product team has been thinking about ways to make this customization as easy as possible, and they have released their current guidance in the Silverlight Installation Experience White Paper and Sample Code.

The sample code includes HTML templates that you can modify in order to create a custom install experience with very little effort. These templates provide a preview of the default install experience that will be available in future releases of the Silverlight project templates for tools such as Visual Studio.

The HTML templates are lightweight and easy to localize, and are fully compatible with the existing Silverlight.js support file. Additionally, they provide JavaScript code that detects the browser size and modifies the experience in order to fit multiple form factors. The generic Web application template provides the following experience for full-size browser windows:

clip_image002

Of course, the whitepaper also provides complete guidance on customizing every aspect of the installation and upgrade experience. This is the preferred approach in order to create a fully-branded experience that transitions users seamlessly from the Silverlight installation to your running application.

Posted by Karl Erickson | 1 Comments
Filed under: ,

Peeps love Silverlight too!

Okay—this entry is strictly for laughs so I apologize to anyone expecting some code examples or useful tips or tricks. Yesterday, my coworker Margaret and I took 2nd place in a little Peeps art contest held here at work. I thought you might enjoy pictures of our 2nd place entry, “Peeps Developers Conference”.

This first picture shows the crowd watching the keynote and a second shot of Scott Peepsrie giving his keynote talk.

PIC-0032    IMG_3575_JPG

And finally, a couple shots of the crowd…

 

 

 

IMG_3576_JPG IMG_3577_JPG

Now back to our regular programming (pun intended).

--Cheryl

Posted by cherylws | 2 Comments
Filed under:

Search problems with the Silverlight 3 beta documentation

If you have used the Silverlight 3 beta documentation on MSDN, you might have noticed that none of the new topics or APIs appear in search results, regardless of whether you are searching with MSDN or another search engine. This is intentional - none of the Silverlight 3 beta documentation has been indexed for search, and it will not be indexed until the official Silverlight 3 RTW release. Therefore, the only way to get to the beta documentation on MSDN is to navigate to it in the table of contents.

 

The reason we are doing this is because we want to avoid confusing users who are developing for Silverlight 2 only. We do not currently indicate which Silverlight version is supported by each API for the simple reason that each new version effectively replaces the previous version. If you are in a Silverlight 3 beta topic, we assume that you got there intentionally and that you won't mistake it for a Silverlight 2 topic (although there is also some boilerplate at the top of each beta topic indicating that it is pre-release).

 

Unfortunately, the lack of Silverlight 3 documentation in search results can create the impression that the documentation does not exist, or that there is a bug preventing the expected behavior. Of course, much of the Silverlight 3 documentation is still under development, but you should be able to find many conceptual topics, and at least brief summaries for almost all of the reference topics.

 

If you are a heavy search user, I recommend that you download the CHM of the beta documentation instead of using MSDN. The CHM search works as expected. For more information on the CHM, see the following blog post: http://blogs.msdn.com/silverlight_sdk/archive/2009/03/18/silverlight-3-beta-offline-msdn-docs-chm-is-available.aspx

 

For information on the topics we have released with the Silverlight 3 beta, see the following blog post: http://blogs.msdn.com/silverlight_sdk/archive/2009/03/18/silverlight-3-beta-released.aspx. We are also planning to release preview versions of additional topics on this blog, so you won't have to wait for the RTW release for some of the remaining documentation. Of course, there are many other blogs that cover new SL3 features, so a general Web search should also help you if you want to explore some of the features that we haven't covered yet.

 

 

Posted by Karl Erickson | 1 Comments
Filed under:

Drop shadow and blur effects in Silverlight 3 Beta

You can add drop shadows or blur effects to your objects very easily in Silverlight 3 Beta. Check out DropShadowEffect and BlurEffect. In these API reference there is code showing how to create the effects using XAML or proceedural code as well as a simple animation sample for each. I particularly like the dropshadow effect in that it's easy to control the direction, depth, and shade of the shadow cast. 

Posted by snoutholder | 1 Comments

Silverlight Toolkit themes make it easy to create apps with a designer look

I’ve gotten some feedback from customers that they have pressure from their management to create Silverlight apps that look very visually appealing, but these customers, who are primarily developers, lack the tools, design skills or time to put together these kinds of applications. Let me recommend the themes that ship as part of the Silverlight Toolkit as a solution to this problem. I am really impressed with how great these themes look and most importantly, how easy they are to use.

The first step is to install the latest version of the Toolkit from here.

There are Silverlight 3 Beta and Silverlight 2 versions of the toolkit, so make sure you grab the right one. The examples I show were created with the Silverlight 3 Beta.

Once you’ve got the Toolkit installed, create a new Silverlight project with Visual Studio. Then drag a theme from the Toolbox to the XAML editing surface and VS takes care of the assembly references and xml namespace for you. The themes are all in their own assemblies to minimize the download cost to the user. In addition to the assembly for the theme you are using, you’ll get the System.Windows.Controls.Theming.Toolkit assembly, which contains the ImplicitStyleManager (ISM). ISM provides behavior similar to the built-in theming behavior available in WPF.

themes2

Here’s some images of what VS takes care of for you:

theme3 theme4

A theme inherits from ContentControl and so therefore can contain one child. Because of this, you’ll probably add a container control inside the theme tags and any additional controls you need inside of this container. The theme is then applied to all of its contents. It took me all of 5 minutes to put together something that looked like this, and I spent 4 minutes moving around the controls and changing their content.

themes1

Here’s the XAML for the example above:

<UserControl xmlns:shinyBlue="clr-namespace:System.Windows.Controls.Theming;assembly=System.Windows.Controls.Theming.ShinyBlue"

xmlns:bureauBlack="clr-namespace:System.Windows.Controls.Theming;assembly=System.Windows.Controls.Theming.BureauBlack"

xmlns:bubbleCreme="clr-namespace:System.Windows.Controls.Theming;assembly=System.Windows.Controls.Theming.BubbleCreme"

    x:Class="ThemePlay.MainPage"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

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

    Width="400" Height="413">

    <StackPanel x:Name="LayoutRoot" Background="White">

      <bubbleCreme:BubbleCremeTheme>

          <Border BorderThickness="3">

              <StackPanel>

                  <TextBlock Text="BubbleCreme Theme-Now I can read this" />

                  <CheckBox Content="CheckBox" Margin="5"

IsChecked="true" />

                  <Button HorizontalAlignment="Left" Content="Button"

                        Width="150" Margin="5"/>

                  <RadioButton Content="RadioButton" Margin="5" />

                  <TextBox Text="A TextBox" Margin="5"  />

              </StackPanel>

          </Border>

        </bubbleCreme:BubbleCremeTheme>

        <bureauBlack:BureauBlackTheme>

          <Border BorderThickness="3">

              <StackPanel>

                <TextBlock Text="BureauBlack Theme" Margin="5" />

                  <CheckBox Content="CheckBox" Margin="5"

                     IsChecked="true" />

                  <Button HorizontalAlignment="Left"

                     Content="Button" Width="150" Margin="5"/>

                  <RadioButton Content="RadioButton" Margin="5" />

                  <TextBox Text="A TextBox" Margin="5"  />

                </StackPanel>

            </Border>

        </bureauBlack:BureauBlackTheme>

        <shinyBlue:ShinyBlueTheme>

          <Border BorderThickness="3">

              <StackPanel>

                  <TextBlock Text="ShinyBlue Theme" />

                  <CheckBox Content="CheckBox" Margin="5"

                  <Button HorizontalAlignment="Left"

                     Content="Button" Width="150" Margin="5"/>

                  <RadioButton Content="RadioButton" />

                  <TextBox Text="A TextBox" />

              </StackPanel>

          </Border>

        </shinyBlue:ShinyBlueTheme>

    </StackPanel>

</UserControl>

Also, because of the way Silverlight applies property values, you can easily override some of the property settings locally if you don’t like the way things look. For example, I think the TextBlock’s text color is too light in the BubbleCreme theme so I explicitly set the foreground value in XAML.

<bubbleCreme:BubbleCremeTheme>

    <Border BorderThickness="3">

        <StackPanel>

            <TextBlock Foreground="DimGray"

Text="BubbleCreme Theme-Now I can read this" />

            <CheckBox Content="CheckBox" Margin="5" IsChecked="true" />

            <Button HorizontalAlignment="Left"

Content="Button" Width="150" Margin="5"/>

            <RadioButton Content="RadioButton" Margin="5" />

            <TextBox Text="A TextBox" Margin="5"  />

        </StackPanel>

    </Border>

</bubbleCreme:BubbleCremeTheme>

Here’s how my TextBlock looks now:

image

Additionally, you can fully customize a theme using Visual Studio and/or Expression Blend. I am not going to get in to detail on this but Mehdi has a series of blog posts that walk you through customizing themes.

I hope you have as much fun playing around with the themes as I did. Oh, and I hope your boss loves your new professional-looking Silverlight apps.

--Cheryl

The Silverlight Documentation Sample Browser

    The Silverlight 2 documentation includes many live samples. However, you can access these samples only from a topic with a "run this sample" link. The best way to find the samples in the Silverlight 2 documentation is to do a search on "run this sample".

     

    For the Silverlight 3 beta release, we have improved this situation by providing a documentation sample browser. In the SL3 beta documentation, each "run this sample" link opens the sample browser to the appropriate sample and highlights the current sample in a navigation pane. You can then browse to related samples or explore samples in other categories.

     

    Each sample includes one or more links back to the documentation that references the sample. This enables you read the context in which the sample is used. In most cases, you can also read the relevant snippets of the sample source code.  In some cases, you can also download a full Visual Studio project.

     

    Silverlight documentation sample browser

     

    Please note that this is a beta release for both the documentation and the sample browser. We are planning several improvements in the coming months, but for now, you will encounter some rough edges. In particular, the sample browser currently supports Internet Explorer only, although we plan to make it work for all supported browsers by the SL3 RTW release. Additionally, the sample browser will sometimes stop working correctly, but you can get it working again by clicking in the address bar and pressing ENTER.

     

    Comparison to the Silverlight Toolkit Sample Browser

     

    Some of you may be familiar with the Silverlight Toolkit sample browser, which provides several additional features that we will consider for the documentation sample browser.

     

    Silverlight Toolkit sample browser

     

    The documentation sample browser has some special requirements that prevent us from simply leveraging the sample browser code available in the Toolkit source code. In particular, each sample in the Silverlight documentation is a separate application, so the documentation sample browser uses a multi-frame approach rather than the integrated approach used by the Toolkit sample browser. This prevents us from providing a built-in full-screen option (although you can use the browser full-screen mode instead). It also prevents us from providing an out-of-browser experience.

     

    Perhaps most interestingly, the Toolkit sample browser provides an integrated source-code viewer. This is something that we are definitely interested in for the documentation sample browser, but it is low-priority, since the relevant source code for most samples is available in the documentation. In the documentation sample browser, just click a link under Related Documentation, and the relevant topic will open in a new window.

     

    The multi-frame approach used by the documentation sample browser introduces some interesting challenges that require creative solutions. Each frame in the documentation sample browser hosts a separate Silverlight application: one for the navigation pane, one for the sample header, and one for the sample itself. These separate applications communicate with one another through the HTML DOM Bridge and through the Silverlight 3 local messaging feature. As you can perhaps imagine, there are some complexities around load ordering and synchronization. Some of you will be interested in learning about these solutions, so we are planning to release the full source code of the documentation sample browser by the SL3 RTW release.

     

    If you have opinions about various potential features of the documentation sample browser, please send us your feedback. Your comments will help us prioritize our future work so that we can make the sample browser as useful as possible.

     

    Enjoy the samples!

     

     

Posted by Karl Erickson | 4 Comments
Filed under: ,

The Silverlight Advertising Creation Kit

The Silverlight product team has just release some additional material for advertisers: the Silverlight Advertising Creation Kit. This download includes a whitepaper and samples that describe and demonstrate several aspects of creating ads using Silverlight 2, including:

  • Creating Polite Ads
  • Tracking Actions
  • Ad synchronization
  • clickTAG Support
  • Expanding Ads
  • Optimization Techniques

This material is targeted toward designers, and provides step-by-step instructions so that no previous knowledge of Visual Studio, Expression Blend, or Silverlight is required. It supplements the previously-released Silverlight Ad Publishing and Serving Guide.

 

You might also be interested in the following session videos from the recent Mix '09 conference:

Posted by Karl Erickson | 2 Comments
Filed under:

Silverlight 3D Overview

Applying simple 3D effects (a.k.a. perspective transforms) to objects in your Silverlight 3 Beta application is easy. Currently there are no meshes to define, no camera, none of that "3D engine" stuff-- just 12 properties of the PlaneProjection that you define. Granted, without a real 3D engine you probably won't be creating the next WOW in Silverlight anytime soon but you can still create some cool effects without a ton of effort.

Check out the new beta MSDN Silverlight 3D Effects Overview to get started. Yes, there are images, code, and running samples in the overview which is obviously a must when trying to explain 3D.

- Sam

Silverlight + MySpace = WayCool!

Today MySpace announced support for Silverlight on their Open Platform. Yes, you can start leveraging the power of .NET in your MySpace apps. How cool is that? You can get the details here.

You will be able to download an open source MySpace Silverlight SDK on Thursday from CodePlex. Remember, the SDK is not on CodePlex yet, but check back on Thursday.

For more details and some sample code, see this blog post.

--Cheryl

Posted by cherylws | 1 Comments
Filed under:

Silverlight 3 Beta Offline MSDN docs (CHM) is available

You can get the MSDN offline docs here. The CHM is nice if you're offline plus it's faster than the online content, has an index, and only contains Silverlight content.

IMPORTANT! If you open the CHM and cannot view content, do the following to resolve the issue:
- Right-click the CHM file, and then click "Properties".
- Click "Unblock".
- Double-click the .chm file to open the file.

Posted by snoutholder | 2 Comments

Silverlight 3 Beta Bugs

Below is a list of Silverlight 3 Beta bugs you might run into. The plan is for at least most of these to be fixed at some point in the future.

Note: there are only a few bugs listed at the moment. I'll probably post more later.


Removing an Offline Application on a Mac might leave the install in a bad state.
Users can run into this bug by doing the following:
1. User installs an offline application on a Mac.
2. User attempts to uninstall the offline application by right clicking over offline app and choosing "Remove this application"
3. Dialog comes up from Silverlight saying "Are you sure you want to remove the applcation?" and user clicks "Yes".
4. Dialog comes up from operating system to authenticate Admin user name and password and user clicks "Cancel".

At this point, the offline application is in a state where it is difficult to re-install or fully uninstall the offline application.


Computers with chips using SSE1 instructions sets will crash if the Silverlight application is using Pixel Shaders

For Silverlight 3 Beta, Pixel Shaders in Silverlight applications will crash computers that use old processors with SSE1instructions sets. When this bug is fixed, pixel shaders will simply not render for SSE1. 


Cross-domain web-services that don't have a clientaccesspolicy.xml and have a long 404 error response may stop working in SL3 Beta.

The scenario is this:

- Silverlight site does a cross-domain network access (which requests clientaccesspolicy.xml from the server)

- Server does not have a clientaccesspolicy.xml and thus issues a 404 error

- the error page, however, is customized in a way that the response is much larger than the default 404 error page

- due to this long response, we now go down the wrong code path in SL3 and don't request crossdomain.xml

- in Silverlight 2 we do the normal fallback, which is requesting the crossdomain.xml

Net, net, cross-domain web-services that don't have a clientaccesspolicy.xml and have a long 404 error response may stop working in SL3 Beta.

Posted by snoutholder | 5 Comments

Silverlight 3 Beta Released!

A developer-only release of Silverlight 3 Beta has been released.

Check out Welcome to Silverlight 3 Beta. This page gives you links to the Beta runtime, tools, documentation, samples, and summary of what's new in Silverlight 3 Beta.

Also, I'm copying down the "What's new in Silverlight 3 Beta" from that page here so that I can add links to new MSDN topics/API that correspond to some of the new features. See Welcome to Silverlight 3 Beta for the complete list including what's new for Blend 3.

Support for Higher Quality Video & Audio. With support for native H.264/Advanced Audio Coding (AAC) Audio, live and on-demand IIS7 Smooth Streaming, full HD (720p+) playback, and an extensible decoder pipeline, Silverlight 3 brings rich, full-screen, stutter-free media experiences to the desktop. New and enhanced media features in Silverlight 3 include:

  • Live and on-demand true HD (720p+) Smooth Streaming. IIS Media Services (formerly IIS Media Pack), an integrated HTTP media delivery platform, features Smooth Streaming which dynamically detects and seamlessly switches, in real time, the video quality of a media file delivered to Silverlight based on local bandwidth and CPU conditions.
  • More format choice. In addition to native support for VC-1/WMA, Silverlight 3 now offers users native support for MPEG-4-based H.264/AAC Audio, enabling content distributors to deliver high-quality content to a wide variety of computers and devices.
  • True HD playback in full-screen. Leveraging graphics processor unit (GPU) hardware acceleration, Silverlight experiences can now be delivered in true full-screen HD (720p+).
  • Extensible media format support. With the new Raw AV pipeline, Silverlight can easily support a wide variety of third-party codecs. Audio and video can be decoded outside the runtime and rendered in Silverlight, extending format support beyond the native codecs.
  • Industry leading content protection. Silverlight DRM, Powered by PlayReady Content Protection enables protected in-browser experiences using AES encryption or Windows Media DRM.

Empowering Richer Experiences. Silverlight 3 contains new 3D graphics, animation features, hardware accelerated effects and text improvements that enable designers and developers to create next generation Web visuals. Additional features include:

  • Perspective 3D Graphics. Silverlight 3 allows developers and designers to apply content to a 3D plane. Users can rotate or scale live content in space without writing any additional code. Other effects include creating a queue in 3D and transitions.
  • Pixel Shader effects. These software based effects include blur and drop shadow. In addition, you can also write your own effect. Effects can be applied to any graphical content. An example would be to make a button appear depressed on rollover you could use a drop shadow effect on the pressed visual state.
  • Bitmap Caching. Silverlight 3 dramatically improves the rendering performance of applications by allowing users to cache vector content, text and controls into bitmaps. This feature is useful for background content and for content which needs to scale without making changes to its internal appearance.
  • New Bitmap API. With Silverlight 3, developers can now write pixels to a bitmap. Thus, they can build a photo editor to do red eye correction, perform edits on scanned documents or create specials effects for cached bitmaps from elements on the screen.
  • Themed application support. Developers can now theme applications by applying styles to their Silverlight 3 applications and changing them at runtime. Additionally, developers can cascade styles by basing them on each other.
  • Animation Effects (see Easing Functions): Silverlight 3 provides new effects such as spring and bounce. These make animation more natural. Developers can also now develop their own mathematical functions to describe an animation.
  • Enhanced control skinning. Silverlight 3 provides easier skinning capabilities by keeping a common set of controls external from an application. This allows the sharing of styles and control skins between different applications.
  • Improved text rendering & font support. Silverlight 3 allows far more efficient rendering and rapid animation of text. Applications also load faster by enabling the use of local fonts.

Improving Rich Internet Application Productivity. New features include:

  • 60+ controls with source code : Silverlight 3 is packed with over 60 high-quality, fully skinnable and customizable out-of-the-box controls. There are new layout containers such as DockPanel, WrapPanel and Viewbox, and controls such as the AutoCompleteBox, TreeView, Label and Expander that ship in the SDK. You also get support for multi-page applications with navigation. You can download the Silverlight Toolkit to get additional controls; notably several charting controls  as well as nine professional designed themes and the source code that can be modified/recompiled or utilized as-is. Core control additions include more placement options for tooltips,  multiple selection in ListBox controls, and a SaveFileDialog making it easier to write files.
  • Deep Linking. Silverlight 3 includes support for deep linking, which enables bookmarking a page within a RIA.
  • Search Engine Optimization (SEO). Silverlight 3 enables users to solve the SEO-related challenges posed by RIAs. By utilizing business objects on the server, together with ASP.NET controls and site maps, users can automatically mirror database-driven RIA content into HTML that is easily indexed by the leading search engines.
  • Enhanced Data Support Silverlight 3 delivers:
    • Element to Element binding : UI designers use binding between two UI properties to create compelling UI experiences. Silverlight now enables property binding to CLR objects and other UI components via XAML, for instance binding a slider value to the volume control of a media player.
    • Data Forms. The Data Form control provides support for layout of fields, validation, updating and paging through data.
    • New features for data validation which automatically catch incorrect input and warn the user with built-in validation controls.
    • Support for business objects on both client and server with n-Tier data support. Easily load, sort, filter and page data with added support for working with data. Includes a new built-in CollectionView to perform a set of complex operations against server side data. A new set of .NET RIA services supports these features on the server.
  • Improved performance, through:
    • Application library caching, which reduces the size of applications by caching framework on the client in order to improve rendering performance.
    • Enhanced Deep Zoom, allows users to fluidly navigate through larger image collections by zooming.
    • Binary XML allows communication with the server to be compressed, greatly increasing the speed at which data can be exchanged.
    • Local Connection This feature allows communication between two Silverlight applications on the client-side without incurring a server roundtrip: for instance a chart in one control can communicate with a datagrid in another.

Advanced Accessibility Features. Silverlight 3 is the first browser plug-in to provide access to all system colors, allowing partially-sighted people to make changes such as high contrast color schemes for ease of readability by using familiar operating system controls.

Out-of-Browser Support. The new out-of-browser experience in Silverlight 3 enables users to place their favorite Silverlight applications directly onto their PC and Mac, with links on the desktop and start menu—all without the need to download an additional runtime or browser plug-in. Further, the new experience enables Silverlight applications to work whether the computer is connected to the Internet or not—a radical improvement to the traditional Web experience. Features include:

  • Life outside the browser. Silverlight applications can now be installed to and run from the desktop as lightweight web companions. Thus, users can take their favorite Web applications with them, regardless of whether they are connected to the Internet or not.
  • Desktop shortcuts and start menu support. Silverlight applications can be stored on any PC or Mac computer’s desktop with links in the start menu and applications folder, and so are available with one-click access.
  • Safe and secure. Leveraging the security features of the .NET Framework, Silverlight applications run inside a secure sandbox with persistent isolated storage. These applications have most of the same security restrictions as traditional web apps and so can be trusted without security warnings or prompts, minimizing user interruptions.
  • Smooth installation. Because Silverlight applications are stored in a local cache and do not require extra privileges to run, the installation process is quick and efficient.
  • Auto-update. Upon launch, Silverlight applications can check for new versions on the server, and automatically update if one is found.
  • Internet connectivity detection. Silverlight applications can now detect whether they have Internet connectivity and can react intelligently including caching a users’ data until their connection is restored.

 

Posted by snoutholder | 4 Comments

What doc set am I in?

We can tell based on some of the feedback we've received, that folks are landing in the wrong documentation set and don't realize it. The .NET Framework for Silverlight often looks and smells like the full .NET Framework, but it's smaller, and in some cases the same API behave differently. We are investigating different methods for fixing the wrong doc-set problem. In the interim, I'll give you some pointers on how to decipher whether you are in the .NET Framework for Silverlight or the full framework docs and  how you can navigate between the two documentation sets.

In the Silverlight docs, you'll see:

  1. Silverlight in the running header at the top of the page
  2. ".NET Framework Class Library for Silverlight"  or "Silverlight" above the document title, for reference or conceptual documentation, respectively.
  3. Links to to the full .NET Framework docs in the Other versions box.

SLclues

If you are in the full .NET Framework docs, you'll see:

  1. NET Framework 3.5/3.0/2.0 in the running header, depending on what version of the full framework docs you are viewing.
  2. A technology tag that does not contain Silverlight above the document title. The example below shows the technology tag for reference material; ".NET Framework Class Library", but you also might see "Windows Presentation Foundation", "NET Framework Developer's Guide", "Windows Forms" or some other technology tag. The general rule of thumb is, if the tag contains "Silverlight" you are in the Silverlight docs. If it doesn't, you are in the full .NET Framework documentation.
  3. The version of the .NET Framework docs you are viewing and links to other versions of the .NET Framework documentation in the Other versions box. There are no link to the Silverlight documentation in the box.

wpfclues 

Also Wolf made a great post about finding the Silverlight documentation using search. Check it out here.

--Cheryl

Posted by cherylws | 2 Comments
More Posts Next page »
 
Page view tracker