Silverlight 还是 Asp.net?

发布于 2024-11-10 06:59:30 字数 304 浏览 3 评论 0原文

我的公司即将创建一个新网站来取代当前的网站。我们希望新的网站能够比现在的网站更具吸引力,这意味着动画、Flash等。并且,为了让非技术人员更新网页内容,我们也在寻找一种解决方案(如内容管理系统)。我是一位经验丰富的 .net 程序员,也是 jQuery 的忠实粉丝。我之前的项目充满了使用 jQuery 的 Ajax。我必须做出决定,新网站开发将使用什么平台。 Silverlight 还是.Net?我不知道如何使用 silverlight,但如果需要,我会学习。另外一个问题是,如何让非技术人员更新网页内容。有谁知道silverlight是否提供像内容管理系统那样的功能?任何提示将不胜感激!

My company is about to creat a new website to replace the current one. We hope the new website could be more attractive than current one, which means animation, flash, etc. And, in order to let non-technical staff update web content, we are also looking for a solution(like content management system). I'm an experienced .net programmer, also a big fan of jQuery. My prior projects are full of Ajax using jQuery. I have to make a decision, what platform is going to be used in new website development. Silverlight or .Net? I don't know how to use silverlight, but if have to , I'll learn. And another concerning is, how to let non-technical staff update web content. Does anyone know if silverlight provides such a function that just like that of content management system? Any tip will be appreciated!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

今天小雨转甜 2024-11-17 06:59:30

如果您想制作更像桌面的应用程序,请使用 Silverlight。它将成为 Flash 的替代品。请注意,Silverlight 的普及率低于 Flash。

我没有听说过任何基于 Silverlight 的 CMS,但我也没有积极寻找过。我确信有些存在,但至于它们有多好,我不能说。

否则,如果它类似于更传统的网站并遵循 Web 范例和约定,我会选择 ASP.NET MVC (3),因为您已经熟悉 JQuery。

Use Silverlight if you want to make a more desktop-like app. It would be an alternative to Flash. Do note that Silverlight penetration rates are lower than Flash.

I haven't heard of any Silverlight based CMS but I haven't actively looked for one either. I'm sure some exist, but as for how good they are, I couldn't say.

Otherwise if it resembles more traditional websites and follows web paradigms and conventions I'd go with ASP.NET MVC (3) since you're already familiar with JQuery.

尝蛊 2024-11-17 06:59:30

出于搜索引擎优化和可访问性的原因,我建议不要使用 Silverlight。

搜索引擎优化
Google 无法读取您的 Silverlight 应用程序中的文本,也无法跟踪链接,这会损害您的页面排名。

辅助功能
如果用户的浏览器中没有安装 Silverlight(手机通常不支持此功能),那么他们将无法访问该网站。

我建议在 ASP.NET 中构建一个站点,并在该站点上添加 Silverlight 组件以添加动画,但又不会破坏功能

I would recommend against Silverlight from a Search Engine Optimisation and Accessibility reason.

Search Engine Optimisation
Google cannot read text in your Silverlight application, or follow links, which will damage your page ranks.

Accessibility
If users dont have Silverlight installed in their browser (mobile phones dont usually support this) then they wont be able to access the site.

I would recommend having a site built in ASP.NET with Silverlight components on the site for added animation, but without ruining the functionality

梦萦几度 2024-11-17 06:59:30

尽管我是 Silverlight 的超级粉丝,但我还是强烈建议您不要将 if 用于大型 CMS。我的主要原因如下:

当您浏览 HTML 网站时,您下载的所有文件通常都会存放在临时 Internet 文件夹中 - 这样您就不必一遍又一遍地下载每个图像。
对于 Silverlight 来说,情况并非如此。它无法访问您的硬盘驱动器,只能将内容存储在独立存储中(默认为 1Mb,只能根据需要增加)。
当涉及到在硬盘驱动器上存储内容时,只有通过直接用户操作才允许。您实际上需要单击一个按钮来打开文件流并将其打开以进行写入和读取 - 否则您会收到安全异常。

如果您仍然想在 CMS 中使用 Silverlight,我会在这里和那里使用它的自定义控件或媒体播放,否则我不会因为上面概述的原因而推荐它。

Although I am a huge Silverlight fan, I'd urge you not to use if for a massive CMS. My top reason is the following :

When you browse an HTML website typically all the files you download end up in Temporary Internet files folder - that way you don't download every single image over and over again.
With Silverlight this is not the case. It doesn't have access to your hard drive and is only able to store things in isolated storage (1Mb by default, can be increased on demand only).
When it comes to storing things on the hard drive, it is permitted only via direct user action. You actually need to click a button to open a file stream and open it for writing and reading - otherwise you get a security exception.

If you still want to use Silverlight in the CMS, I'd use it custom controls here and there or media playback, otherwise I would not recommend it for the reasons I've outlined above.

抱着落日 2024-11-17 06:59:30

正如一些答案已经提到的,使用 Silverlight 相当于告诉 Google 和 Bing:

“请保持距离,并将我的内容完全排除在您的搜索索引之外。我不希望用户通过搜索找到我的网站或内容”

如果您同意,那么您可以通过 Silverlight 更轻松地创建一个炫目的网站。我想不出有多少公共网站需要这种行为。

但请注意,使用 SL 也意味着放弃移动用户。 Silverlight 不适用于

  • iPhone / iPad
  • Android 手机和平板电脑
  • Windows Phone 7(令人难以置信)

如果您想要 SEO 和移动设备,我建议您采纳 @Davy8 的建议并使用 MVC 3 + Razor + 工具更新

As some of the answers already touched on, using Silverlight is equivalent to telling Google and Bing:

"Please stay way and keep my content entirely out of your search index. I do not want users to find my site or content via search"

If that's OK with you, then you can more easily create a glitzy site via Silverlight. I cannot think of many public sites that want that behavior.

But be aware that using SL also means giving up on mobile users too. Silverlight doesn't work in

  • iPhone / iPad
  • Android phones and tables
  • Windows Phone 7 (unbelievably)

If you want both SEO and mobile, I recommend you take @Davy8's advice and go with MVC 3 + Razor + Tools Update.

泪之魂 2024-11-17 06:59:30

更多的问题是公司目前正在解决现有网站的“问题”是什么,以及可以进行哪些改进。一旦定义了问题,您就可以提出最适合该问题的解决方案以及可以有效解决该问题的技术。

我使用 Silverlight 作为 Web 解决方案的唯一原因是,如果需要某种用户交互,而这些交互超出了使用 HTML、Javascript 或任何其他技术所能提供的范围。 Silverlight 或 Flex 非常适合在您的 Web 应用程序中提供丰富的用户体验和交互性。

It's more of a question of what is the "problem" that the company is currently solving with the existing website, and what improvements can be made. Once you have defined the problem, then you can come up with a solution that would best suit the problem and a technology that can effectively tackle it.

The only reason why I would use Silverlight as a web solution would be if there needs to be some sort of user interaction that is outside of what can be provided using HTML, Javascript, or any other technology. Silverlight or Flex would be a great for providing a rich user experience and interactivity within your web app.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文