blog work blog

About 6 months ago, I took the plunge and started a personal blog. Recently, I thought it would be fun to post about what I do during the day (and sometimes night!): Windows Presentation Foundation (WPF).

On WPF, I am the security and partial trust sandbox program manager. I am also heavily invested in XAML Browser Applications (XBAPs). On this blog, you’ll find a lot of postings on these areas, as well as general WPF & industry musings.

The links:
Work blog: (rss)
Life blog: (rss)
Everything blog: (rss)


  1. hello
    i’m currently studing wpf and i’m very interested with XBAP. However i wonder how to develop a xbap which is working with a database on the server (sql server 2005 in fact)
    is it with webservices ? do you know where i can have an example of how to do that ?



  2. Yes, you would use webservices.

    How you communicate to that webservice depends on how you’re exposing your webservices. If you have ASP.NET, you can expose ASMX webservices and communicate with it via an ASMX client class.

    Check out an example of that in the XBAP hands on lab:

    Otherwise, you can use the HttpWebRequest class. (

    Remember, that from an internet sandboxed XBAP, you only have site of origin access. If you’re trying to talk to a 3rd party server, you will need a proxy on your server (similar to XMLHTTP today).

Leave a Reply

Your email address will not be published. Required fields are marked *