FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

20
FIRST LOOK AT FIRST LOOK AT “ORCAS” “ORCAS” Scott Guthrie Scott Guthrie General Manager General Manager .NET Developer .NET Developer Platform Platform

Transcript of FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

Page 1: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

FIRST LOOK AT FIRST LOOK AT “ORCAS”“ORCAS”

Scott GuthrieScott Guthrie

General ManagerGeneral Manager

.NET Developer .NET Developer PlatformPlatform

Page 2: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

What is “Orcas”What is “Orcas” Codename of next major release of Codename of next major release of

Visual Studio and .NET FrameworkVisual Studio and .NET Framework

Targeted to ship later this yearTargeted to ship later this year Go-live beta in the summer timeframeGo-live beta in the summer timeframe

Lots of exciting features for web Lots of exciting features for web developmentdevelopment Multi-targetingMulti-targeting Major HTML / CSS Designer EnhancementsMajor HTML / CSS Designer Enhancements Rich AJAX and JavaScript SupportRich AJAX and JavaScript Support LINQLINQ And much more…And much more…

Page 3: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

Visual Studio “Orcas” supports targeting Visual Studio “Orcas” supports targeting multiple versions of the .NET Frameworkmultiple versions of the .NET Framework

Choose which Framework version to target Choose which Framework version to target when opening or creating an applicationwhen opening or creating an application .NET Framework 2.0 (“Whidbey”).NET Framework 2.0 (“Whidbey”) .NET Framework 3.0 (Vista).NET Framework 3.0 (Vista) .NET Framework 3.5 (“Orcas”).NET Framework 3.5 (“Orcas”)

Visual Studio IDE only shows feature Visual Studio IDE only shows feature appropriate for your selected target appropriate for your selected target versionversion Toolbox, Add New Item, Add Reference, Add Toolbox, Add New Item, Add Reference, Add

Web Reference, Intellisense, etcWeb Reference, Intellisense, etc

Framework MultitargetingFramework Multitargeting

Page 4: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

Framework MultitargetingFramework Multitargeting

WhidbeyWhidbey VistaVista OrcasOrcas

timtimee

Version = Assembly references + compilersVersion = Assembly references + compilersNo new CLR runtimeNo new CLR runtime

Page 5: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

DemoDemoMulti-TargetingMulti-Targeting

Page 6: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

HTML DesignerHTML Designer Massively improved HTML designerMassively improved HTML designer

Same WYSIWYG designer as in Same WYSIWYG designer as in ExpressionExpression

New features:New features: Rich CSS editing supportRich CSS editing support Split view editorSplit view editor Fast designer/source switchingFast designer/source switching Nested master pagesNested master pages

Enable better designer/developer Enable better designer/developer workflowworkflow

Page 7: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

DemoDemo

Page 8: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

ASP.NET AJAXASP.NET AJAX Works on top of ASP.NET 2.0 and VS 2005Works on top of ASP.NET 2.0 and VS 2005

Fully supported V1.0 shipped last week on the webFully supported V1.0 shipped last week on the web

Delivers core ASP.NET AJAX foundation:Delivers core ASP.NET AJAX foundation: JavaScript type-systemJavaScript type-system JavaScript<->.NET Networking SerializationJavaScript<->.NET Networking Serialization JavaScript library of common routinesJavaScript library of common routines ASP.NET Server Control IntegrationASP.NET Server Control Integration

ASP.NET AJAX 1.0 features ship in “Orcas”ASP.NET AJAX 1.0 features ship in “Orcas” ASP.NET AJAX Futures CTP contains next set of ASP.NET AJAX Futures CTP contains next set of

features that will start to make their way into features that will start to make their way into OrcasOrcas

Examples: richer web part integration, richer data Examples: richer web part integration, richer data serialization support, more client controlsserialization support, more client controls

Page 9: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

ASP.NET AJAX Control ASP.NET AJAX Control ToolkitToolkit Separate download from core ASP.NET AJAXSeparate download from core ASP.NET AJAX

Great library of free ASP.NET AJAX enabled controlsGreat library of free ASP.NET AJAX enabled controls Download from http://ajax.asp.net/Download from http://ajax.asp.net/

Developed using a collaborative source modelDeveloped using a collaborative source model All source freely available with modification licenseAll source freely available with modification license Both Microsoft & non-Microsoft developers can Both Microsoft & non-Microsoft developers can

contributecontribute

Already contains 35 really cool controlsAlready contains 35 really cool controls Goal is to get 50-100 great controls over the next Goal is to get 50-100 great controls over the next

monthsmonths

Page 10: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

AJAX Control ExtendersAJAX Control Extenders Controls that can AJAX-enable Controls that can AJAX-enable

existing HTML UI and ASP.NET existing HTML UI and ASP.NET Server ControlsServer Controls <asp:LinkButton ID=“ShowHideBtn" runat="server">Details...</asp:LinkButton><asp:LinkButton ID=“ShowHideBtn" runat="server">Details...</asp:LinkButton>

