Reputation: 15470
How do I add a XAML file to an ASP.NET web page?
Upvotes: 0
Views: 2128
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
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