visual studio 2008 and asp.net 3 - …€¦ · visual studio 2008 and asp.net 3.5 mike ormond...

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

Upload: buikhanh

Post on 12-Sep-2018

237 views

Category:

Documents


0 download

TRANSCRIPT

Visual Studio 2008 and ASP.NET 3.5

Mike Ormond

Developer & Platform Group

Microsoft Ltd

[email protected]

http://mikeo.co.uk

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

.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

Multi-Targetting

New Designer

Dramatically faster switching

New Split View mode

Quick Tag Selector improvements

Same designer as Expression Web

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

Designer

ASP.NET AJAX

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

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

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

JavaScript & ASP.NET AJAX Support

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

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

LINQ

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

New ASP.NET Data Controls

<asp:ListView>

<asp:LinqDataSource>

<asp:DataPager>

Data Access in ASP.NET 3.5

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

ASP.NET Futures Release

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

MSDN in the UK

Visit http://msdn.co.ukNewsletter

Events

Screencasts

Blogs

© 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.