Intro to ASP.NET 3.
5
using VS2008
Chaitra Nagaraj
Microsoft MVP ASP.NET
Agenda
Enhancements in ASP.NET 3.5
Enhancements in Web applications
Multi-targeting in VS 2008(with demo)
New controls in ASP.NET 3.5(with demo)
LINQ (with demo)
Integrated AJAX(with demo)
Toolkit enhancements
Web Applications Enhancements
Integrated support for ASP.NET AJAX 1.0
Included in the .Net Framework 3.5
ASP.NET AJAX Project Templates
Web Application Project Included in Visual Studio
JavaScript Intellisense and debugging
Richer HTML/CSS Design support
Split View (simultaneous source and designer)
Nested Master Page preview in designer
CSS Properties, Manage /Apply styles windows, and direct style
application toolbar
Improved CSS/HTML Layout and visualization in designer
New Web Data controls
LinqDataSource, ListView, DataPager
ASP.NET 3.5 Enhancements
New server controls, types, and a client-script library to develop AJAX-
style Web applications.
ASP.NET server side application services like authentication, roles
management exposed as web services
New ListView control which supports edit, insert, delete, sorting &
paging
A new LinqDataSource control that exposes Language-Integrated Query
(LINQ) through the ASP.NET data source control architecture.
ASP.NET Merge Tool - a new tool for merging pre-compiled assemblies
VS 2008 Multi-Targeting support
Visual Studio 2008 supports targeting multiple versions of the .NET
Framework
Choose which Framework version to target when opening or creating an
application
.NET Framework 2.0
.NET Framework 3.0
.NET Framework 3.5
Visual Studio IDE only shows features appropriate for your selected
target version.
Toolbox, Add New Item, Add Reference, Intellisense
Multi-targeting in VS2008
New Controls in ASP.NET 3.5
<asp:LinqDataSource>
<asp:DataPager>
<asp:ListView>
New Controls
Language Integrated Query (LINQ)
New programming model for data access that integrates
query support directly within the .NET languages
Designed to reduce the complexity when working with data
Query operators can be used against any collection
Built-in examples: Select, Where, GroupBy, Join, etc.
Extensibility model supports extending/replacing these
Benefits
Work with data in a consistent way, regardless of the type of data
Interact with data as objects
Better integration with programming languages
Improved productivity through IntelliSense in Visual Studio
LINQ Architecture & Components
C# 3.0 VB 9.0 Others…
.NET Language Integrated Query
LINQ to LINQ to LINQ to LINQ to
Objects DataSets SQL XML
<book>
<title/>
<author/>
<year/>
<price/>
</book>
Objects Relational XML
LINQ
ASP.NET AJAX
Works on top of ASP.NET 2.0 and VS 2005
Fully supported V1.0 shipped in January on the web
Delivers core ASP.NET AJAX foundation:
JavaScript type-system
JavaScript<->.NET Networking Serialization
JavaScript library of common routines
ASP.NET Server Control Integration
All ASP.NET AJAX 1.0 features included in .NET 3.5
ASP.NET AJAX Control Toolkit
Separate download from core ASP.NET AJAX
Great library of free ASP.NET AJAX enabled controls
Download from http://ajax.asp.net/
Developed using a collaborative source model
All source freely available with modification license
Both Microsoft & non-Microsoft developers can contribute
Already contains 40 really cool controls
Visual Studio 2008 AJAX Support
JavaScript Intellisense
Code intellisense for client-side JavaScript
Integrated editor support for ASP.NET AJAX JS Library
Intellisense against JSON enabled .asmx web services
Build-time syntax checking
JavaScript Debugging and Profiling
Improved discoverability
Breakpoints in .aspx documents
New visualization features for variables
ASP.NET AJAX Extender Control Support
Easy design-time to attach extenders
ASP.NET AJAX
AJAX Extenders
Resources
http://www.asp.net/learn/3.5-videos/
http://ajax.asp.net
http://msdn2.microsoft.com/en-
us/library/s57a598e.aspx
http://www.virtualtechdays.com/Resources
Contact
Chaitra.Nagaraj@gmail.com
http://ChaitraNagaraj.spaces.live.com
© 2007 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.