Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development...

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

Transcript of Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development...

Page 1: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  ASP.NET 3.5 New Features.

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

Page 3: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  ASP.NET 3.5 New Features.

6

Visual Studio 2008 Enhancements

Page 7: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  ASP.NET 3.5 New Features.

9

New ASP.NET Data Controls

<asp:ListView>

<asp:DataPager>

<asp:LinqDataSource>

Page 10: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  ASP.NET 3.5 New Features.

Live Demo

ASP.NET 3.5 Data Controls and LINQ to

SQL

Page 11: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  ASP.NET 3.5 New Features.

13

ASP.NET Dynamic Data

Page 14: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  ASP.NET 3.5 New Features.

Live Demo

ASP.NET Dynamic Data

Page 15: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  ASP.NET 3.5 New Features.

Live Demo

ASP.NET AJAX and AJAX Control

Toolkit

Page 18: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  ASP.NET 3.5 New Features.

Live Demo

Silverlight Controls for

ASP.NET

Page 22: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  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: Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD)  ASP.NET 3.5 New Features.

23

ASP.NET 3.5 New Features

Questions?