asp.net 3.5 new features

23
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) http://academy.devbg.org ASP.NET 3.5 New Features

Upload: tariq

Post on 19-Mar-2016

60 views

Category:

Documents


3 download

DESCRIPTION

ASP.NET 3.5 New Features. Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) http://academy.devbg.org. лектор: Борислава Палева. Agenda. What's New in .NET Framework 3.5? Visual Studio 2008 Enhancements - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: ASP.NET 3.5 New Features

Svetlin NakovDirector Training and Consulting ActivitiesNational Academy for Software Development (NASD)http://academy.devbg.org

ASP.NET 3.5 New Features

Page 2: ASP.NET 3.5 New Features

лектор: Борислава Палева

Page 3: ASP.NET 3.5 New Features

3

Agenda What's New in .NET Framework 3.5? Visual Studio 2008 Enhancements LINQ (Language Integrated Query) New ASP.NET Server Controls ASP.NET 3.5 Extensions

ASP.NET Dynamic Data ASP.NET MVC Framework ASP.NET and AJAX Integration ASP.NET Controls for Silverlight

Page 4: ASP.NET 3.5 New Features

4

What’s New in .NET Framework 3.5? Language Integrated Queries (LINQ)

Family of technologies that provides querying features for data, from relational to XML

Generate a LINQ object model that provides an object representation of the database

New collections: HashSet<T> Peer-to-Peer networking framework Integration of WCF and WWF (Workflow

Services)

Page 5: ASP.NET 3.5 New Features

5

What’s New in Visual Studio 2008? Framework targeting (2.0, 3.0, 3.5) Full support for LINQ and LINQ to SQL Integrated ASP.NET AJAX Improved HTML editor

Split source/design view JavaScript IntelliSense and debugging CSS manager and debugger

Integrated WPF, WCF, WF designers Runs a bit slower

Page 6: ASP.NET 3.5 New Features

6

Visual Studio 2008 Enhancements

Page 7: ASP.NET 3.5 New Features

7

LINQ and LINQ to SQL Query, set and transform operations for .NET Querying data becomes a core programming

concept Works with all types and shapes of data

Relational databases XML Objects …

Works with all .NET languages C# and VB and have integrated language support

LINQ to SQL Powerful ORM framework

Page 8: ASP.NET 3.5 New Features

8

LINQ to SQL LINQ to SQL

Designer in VS 2008

NorthwindDataContext db = NorthwindDataContext db = new NorthwindDataContext();new NorthwindDataContext();var customers = from c in db.Customersvar customers = from c in db.Customers where c.City == "London" select c;where c.City == "London" select c;foreach (var cust in customers)foreach (var cust in customers) Console.WriteLine(Console.WriteLine( "id = {0}, City = {1}","id = {0}, City = {1}", cust.CustomerID, cust.City); cust.CustomerID, cust.City);

Page 9: ASP.NET 3.5 New Features

9

New ASP.NET Data Controls <asp:ListView>

<asp:DataPager>

<asp:LinqDataSource>

Page 10: ASP.NET 3.5 New Features

Live Demo

ASP.NET 3.5 Data Controls and LINQ to

SQL

Page 11: ASP.NET 3.5 New Features

11

ASP.NET 3.5 Extensions ASP.NET MVC Framework

Model View Controller framework for ASP.NET ASP.NET Dynamic Data

Dynamic data controls for displaying/editing table data in ASP.NET

ASP.NET AJAX Browser history support

ADO.NET Data Services Create REST addressable services endpoints for

your data and consume with AJAX and Silverlight Silverlight Controls for ASP.NET

Integrate Silverlight into ASP.NET applications

Page 12: ASP.NET 3.5 New Features

12

ASP.NET Dynamic Data Create quickly a rich data-driven Web sites

Like in Ruby on Rails and Django (in Python) Based on LINQ to SQL data model Dynamically display data based on the data

model of the underlying database Pages are created automatically (zero code)

Based on highly customizable templates Uses dynamic data fields – user controls

that render standard data field types

Page 13: ASP.NET 3.5 New Features

13

ASP.NET Dynamic Data

Page 14: ASP.NET 3.5 New Features

Live Demo

ASP.NET Dynamic Data

Page 15: ASP.NET 3.5 New Features

15

ASP.NET AJAX All AJAX 1.0 features in .NET

3.5 Enhancements to

UpdatePanel WCF JSON Services

Better Development Experience JavaScript Intellisense JavaScript Debugging ASP.NET AJAX Extender

Control Support

ASP.NET 2.0VS 2005

v1.0

ASP.NET 3.5VS 2008

v1.0 v3.5

Page 16: ASP.NET 3.5 New Features

16

ASP.NET AJAX Control Toolkit Separate download from

core ASP.NET AJAX Library of free ASP.NET

AJAX enabled controls Download from http://

ajax.asp.net Developed using a

collaborative source model Licensed under Microsoft

Public License (Ms-PL) All source freely available

~ 40 controls as of today

Page 17: ASP.NET 3.5 New Features

Live Demo

ASP.NET AJAX and AJAX Control

Toolkit

Page 18: ASP.NET 3.5 New Features

18

Microsoft Silverlight is a cross-browsercross-browser, cross-platform implementation of .NETcross-platform implementation of .NET for building and delivering the next generation of media experiences & rich interactive applications for the Web.

Page 19: ASP.NET 3.5 New Features

19

Silverlight 2.0 Media Rich Content Interactive Applications Rich Internet

Applications (RIA) Now in Managed .NET

Code

http://silverlight.net/Showcase

Page 20: ASP.NET 3.5 New Features

20

ASP.NET Controls for Silverlight MediaPlayer Control

Play audio (WMA) and video (VMV) in the Web System.Web.UI.SilverlightControls.MediaPlayer

Silverlight Control Embed the XAML application into a Web page System.Web.UI.SilverlightControls.Silverlight

Seamlessly integrate ASP.NET with the Silverlight client plug-in Deliver Rich Internet Applications (RIA)

Page 21: ASP.NET 3.5 New Features

Live Demo

Silverlight Controls for

ASP.NET

Page 22: ASP.NET 3.5 New Features

22

Additional Information ASP.NET

http://www.asp.net ASP.NET AJAX

http://ajax.asp.net Data Access and LINQ

http://weblogs.asp.net/scottgu http://www.microsoft.com/uk/msdn/nuggets

Silverlight http://www.silverlight.net

General http://weblogs.asp.net/scottgu

Page 23: ASP.NET 3.5 New Features

23

ASP.NET 3.5 New Features

Questions?