如何在ASPX中使用XAML编码 [英] How to use XAML coding with ASPX
问题描述
我正在使用Microsoft WebMatrix在HTML正文中使用c#lang / script和asp代码开发一些Web应用程序。我来通过MSDN帮助找到一些优点或控件需要XAML编码。虽然有一些链接可以引入XAML,但它看起来与MS visual Studio有关。我可以通过WEbMatrix通过ASPX文件使用XAML对象,如何引用XAML代码,将应用程序目录放在哪里和哪种文件类型?
感谢您的帮助。
Sami
您可以构建xaml组件并将它们嵌入到aspx中。
一个例子是将Silverlight xap文件嵌入到aspx网页中。
MSDN - 将Silverlight与网页集成 [ ^ ]
但是,AFAIK,XAML和WPF不能一起使用
I am using Microsoft WebMatrix to develop some web applications using c# lang/script and asp code in the HTML body . I came to find through MSDN help some advantages or controls require XAML coding. Although there are some link to introduce XAML, but it looks related to MS visual Studio. Can I use XAML objects through ASPX file through WEbMatrix, How to reference XAML code, Where and what file type to put in the application directory?
Thank you for your Help.
Sami
You can build xaml components and embed them into aspx.
An example would be embedding a Silverlight xap file into an aspx webpage.
MSDN - Integrating Silverlight with a Web Page[^]
However, AFAIK, XAML and WPF cannot be used together.
这篇关于如何在ASPX中使用XAML编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!