Can i use HTML5 with vs2008 - asp.net

Please tell me that the vs2008 has support for HTML5 or not?
and also tell me how to use HTML5 with vs2008.
Thanks

Yes, there are a number of locations you can download an extension to enable HTML5 intellisense support in Visual Studio 2008 and 2010.
John Dyer's article
Mikhail Arkhipov's MSDN extension
Scott Hanselman's coverage of the Visual Studio 2010 Web Standards Update
You use these by selecting the "HTML5" validation support in your IDE's toolbar. Check the articles for more complete instructions.

HTML 5 tags works fine with ASP.NET 3.5 (Visual Studio 2008). Just put the HTML5 tag in the ASP.NET control and it should work. Note there will be not intellisense support for it. But once you compile, it wont give you any error.
// placeholder is html5 tag but works in .NET 3.5 with no addons
// but not intellisense support
<asp:TextBox ID="EndDate" runat="server" placeholder="YYYY-MM" />

Yes, you can. Visual Studio is just a tool. Any text editing tool (even Notepad) can be used to write HTML5 webpages. When you type HTML5 tags (e.g.: <canvas> tag) in Visual Studio, although it shows validation error with green curvy underline, it will just pass the tags to the HTML output and you can still view it perfectly fine in your browsers.

Related

How to use <Video></Video> in VS2010

i am trying to make Video as my backgroud for my WebForm in visual studio 2010 ultimate but when i use it always says to me that validation (xhtml 1.0 transitional) element 'video' is not supported so how can i fix it.
You will have to use windows media player to play video in visual studio 2010. it's hard to explain with words so go to this video you can see how you can add video in visual studio 2010. here

F12 Go To Definition not working for CSS in CSHTML files - VS2017

I am working on my first Asp.net Core 2.0 Mvc web site.
Normally I use web forms, but I'm trying something new.
In my .cshtml files I cannot F12 or right click and "go to definition" on CSS classes. I thought something may be wrong with my install but I was able to open up a web forms application and it works just fine from an ASPX page.
I have seen topics from 2013 about this issue, but no solutions.
I have installed web essentials, but that didn't work either.
This is something I use regularly and it is hard to do it manually especially when you are looking at a minified CSS file.
I'm using Visual Studio 2017 Pro.
The ReSharper extension for Visual Studio adds this feature.
https://www.jetbrains.com/help/resharper/ReSharper_by_Language__CSS__Navigation.html#navigation-within-css-file

visual studio 2013 designer doesn't support CSS3

If you use the Web Forms designer in Visual Studio, note that the
designer doesn't support CSS3, so it doesn't accurately show all the
effects of Bootstrap themes or responsive layout changes. However, the
Web Forms pages will display correctly when viewed with a browser.
From: http://www.asp.net/visual-studio/overview/2013/creating-web-projects-in-visual-studio#bootstrap
The above is a little disappointment, any idea how to make it work in VS 2013, perhaps an update or add-on, or is there any other editor in which designer work properly?

How to Add HTML5 Intellisense Support to Visual Studio 2010 SP1?

How to Add HTML5 Intellisense Support to Visual Studio 2010 Professional Edition SP1?
I've installed this: http://visualstudiogallery.msdn.microsoft.com/d771cbc8-d60a-40b0-a1d8-f19fc393127d but nothing happened.
For example when I type <convas on the Visual studio source view of a page, I expect the list of its attributes to be listed, etc.
When you are in an html editor, there is a box at the top of the page to select the validation, it defaults to XHTML (I think), and you can change it to HTML5.
In visual studio Menu Options Go to Tools-> Text Editor-> HTML-> Validation-> Target and select HTML5 in drop down if you already download and install the HTML 5 Intellisense for Visual Studio 2010 and 2008

Which JavaScript framework does Visual Studio natively support?

Is it jQuery? Is there a way to integrate support for the excellent ExtJS or YUI libraries?
Any news on whether Visual Studio 2010 will support another JS framework?
I have only seen that Microsoft will support JQuery. But that has less to do with Visual Studio and IIS, and more to do with Microsoft Support practices. JQuery will be shipped with Visual Studio 2010, the Microsoft AJAX Framework, and the ASP.Net MVC Framework (happening now).
But you can use any JavaScript library you want, and if you have the correct service packs you should also get a bit of intelesence with Visual Studio 2008.
The one "extra" JQuery gives you that I have not seen (yet) from other JavaScript libraries is a version of their library with Visual Studio comments in them, giving better intelesense directives.
You can use any javascript framework you like. JQuery comes packaged with .Net, but it's not your only option.
If you have either documented or debug versions of the framework you want to use, VS 2008 will give you IntelliSense of the referenced JS libraries.
If you've installed the additional IntelliSense hotfix KB958502, you can take advantage of VS automatically finding copies of documented JS files named .vsdoc.js or .debug.js next to your referenced minified versions.
Going forward, VS 2010 will have even more support for JavaScript, working out parameter types from usage, etc.
Microsoft have started offering support for jQuery - which is different to VS supporting a JavaScript framework - this means that you can phone MS up and say your site isn't working with jQuery, and they will help you fix it (as a standard support incident, like they would if you found an issue in VS itself, or IIS, or even Word).
yeah you can use any frame work you want, but be careful of frameworks conflict i spent hell of a time to figure out Jquery problems with other framework, until i discovered that it has problem with moo tools regarding syntax, here is the link it will save you hell of a time.
http://groups.google.com/group/jquery-en/browse_thread/thread/3dabd31a8ab60505?pli=1
http://forum.mootools.net/viewtopic.php?pid=26204

Resources