ASP.NET MVC和放大器;防爆pression XAML - 如何整合? [英] ASP.NET MVC & Expression XAML - How do I integrate?

查看:111
本文介绍了ASP.NET MVC和放大器;防爆pression XAML - 如何整合?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一些背景:

ASP.net MVC是primarly在你构建和开发ASP.NET应用程序的方式的转变。从类型思维的幕后黑手code转移到更标准的MVC的Ruby on比如心态的Rails。我赞赏它的(虽然HTML内嵌code可能是值得商榷)。

Some Background:
ASP.net MVC is primarly a paradigm shift in the way you structure and develop ASP.NET applications. Shifting from a "code behind" type of mentality to more of a standard MVC Ruby on Rails like mentality. I applaud it's efforts as a simlifying tool towards unit testing ease and seperation of code (although the html inline code could be debatable).

防爆pression和XAML是描述可以是简单的设计师presentation层的方法。

Expression and XAML is a way to describe the presentation layer that can be simple for designers.

现在的问题是:

如果我们使用ASP.NET MVC开发我们的下一个网站,如何做,使用前pression和XAML应该创建(V)IEWS或集成到开发流程的设计团队?

更具体地说可以防爆pression用户仍然在ASP.NET MVC世界中运作?

请注意,在防爆pression模型中的页面使用后面范式code为好。

Note that the pages in Expression's model use a code behind paradigm as well.

推荐答案

这是一个黑客,但可以使用XAML来呈现在ASP.NET MVC静态图像。看看我的帖子XAML会见ASP.NET MVC - Serverside集团图片渲染 - 这显示了如何渲染XAML和WPF控件在ASP.NET MVC

It is a hack, but you can use XAML to render static images in ASP.NET MVC. Check out my post XAML Meets ASP.NET MVC - Serverside Image Rendering - that shows how to render XAML and WPF controls as an image in ASP.NET MVC

http://amazedsaint.blogspot.com/2010/07/xaml-meets-aspnet-mvc-create-databound.html

有也是 MvcXaml项目这是一个视图引擎,允许动态生成图像基于XAML一个视图。

There is also the MvcXaml project that is a View Engine that allows for images to be dynamically generated based on a XAML view.

HTTP://mvcxaml.$c$cplex.com

这篇关于ASP.NET MVC和放大器;防爆pression XAML - 如何整合?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