Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET - Is it possible to use ASP.NET without MVC using HTML 5?

Tags:

html

.net

Is it possible to use ASP.NET without MVC using HTML 5? A link would be great.

like image 933
Alan Avatar asked Sep 17 '10 20:09

Alan


2 Answers

The platform has no bearing on whether you can use HTML 5 or not.

For example, if you have an asp.net web forms project, you can certainly make your .aspx files be HTML 5 compliant ... or not. Your choice.

To be clear, MVC, web forms, or whatever else has no bearing either. Those are, to simplify quite a bit, just processing technologies. You could deliver pure javascript and let that build your page client side if you wanted with any of them.

By the same token, php, java, ruby, etc can all be used to write html 5 compliant sites. If you were really ambitious you could even do it in pascal or c... or, if truly masochistic, ColdFusion ;)

like image 169
NotMe Avatar answered Sep 30 '22 21:09

NotMe


There's not built-in controls in ASP.Net which uses html5 yet. But you can download a html5 schema which will work with VS2008 and VS2010 so you get intellisense on html5 compliant html.

http://blogs.msdn.com/b/webdevtools/archive/2009/11/18/html-5-intellisense-and-validation-schema-for-visual-studio-2008-and-visual-web-developer.aspx

Read the comments for using it with VS2010.

like image 28
Mikael Svenson Avatar answered Sep 30 '22 19:09

Mikael Svenson