我可以只用C#开发Silverlight吗?我还需要学习xaml吗 [英] can i develop silverlight with only c#? do i need to learn xaml also

查看:106
本文介绍了我可以只用C#开发Silverlight吗?我还需要学习xaml吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

很明显,可以使用任何.net语言开发silverlight应用程序,是否也需要学习xaml?

其次,Windows 8主要依赖于Metro ui,如何将它以相同的Silverlight和xna引入Windows Phone8.

as its been evident that silverlight applications can be developed with any .net language, is there any need of learning xaml too?

secondly windows 8 is mainly dependent on metro ui , how it could be introduced into windows phone 8 with the same silverlight and xna...

推荐答案

XAML是一种声明性语言,我一定会学到的.您可以使用Expression Blend来解决问题,但是我怀疑您需要做一些tweeking. Visual Studio中的设计器通常不是很好.另外,您可能会遇到由于某些XAML问题而导致设计器无法显示的情况,并且如果您不知道XAML,您将陷入困境.如果他们不能使用XAML代码,我就不会认为他们是Silverlight开发人员.当我使用ASP.NET时,我大部分都是用HTML编写的.我现在是WPF开发人员,并且手工完成所有XAML.我很快,在我的工作中通常没有向我提供Expression Blend,并且我对此不太满意. Expression Blend实际上是为设计人员而非开发人员而设计的.
XAML is a declaritive language, and I would definately learn it. You could get by with using Expression Blend, but I suspect you will need to do some tweeking. The designer in Visual Studio has generally not been very good. Also you may get into the situation where the designer will not display because of some XAML issue, and if you do not know XAML, you will be pretty stuck. I would not consider somebody a Silverlight developer if they cannot work the XAML code. When I worked ASP.NET, I did most of my HTML by hand. I am now a WPF developer, and I do all the XAML by hand. I am quick at it, and I have generally not been provided Expression Blend in my jobs, and I am not very good with it. Expression Blend is really intended for designers not developers.


XAML不是像C#这样的.Net语言,它仅用于UI.所以是的,您确实需要XAML才能在Silverlight中制作应用程序.您不一定需要知道如何手工编写,设计人员可以为您生成它,但是当设计人员没有按照您的意愿进行操作时,它会有所帮助.它基本上是XML的一种,因此并不复杂.

至于第二部分,我对Windows Phone 8一无所知.
XAML isn''t a .Net language like C#, it''s used for the UI only. So yes, you do need XAML to make applications in Silverlight. You don''t necessarily need to know how to write it by hand, the designer can generate it for you, but it helps when the designer isn''t doing what you want it to. It''s basically a type of XML, so it''s not that complicated.

As for the second part, I don''t know anything about Windows Phone 8, can''t help you there.


这篇关于我可以只用C#开发Silverlight吗?我还需要学习xaml吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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