balaweblog
balaweblog

Reputation: 15470

Adding the XAML file in ASP.NET web Application

How do I add a XAML file to an ASP.NET web page?

Upvotes: 0

Views: 2128

Answers (2)

AnthonyWJones
AnthonyWJones

Reputation: 189457

Use the Silverlight control:-

<object type="application/x-silverlight" width="100%" height="100%" id="slc">
    <param name="source" value="/myfolder/myfile.xaml"/>
 </object>

Upvotes: 1

Franci Penov
Franci Penov

Reputation: 75991

Depends on what you want to do with that XAML file. :-)

If you want to use it with Silverlight, you need to learn how to write SL applications.

If you want to generate a static picture from the XAML to send to the client, you can look at this blog post.

Upvotes: 0

Related Questions