17
What’s new in ASP.NET 4?

What's new in ASP.NET 4

Embed Size (px)

DESCRIPTION

ASP.NET has evolved a lot in the last few years with the addition of ASP.NET MVC and Dynamic Data, as well as the continuous improvement of WebForms and ASP.NET AJAX. This session will provide a roadmap of the changes that are coming with ASP.NET 4 and Visual Studio 2010.

Citation preview

Page 1: What's new in ASP.NET 4

What’s new in ASP.NET 4?

Page 2: What's new in ASP.NET 4

Your presenter for today?

Robert MacLean− sadev.co.za− @rmaclean

Page 3: What's new in ASP.NET 4

What to expect

Page 4: What's new in ASP.NET 4

Massive Investment - CSS

<div> <%-- Hidden Content --%></div>

<div class="aspNetHidden"> <%-- Hidden Content --%></div>

Page 5: What's new in ASP.NET 4

Massive Investment - Standards<span id="chkboxlst">

<input id="chkboxlst_0" type="checkbox" /> <label for="chkboxlst_0">Check Box 1</label> <input id="chkboxlst_1" type="checkbox" /> <label for="chkboxlst_1">Check Box 2</label> <input id="chkboxlst_2" type="checkbox" /> <label for="chkboxlst_2">Check Box 3</label></span>

<ul id="chkboxlst"> <li><input id="chkboxlst_0" type="checkbox" /> <label for="chkboxlst_0">Check Box 1</label></li>

<li><input id="chkboxlst_1" type="checkbox" /> <label for="chkboxlst_1">Check Box 2</label></li>

<li><input id="chkboxlst_2" type="checkbox" /> <label for="chkboxlst_2">Check Box 3</label></li></ul>

Page 6: What's new in ASP.NET 4

ASP.NET 4

<demo/>

Page 7: What's new in ASP.NET 4

CDN’s

Web Server

Web Server

Web Server

Browser

jQuery24k

jQuery24k

jQuery24k

Page 8: What's new in ASP.NET 4

CDN’s

Web Server

Web Server

Web Server

Browser

jQuery24k

CDN

Page 9: What's new in ASP.NET 4

What does MS CDN offer?

− jQuery− jQuery Validation− Ajax Control Toolkit− ASP.NET Ajax− ASP.NET MVC JavaScript Files

Page 10: What's new in ASP.NET 4

Client ID - Predictable

<div id="ctl00_ContentPlaceHolder1_ParentPanel"> <div id="ctl00_ContentPlaceHolder1_ParentPanel_NamingPanel1"> <input id="ctl00$ContentPlaceHolder1$ParentPanel$NamingPanel1$TextBox1" type="text" value="Hello!"/> </div><div id="ParentPanel1"> <div id="ParentPanel1_NamingPanel1"> <input id="ParentPanel1_NamingPanel1_TextBox1" type="text" value="Hello!"/> </div>

Page 11: What's new in ASP.NET 4

Web.Config Transforms

− Locator− Magic (i.e. only one, like custom errors)− Match Attributes− Partial XPath (Conditions)− Full XPath

Page 12: What's new in ASP.NET 4

Web.Config Transforms

− Transform− Replace− Remove− RemoveAll− Insert− SetAttributes− RemoveAttributes− InsertAfter− InsertBefore

Page 13: What's new in ASP.NET 4

Questions and AnswersReminder: www.sadev.co.za

<questions/>

Page 15: What's new in ASP.NET 4

Complete your evaluation and enter to win!

Win a Wireless Entertainment Desktop 8000!

Page 16: What's new in ASP.NET 4

* Terms & conditions apply

Submit an Entry Form at the BB&D Stand and Win*!A Dell Netbook valued at R4,000

Page 17: What's new in ASP.NET 4

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions,

it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.