ASP.NET与&之间有什么区别?银光 [英] what is the difference between ASP.NET & silverlight

查看:85
本文介绍了ASP.NET与&之间有什么区别?银光的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建服务器端脚本网页.所有数据库句柄都在服务器端.

哪种技术更适合服务器端脚本ASP.NET或silverlight? .

ASP.NEt是否在Android OS中工作?

ASP.NET和silverlight有什么区别?

i want to create the server side scripting web page.all database handle at server side .

which Technology is better for server side scripting ASP.NET or silverlight? .

ASP.NEt worked in android OS or not?

what is the difference between ASP.NET & silverlight ?

推荐答案

在问这样的问题之前,请先想一想它的正确性.这不是很明显不能以任何正确的方式回答问题吗?这样的问题也完全没有用.苹果和苹果有什么区别?懒惰的问题不会带来知识.

请参见:类之间的区别是什么和封装在程序中 [ ^ ].

请阅读提出问题的规则,并参阅以下讨论:如何提问一个好问题? [ ^ ].

您为什么不简单地阅读这两种技术?

http://en.wikipedia.org/wiki/Asp.net [ http://www.asp.net/ [ ^ ],

http://en.wikipedia.org/wiki/Silverlight [ http://www.silverlight.net/ [ ^ ].

现在,关于Android.我认为您是在询问客户端.但是,对于客户端,没有ASP.NET这样的东西:如果使用ASP.NET实现Web应用程序,则客户端部分看不到区别. ASP.NET仅在服务器端播放.因此,Android上的Web浏览器将运行ASP.NET应用程序以及使用任何服务器端技术的任何应用程序.没关系.

即使我认为在Android上运行HTTP服务器也没有任何意义( http://en.wikipedia .org/wiki/Android_%28operating_system%29 [ ^ ]),但我会说这在理论上是可能的.由于ASP.NET需要.NET,因此可以基于CLR实现(称为Mono( http://en.wikipedia .org/wiki/Mono_%28software%29 [ ^ ])(至少适用于某些指令集架构( http://en.wikipedia .org/wiki/Instruction_set [ ^ ]).同样,从理论上讲.我无法想象没有大脑损伤的人会承担这项任务,因为-为什么?

—SA
Before asking questions like that, think just a bit of its correctness. Isn''t this obvious that the question cannot be answered in any correct way? The questions like that are also completely useless. What is the difference between apple and Apple? Lazy questions does not bring knowledge.

See this: what is the difference between the class and encapsulation in programming[^].

Please read the rules for asking questions and also see this discussion: How to ask a good question?[^].

Why would not you simply read about both technologies?

http://en.wikipedia.org/wiki/Asp.net[^],
http://www.asp.net/[^],

http://en.wikipedia.org/wiki/Silverlight[^],
http://www.silverlight.net/[^].

Now, about Android. I think you are asking about client side. For a client side, however, there is no such thing as ASP.NET: if a Web application is implemented using ASP.NET, the client part cannot see the difference. ASP.NET is played exclusively on the server side. So, a Web browser on Android will run ASP.NET applications, as well as any applications using any server-side technologies. It just does not matter.

Even though I don''t think it makes any sense to run HTTP server on Android (http://en.wikipedia.org/wiki/Android_%28operating_system%29[^]), but I would say this is theoretically possible. As ASP.NET needs .NET, it can be implemented based on CLR implementation called Mono (http://en.wikipedia.org/wiki/Mono_%28software%29[^]), which is available on Android, at least for some instruction-set architectures (http://en.wikipedia.org/wiki/Instruction_set[^]). Again, just theoretically. I cannot imagine anyone without brain damage might take this task, because — why?

—SA


从技术上讲,Silverlight和ASP.NET完全不同
-Silverlight完全在客户端上运行,而ASP.NET主要在服务器上运行,但在客户端上也有一些运行.

-当事件触发时,Silverlight会在客户端上处理该事件,但是在ASP.NET中,浏览器将对服务器进行HTTP POST,服务器处理完请求后,它将向客户端发送一个新的html页面. br/>
-Silverlight无法直接使用数据库,而是使用Web服务中的数据,而ASP.NET在直接使用数据库方面提供了强大的支持

它们可以一起工作并且彼此兼容,但这需要一些时间和精力.
Technically, Silverlight and ASP.NET are completely different
- Silverlight runs completely on the client, while ASP.NET mainly runs on the server, but also has a few parts running on the client.

- When an event fires, Silverlight handles the event on the client, but in ASP.NET, the browser will make an HTTP POST to the server, and after the server handles the request, it sends a new html page to the client.

- Silverlight can’t work with a database directly, instead it consumes data from web services, while ASP.NET has strong support in working with database directly

They can work together and are compatible with each other, but this requires some time and effort.


这篇关于ASP.NET与&之间有什么区别?银光的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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