Serve XAML to a client

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bill McCormick

    Serve XAML to a client

    Is it possible to send XAML (say via an WCF service) to some generic WPF
    client application and have it build, display and modify the UI on the fly?

    Thanks,

    Bill
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Serve XAML to a client

    Bill,

    Yes, since XAML is just XML, you can return that to your client. Then,
    you can use the XamlReader class to take the XML returned and create an
    object from it which you would use appropriately.

    I wouldn't use a typed set of XML here, I'd just return a string (it
    depends on how complex the XML that makes up your XAML is).

    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "Bill McCormick" <wpmccormick@ne wsgroup.nospamw rote in message
    news:OZoPAaUQJH A.4032@TK2MSFTN GP03.phx.gbl...
    Is it possible to send XAML (say via an WCF service) to some generic WPF
    client application and have it build, display and modify the UI on the
    fly?
    >
    Thanks,
    >
    Bill

    Comment

    Working...