如何将ASP .Net应用程序迁移到HTML5 [英] how to migrate ASP .Net application to HTML5

查看:80
本文介绍了如何将ASP .Net应用程序迁移到HTML5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我们已经开发了ASP .Net应用程序.现在我需要HTML中的同一个应用程序.
我为此使用了ajax控件和ASP .Net Web服务.

现在我该如何迁移到HTML5.
&我已经使用VS2008.这个IDE是否足以进行迁移

谁能告诉我这两种解决方案.?

Dear All,

we have developed ASP .Net application. Now i need the same app in HTML.
i have used ajax controls and ASP .Net webservices for that.

Now how can i migrate to HTML5.
& i have used VS2008 for that. Is this IDE is sufficient to do migration

Can anybody tell me the couple of solutions.?

推荐答案

您好,

好吧,这取决于您所说的迁移". HTML/CSS始终是HTML/CSS,这就是您生成的HTML/CSS所兼容的规范,它定义了它是否为HTML5/CSS3网站.因此,真正迁移到HTML5/CSS3只是意味着对网站进行重新编程,以使用HTML5/CSS3标准的新功能.您不需要做任何新的事情就可以使用CSS3,但是您可能需要看一些新的HTML标记.

至于您的IDE(VS 2008),足以编写HTML5/CSS3代码(任何文本编辑器都可以...),但是如果您想对HTML5/CSS3进行智能感知和错误检查,那么它将无法正常工作. VS 2008甚至2010都不支持HTML5/CSS3标准,因此尽管您可以创建使用它们的文件并作为HTML5页面工作并且可以在浏览器中工作,但VS会告诉您它们是错误的/包含错误,因为VS仅适用于HTML4/目前是CSS2标准.

因此,为了让老板满意,我想您可以告诉他们实际上您已经迁移到HTML5/CSS3,现在您只需要开始编写新代码(或改编旧代码)即可使用新标签,例如audiovideo标签代替任何嵌入式Flash播放器或activeX控件.

希望这会有所帮助,
Ed
Hi there,

Well it depends what you mean by "migration". HTML/CSS are always HTML/CSS, it''s just what specification your generated HTML/CSS is compatible with that defines if it is an HTML5/CSS3 site or not. So really migrating to HTML5/CSS3 just means reprogramming your site to use the new bits of the HTML5/CSS3 standards. You don''t need to do anything new to use the CSS3 stuff but there are some new HTML tags you may want to take a look at.

As regards to your IDE (VS 2008) that is sufficient to write HTML5/CSS3 code (any text editor is...) but if you want intelli-sense and error checking on your HTML5/CSS3 stuff then it won''t work. Neither VS 2008 nor even 2010 have support for the HTML5/CSS3 standards so while you can create files that use them and work as HTML5 pages and do work in browsers, VS tells you they are wrong/contain errors since VS works only to HTML4/CSS2 standards at the moment.

So, to keep your bosses happy I guess you could tell them that actually you have migrated to HTML5/CSS3, now you just need to start writing new code (or adapting old code) to use the new tags such as audio or video tags in place of any embedded Flash players or activeX controls.

Hope this helps,
Ed


这篇关于如何将ASP .Net应用程序迁移到HTML5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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