<asp:Panel ID="detailsPanel" runat="server" CssClass="DetailsPanel"><asp:Panel ID="detailsPanel" runat="server" CssClass="DetailsPanel"> Blah, Blah, BlahBlah, Blah, Blah <br /><br /> Blah, Blah, BlahBlah, Blah, Blah <br /><br /> Blah, Blah, BlahBlah, Blah, Blah </asp:Panel></asp:Panel> <ajaxToolkit:CollapsiblePanelExtender TargetControlID="detailsPanel“ <ajaxToolkit:CollapsiblePanelExtender TargetControlID="detailsPanel“ CollapseControlID="ShowHideBtn" CollapseControlID="ShowHideBtn" ExpandControlID="ShowHideBtn" ExpandControlID="ShowHideBtn" Collapsed="true" Collapsed="true" SuppressPostBack="true" SuppressPostBack="true" runat="server“ /> runat="server“ />

Page 11: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

Visual Studio AJAX Visual Studio AJAX SupportSupport JavaScript IntellisenseJavaScript Intellisense

Code intellisense for client-side JavaScriptCode intellisense for client-side JavaScript Integrated editor support for ASP.NET AJAX JS Integrated editor support for ASP.NET AJAX JS

LibraryLibrary Intellisense against JSON enabled .asmx web Intellisense against JSON enabled .asmx web

servicesservices Build-time syntax checkingBuild-time syntax checking

JavaScript DebuggingJavaScript Debugging Improved discoverabilityImproved discoverability Breakpoints in .aspx documentsBreakpoints in .aspx documents New visualization features for variablesNew visualization features for variables

ASP.NET AJAX Extender Control SupportASP.NET AJAX Extender Control Support Easy design-time to attach extendersEasy design-time to attach extenders

Page 12: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

ASP.NET Control ASP.NET Control ExtendersExtenders Smart-task: Smart-task:

“Add Extender…”“Add Extender…” UI for adding valid UI for adding valid

extenders to extenders to controlcontrol

Once extended, Once extended, target control target control shows:shows:

Extended properties Extended properties

in property gridin property grid

Extended smart Extended smart taskstasks

Extender wizardExtender wizard

Choose the functionality to add to <control name>:

Choose an Extender

Auto complete

Popup Text validation

Description:

Causes random splats to appear on the page as you interact with the controls. Great for kids applications, or where you want to really irritate the user.

Yellow splat

Specify an ID for the extender:

Textbox1_YellowSplat

CancelOk

Page 13: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

DemoDemoAJAX and JavaScript ImprovementsAJAX and JavaScript Improvements

Page 14: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

Working with DataWorking with Data

Querying and manipulating data has Querying and manipulating data has always been a fundamental part of always been a fundamental part of our jobs as programmers, and always our jobs as programmers, and always will bewill be

Data formats change, but core needs Data formats change, but core needs remain the sameremain the same

With Orcas we are trying to take the With Orcas we are trying to take the concept of querying, manipulating, concept of querying, manipulating, and updating data to the next leveland updating data to the next level

Page 15: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

Introducing LINQIntroducing LINQ(Language Integrated Query)(Language Integrated Query)

Query, Set and Transform Operations for .NETQuery, Set and Transform Operations for .NET

Makes querying data a core programming Makes querying data a core programming concept concept

Works with all types and shapes of dataWorks with all types and shapes of data Relational databaseRelational database XMLXML ObjectsObjects

Works with all .NET languagesWorks with all .NET languages New VB and C# have integrated language supportNew VB and C# have integrated language support Support for both static typed and dynamic Support for both static typed and dynamic

languageslanguages

Page 16: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

DemoDemoLINQLINQ

Page 17: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

Data Improvements in Data Improvements in ASP.NETASP.NET New <asp:LinqSqlDataSource> controlNew <asp:LinqSqlDataSource> control

Enables easy databinding to LINQ entitiesEnables easy databinding to LINQ entities

New <asp:ListView> controlNew <asp:ListView> control Enables richer data UI flexibilityEnables richer data UI flexibility

Scaffolding UI generator for getting Scaffolding UI generator for getting startedstarted Creates LINQ object model and UI pagesCreates LINQ object model and UI pages Will ship as separate download in OrcasWill ship as separate download in Orcas

Page 18: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

Testing FeaturesTesting Features VSTS Unit Testing Moving to VS ProfessionalVSTS Unit Testing Moving to VS Professional

Improved performance and workflowImproved performance and workflow

New AJAX Web Testing Features in VSTSNew AJAX Web Testing Features in VSTS Automated scenario testing of ASP.NET AJAX Automated scenario testing of ASP.NET AJAX

applicationsapplications

Page 19: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

2007 is going to be an exciting yearMajor advances and improvements coming

Developing applications will be easierBuild-on existing VS 2005 / ASP.NET

skills/codeSignificant productivity gains with LINQ,

AJAX, etc

Upgrading will be easyCan use HTML designer, JavaScript

intellisense/debugging, and new language features of VS “Orcas” on ASP.NET 2.0 projects

Page 20: FIRST LOOK AT “ORCAS” Scott Guthrie General Manager.NET Developer Platform.

© 2005 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.