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: https://scorbs.com/work (rss)
Life blog: https://scorbs.com/life (rss)
Everything blog: https://scorbs.com (rss)

2 comments

  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 ?

    thanks

    F.A.

  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: http://www.microsoft.com/downloads/details.aspx?FamilyID=05755a9d-98fa-4f16-bfdc-023e3fd34763&DisplayLang=en

    Otherwise, you can use the HttpWebRequest class. (http://msdn2.microsoft.com/en-us/system.net.httpwebrequest.aspx)

    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 to kcorby Cancel reply

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