25
Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft Ltd [email protected] http://mikeo.co.uk

Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

Embed Size (px)

Citation preview

Page 1: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

Visual Studio 2008 and ASP.NET 3.5

Mike Ormond

Developer & Platform Group

Microsoft Ltd

[email protected]

http://mikeo.co.uk

Page 2: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

What we’ll look at...

• Multi-Targeting

• New Designer

• JS Intellisense / Debugging

Visual Studio

• ASP.NET AJAX

• Data Access

• ASP.NET “Futures” Release

ASP.NET 3.5

Page 3: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

.NET Through the Ages

2002 2003 2005 2006 2007

Tool(Visual Studio)

VS.NET 2002 VS.NET 2003 VS2005VS2005

+ Extensions

VS2008

LanguagesC# v1.0

VB.NET (v7.0)C# v1.1

VB.NET (v7.1)C# v2.0

VB2005 (v8.0) as beforeC# v3.0

VB9

Framework Libraries

NetFx v1.0 NetFx v1.1 NetFx v2.0 NetFx v3.0 NetFx v3.5

Engine (CLR) CLR v1.0 CLR v1.1 CLR v2.0same

versionsame

version

Page 4: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

Multi-Targetting

Page 5: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

New Designer

Dramatically faster switching

New Split View mode

Quick Tag Selector improvements

Same designer as Expression Web

Page 6: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

New CSS Design Support

Simplifies building and troubleshooting CSS

Direct Style Application Toolbar

Manage Styles

Apply Styles

CSS Properties

Same CSS engine as Expression Web

Page 7: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

Designer

Page 8: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

ASP.NET AJAX

Page 9: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

ASP.NET AJAX

v1.0 works on ASP.NET 2.0 and VS 2005Shipped in Jan as separate download

Delivers core ASP.NET AJAX foundation

All ASP.NET AJAX 1.0 features in .NET 3.5

ASP.NET AJAX

JS Type System

Networking & Serialisation

JS BCLServer Control

IntegrationBrowser

Compatibility

Page 10: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

ASP.NET AJAX Control Toolkit

Separate download from core ASP.NET AJAXLibrary of free ASP.NET AJAX enabled controlsDownload from http://ajax.asp.net

Developed using a collaborative source modelAll source freely available with modification licenseBoth Microsoft & non-Microsoft developers can contribute

Around 40 controls today

Page 11: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

Improved JavaScript Support

Intellisense

Code intellisense for client-side JavaScript

Build-time syntax checking

Integrated editor support for AJAX JS library

Intellisense against JSON-enabled .asmx WS

Debugging

Improved discoverability

Breakpoints in .aspx documents

Visualisers, locals etc

Page 12: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

JavaScript & ASP.NET AJAX Support

Page 13: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft
Page 14: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

Today

We use many different types of query

SQL, XQuery/XPath, DataView row filters, etc.

Maybe we could enhance productivity by...

Deciding on one query expression syntax

Enabling compilers to check queries & results

Allow extensibility to target all kinds of data

Page 15: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

LINQ

Query, Set and Transform Operations for .NET

Makes querying data a core programming concept

Works with all types and shapes of dataRelational databases

XML

Plain old Objects

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

Page 16: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

LINQ

Page 17: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

Language Innovationsvar condiments =

from p in products

where p.Category == “Condiments”

select new { p.Name };

var condiments =

products

.Where(p => p.Category == “Condiments”)

.Select(p => new { p.Name });

Extension methods

Lambda expressions

Query expressions

Object initializers

Anonymous types

Local variable type inference

Page 18: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

New ASP.NET Data Controls

<asp:ListView>

<asp:LinqDataSource>

<asp:DataPager>

Page 19: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

Data Access in ASP.NET 3.5

Page 20: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft
Page 21: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

ASP.NET "Futures" Release

First look at more upcoming features for ASP.NETThese will ship as a separate download next spring

A few features included in it today:<asp:History> control<asp:Diagnostics> control<asp:media> control<asp:xaml> controlCSS Control Selectors support in ASP.NET AJAXNew Dynamic Data Controls

Coming soonASP.NET MVC UI framework

Page 22: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

ASP.NET Futures Release

Page 23: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

Additional Information

ASP.NET AJAXhttp://ajax.asp.net

Data Access And LINQhttp://weblogs.asp.net/scottguhttp://www.microsoft.com/uk/msdn/nuggets

Silverlighthttp://www.silverlight.net

ASP.NET Futureshttp://www.asp.net/downloads/futures

Generalhttp://weblogs.asp.net/scottguhttp://mikeo.co.uk

Page 24: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

MSDN in the UK

Visit http://msdn.co.ukNewsletter

Events

Screencasts

Blogs

Page 25: Visual Studio 2008 and ASP.NET 3download.microsoft.com/documents/uk/msdn/events/VisualStudio2008… · Visual Studio 2008 and ASP.NET 3.5 Mike Ormond Developer & Platform Group Microsoft

© 2007 Microsoft Ltd. 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.