Creating A Full Trust Avalon Web Browser (.xbap) Application

I recently needed to create a full trust .xbap application on the November CTP.  As you may know, Avalon Web Browser applications run in a sandbox, which allows them to be installed without any security prompts.  However, there are cases, such as intranet applications, where allows an in-browser application to do more makes sense.  It…

3

.xbap Launches From vs But Crashes From File System

Just hit this issue: .xbap (Avalon Web Browser Application) launches fine from VS, but crashes if you launch it from the file system.  Reason?  You probably have a .dll that you are using inside your application that you created as a “WinFX Custom Control Library” and in its .proj file, there is a <UICulture/>.  However,…

4

Another Issue With Media In Nov CTP – Media ends early

If you are using media in clock mode (again, see the draft article on the Nov CTP for more on the modes for media), you may find that the media cuts off early and, if you are listening for the MediaEnded event, you never get it.  This is an known issue with the Nov CTP;…

2

Restarting Media in Nov CTP

Just came across an issue with restarting media in the Nov CTP.  First off, assume the code is using independent mode.  (See the draft of the what’s new article for more on media in the Nov CTP and the difference between independent mode and clock mode.) Let’s say you have a movie or sound that…

1

What’s New in the WPF November CTP — Also Breaking Changes

Okay, I can get back to blogging about Avalon now that the November CTP is out.  (Silent periods on my blog are either because I’m on the road or on a build of Avalon that isn’t public yet.)  Rather than repeat the URLs, see my good man Tim’s blog post.  I’ve got an article coming…

6

"Caught up in a system of references" — More on Post-Structural Programming

I encountered another pertinant passage related to programming in Chapter 1 of The Archeology of Knowledge (1969) by Michel Foucault.  In this chapter, entitled “The Unities of Discourse,” he sets out to challenge a host of assumptions.  These assumptions, or “unities” as he calls them, are deeply ingrained in most projects of critical analysis.  One unity…

0

Post-Structural Programming

I was re-reading The Archaeology of Knowledge (1969) by Michel Foucault and came across a fantastic passage at the end of the introduction.   The passage is in fact an exchange between two voices, although the speakers are never defined.  The first voice begins, “‘Aren’t you sure of what you’re saying?   Are you going to change yet…

0

HierarchicalDataTemplate — Recursive Avalon Data Binding

I just discovered the HierarchicalDataTemplate, which is basically a DataTemplate that can recursively walk a tree. Once again, I’m blown away by how Avalon databinding works. The HierarchicalDataTemplate derives from DataTemplate, but adds an ItemsSource property, which basically is a way to tell the template where to look for its children.  Combine this with the Treeview…

2

MCE WPF Application and Article — Impressive Prototype!

Casey, from brains-N-brawn, has written an article that describes his experience with Avalon and MCE, along with the Windows Media Player SDK. His inspiration is largely a cloning exercise — you can read the article to find out the details on what he’s cloning.  The article has lots of screenshots, videos of the application working…

3