WPF Internet Sandbox Feature List (XBAPS & Loose XAML)

Two main types of WPF content is sandboxed today: XAML Browser Applications (XBAPs).  XBAPs are online-only ClickOnce applications that are cached & run in the browser. Loose XAML.  Loose XAML are XAML-only files that can be navigated to in the browser. I’ve gotten questions about the specific feature list for the WPF sandbox.  Below is the high level list.   Other great resources about the sandbox include: Windows Presentation Foundation Security Sandbox Whitepaper Windows SDK: WPF Partial Trust Security Security Notes on individual API reference pages If you’re interested in why something was including/excluding from the sandbox, check the above whitepaper.  If …

.NET Framework 3.0 has shipped (KICKASS!)

.NET Framework 3.0 has been officially released!  Go get it at: .NET Framework 3.0 Runtime Components Windows SDK for Vista and the .NET Framework 3.0 Visual Studio 2005 Extensions for .NET Framework 3.0 (Windows Workflow Foundation) Visual Studio 2005 Extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP Or, just navigate to an xbap on IE7.  It will kick off the .NET Framework 3.0 Runtime Components install for you (after prompting, of course). 🙂

Healthcare Application – Source Code Posted!

Source code for the Contoso Healthcare Application is now posted on the community site! (Thanks Karsten!) This is a great app. (I demoed it at TechEd Southeast Asia & its been shown at many other events as well).  It showcases, among other things: 3D fliptransitions.  (This UX paradigm is similar to a doctor’s real world experience of flipping through a patient chart.) Data visualization on a 3D surface for fast comparison. Listbox styling dependent on level of information desired. Annotations on video. Patient diagnosis in flow document format. Get the code here.

http://www.clearification.com

Check it out!  Hilarious new site called Clearification from comedian Demetri Martin. It’s in collaboration with Microsoft.  The site’s first episode is already posted.  🙂

Dynamic Styling – Detecting ResourceDictionaries at Site of Origin

Here’s an XBAP that dynamically grabs the “styles” available to it from site of origin. Note: By “styles,” I mean distinct look & feels defined in different ResourceDictionary files, not simply the <Style> class.  You could also call these “themes.”  The resulting proof of concept app looks like this: The app contains a button whose look is determined by the “style” selected in a combobox.  The list of available “styles” (xml file) and the associated ResourceDictionaries (xaml files) are kept up at the site of origin.  Right now, the “styles” available to the app are: Fish “style” (thanks to Fil Fortes) Shiny “style” (thanks to Robert Ingebretsen) KevinButton “style (thanks …

Updated Samples for RC1

FYI: I’ve posted RC1 versions of most of my samples: Woodgrove XBAP FontPlayer XBAP XBAP: On Demand & ClickOnce Photostore: Standalone & XBAP   Note: all my loose XAML posts still work on RC1 🙂

WPF Overview talk @ TechEd Southeast Asia

Thanks again to everyone who attended the WPF overview talk today!   Some links: WPF Community Site (the patient monitoring source code will be posted here soon) Microsoft Expression ZAM 3D by Electric Rain World population app – source code With 3D Without 3D (Note: current CTPs of the VS “Cider” designer cannot yet handle 3D.) WPF Feature Montage   Download .NET Framework 3.0 Release Candidate 1! Install it here! Expression Interactive Designer Windows SDK for Vista & .NET 3.0 “Orcas” Technology preview for .NET 3.0 (which includes “Cider” designer)

FontPlayer XBAP

I thought it would be fun to update the UI (and some functionality) for the FontPlayer SDK sample. This app lets you to play with the fonts installed on your the machine. It also shows off the OpenType features of specific fonts. Some of the interesting features that I added to this app: Embedded fonts in XBAP ComboBox bound to system fonts, displayed using font New CheckBox template Text “reflection” effect FontPlayer works with RC 1. Run it here. Code found here. Screen Shots – Details custom font font ComboBox new CheckBox template Embedded fonts in XBAP Custom fonts are …

Loose XAML, XBAPs & Hyperlink Images

As Mark Alaczar points out in his WPF sandbox whitepaper, sandboxed top level navigation requires user initiation. Some definitions to help this make sense: Top level navigation: Navigations that target the hosting web browser. For instance, navigating the entire browser, or a specific HTML <iframe>, to http://netfx3.com. User initiated: Direct result of an explicit user action. In the case of top level navigation, this is most likely the user clicking on a hyperlink. “Programmatic”, on the other hand, is the direct result of a dev action, like NavigationService.Navigate(…). In this version of WPF, top level navigations in sandboxed apps require …

Linked Resource Dictionaries in Loose XAML

Something cool that I didn’t know “just worked” – linked resource dictionaries in Loose XAML! In this sample: dictionary.xaml contains a ResourceDictionary page.xaml just links to dictionary.xaml. See how it looks when you navigate to page.xaml. (And don’t forget to click on the fishies!) Page.xaml: <Page   xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation”   xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml”>    <Page.Resources>        <ResourceDictionary Source=”dictionary.xaml”/>    </Page.Resources>        <Button Style=”{StaticResource BigFish}”>            <Button Style=”{StaticResource SmallFish}”/>        </Button> </Page> BTW, you might have seen these styles before… They come from the WPF Feature Montage originally given by Fil Fortes at Mix06 & updated by Rob Relyea for TechEd