I have a website first created by Visual Studio 2005, then I convert it to Visual Studio 2008 and am currently using Visual Studio 2008. After Visual Studio 2010 SP1, HTML 5 and CSS 3 seem to be available. I want to Convert your site to a VS 2010 website that uses HTML5.
How can I do that?
Can I convert it to an ASP.NET web application while I port it from VS2008 to Visual Studio 2010?
I know how to convert a website to a web application in Visual Studio 2008, but I have not used Visual Studio 2010 and have no idea about the differences.
As mentioned in smnbss, there is no conversion tool for this. However, there is intellisense support for HTML5 and CSS3 in VS 2010 with the new SP1. Additional Information:
http://madskristensen.net/post/HTML5-CSS3-in-Visual-Studio-2010-SP1.aspx
http://geekswithblogs.net/ranganh/archive/2011/02/07/html5-and-visual-studio-2010.aspx
It can well be done if you avoid using controls that spew ugly HTML; for example, select ListViews instead of GridViews.
In addition, use the HTML5Boilerplate to help you negotiate with multiple browsers.
And here's how to integrate the Boilerplate into an ASP.NET Web Forms project with Nuget (Caveat: this is new and I have not tried):
http://nuget.org/List/Packages/Html5Boilerplate.WebForm
Before applying HTML5Boilerplate, you need to determine your own priorities for your user base, and then determine which mix is โโbest for your situation between:
Progressive improvement and gradual degradation
Finally, since the "mobile" use of the Internet for the first time surpassed that of desktop browsers, you might want to consider the " Mobile First "
UPDATE:
ASP.NET MVC3 has just been released and includes HTML 5 project templates:
http://www.asp.net/mvc/mvc3
I donโt think there is any tool for converting ASP.NET applications to HTML 5 ... Basically, HTML5 is similar to HTML4, with a few tags that you can use for specific purposes.
On the main page, you can start using the nav tag for animations, if you used flash to display videos, you can convert them to use http://camendesign.com/code/video_for_everybody .
Basically, if you want to use the "new" html5 functions, you can do it, but there is no way to "convert" what you did with HTML5
What HTML5 features are you planning to use? This is not something like .NET 1.1 VS.NET 4.
First of all, you need to know what HTML5 is.
If you are looking for a tool that converts your Flash files to HTML5 , I donโt know.
But converting HTML4 to HTML5 ... It's the same dude! Just with more functionality.
And do not forget that many users in our country still use IE6 .
Greetings
Find out the difference between HTML5 and the current ASP.NET website page and use the replace function (Ctrl + Shift + H) in VS.