Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

ASP.NET 4.5 loves HTML5, CSS3 & JavaScript

Download

Right click “Save as…”

Slides (view online)
Whether you’re building a new Website using ASP.NET or maintaining an existing one, you’ll leave this talk ready use HTML5 & CSS3 on ASP.NET with Visual Studio. We’ll look at what HTML5 & CSS3 have to offer modern app developers and how you can use them with ASP.NET for rich Web apps both today and tomorrow.
For more information, check out these courses on Microsoft Virtual Academy:

Follow the Discussion

  • Laury KarinLaury Karin

    Hi, where can we get all the templates used in all the demos seen here such as this one. In fact, if i want to see the new stuff like ASP.NET 4.5, there is no Template to create that kind of project in VS 2011 Express Dev Preview.

  • The visual Studio installed on the Preview PC does not contain VWD you need to download and install Visual Web Developer express or Visual Studio Ultimate from MSDN to get the ASP.NET templates.

  • DarickDarick

    Is it possible to exclude a file from the bundled javascript or css includes? Say you have a print.css that needs the media="print" attribute and need it excluded from the main group of css files.

  • @Darick:For this you would need to create your own bundle. It's an interesting idea but since /css and /js work on any folder how/where would we know to exclude them from the bundle? I think the best bet would to be to recommend your own CSS bundle. One for screen and one for print. The other option would be to use the @Media inside of the style sheet to say that is for print but that only works on newer browsers.

  • scottscott

    this was a great video , my only question is what is the proposal to support browsers like IE 7 AND 8 that do not support HTML 5 . what is Microsoft's proposal .

  • @reply to comment: Use Modernizr to help fix up and detect browser support. If the browser doesn't support it then use an alternative. aka for video player if there is no support for video use a silverlight player in its place.

  • Bryan AllenBryan Allen

    Great presentation, lots of useful info. You mentioned that the Microsoft.Web.Optimization assembly was available via Nuget and I added it to a project that's using MVC3 and ASP.NET4. The bundling and minification seems to work fine. However, if I have a partial or any view for that matter that has a script block, the javascript or jquery in those code blocks does not get executed. In my case, my jquery-hover-dropdown menus, and watermarks for some text inputs do not work. I tried extracting these script blocks from the view and put them in their own script file in the scripts folder and added it to my bundle appropriately but didn't have any luck with this either. Any suggestions?

  • Bryan AllenBryan Allen

    I solved my problem. Misplaced quotations marks...the bane of my existence.

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.