FIRST LOOK AT
“ORCAS”
Scott Guthrie
General Manager
.NET Developer Platform
What is “Orcas”
 Codename of next major release of Visual
Studio and .NET Framework
 Targeted to ship later this year
 Go-live beta in the summer timeframe
 Lots of exciting features for web development
 Multi-targeting
 Major HTML / CSS Designer Enhancements
 Rich AJAX and JavaScript Support
 LINQ
 And much more…
Framework Multitargeting
 Visual Studio “Orcas” supports targeting multiple
versions of the .NET Framework
 Choose which Framework version to target when
opening or creating an application
 .NET Framework 2.0 (“Whidbey”)
 .NET Framework 3.0 (Vista)
 .NET Framework 3.5 (“Orcas”)
 Visual Studio IDE only shows feature appropriate
for your selected target version
 Toolbox, Add New Item, Add Reference, Add Web
Reference, Intellisense, etc
Framework Multitargeting
Version = Assembly references + compilers
No new CLR runtime
.NET Fx 3.5
.NET Fx 3.0
.NET Fx 3.0
Update
.NET Fx 2.0
.NET Fx 2.0
Update
.NET Fx 2.0
Update
Whidbey
Vista
Orcas
time
Demo
Multi-Targeting
HTML Designer
 Massively improved HTML designer
 Same WYSIWYG designer as in Expression
 New features:
 Rich CSS editing support
 Split view editor
 Fast designer/source switching
 Nested master pages
 Enable better designer/developer workflow
Demo
ASP.NET AJAX
 Works on top of ASP.NET 2.0 and VS 2005
 Fully supported V1.0 shipped last week on the web
 Delivers core ASP.NET AJAX foundation:
 JavaScript type-system
 JavaScript<->.NET Networking Serialization
 JavaScript library of common routines
 ASP.NET Server Control Integration
 ASP.NET AJAX 1.0 features ship in “Orcas”
 ASP.NET AJAX Futures CTP contains next set of features
that will start to make their way into Orcas
 Examples: richer web part integration, richer data
serialization support, more client controls
ASP.NET AJAX Control Toolkit
 Separate download from core ASP.NET AJAX
 Great library of free ASP.NET AJAX enabled controls
 Download from http://ajax.asp.net/
 Developed using a collaborative source model
 All source freely available with modification license
 Both Microsoft & non-Microsoft developers can contribute
 Already contains 35 really cool controls
 Goal is to get 50-100 great controls over the next months
AJAX Control Extenders
 Controls that can AJAX-enable existing
HTML UI and ASP.NET Server Controls
<asp:LinkButton ID=“ShowHideBtn" runat="server">Details...</asp:LinkButton>
<asp:Panel ID="detailsPanel" runat="server" CssClass="DetailsPanel">
Blah, Blah, Blah
<br />
Blah, Blah, Blah
<br />
Blah, Blah, Blah
</asp:Panel>
<ajaxToolkit:CollapsiblePanelExtender TargetControlID="detailsPanel“
CollapseControlID="ShowHideBtn"
ExpandControlID="ShowHideBtn"
Collapsed="true"
SuppressPostBack="true"
runat="server“ />
Visual Studio AJAX Support
 JavaScript Intellisense
 Code intellisense for client-side JavaScript
 Integrated editor support for ASP.NET AJAX JS Library
 Intellisense against JSON enabled .asmx web services
 Build-time syntax checking
 JavaScript Debugging
 Improved discoverability
 Breakpoints in .aspx documents
 New visualization features for variables
 ASP.NET AJAX Extender Control Support
 Easy design-time to attach extenders
ASP.NET Control Extenders
 Smart-task:
“Add Extender…”
 UI for adding valid
extenders to control
Once extended,
target control shows:
Extended properties
in property grid
Extended smart tasks
Extender wizard
Choose an Extender
Choose the functionality to add to <control name>:
Auto
complete
Popup
Text
validation
Yellow
splat
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.
Specify an ID for the extender:
Textbox1_YellowSplat
Ok
Cancel
Demo
AJAX and JavaScript Improvements
Working with Data
 Querying and manipulating data has
always been a fundamental part of our
jobs as programmers, and always will be
 Data formats change, but core needs
remain the same
 With Orcas we are trying to take the
concept of querying, manipulating, and
updating data to the next level
Introducing LINQ
(Language Integrated Query)
 Query, Set and Transform Operations for .NET
 Makes querying data a core programming concept
 Works with all types and shapes of data
 Relational database
 XML
 Objects
 Works with all .NET languages
 New VB and C# have integrated language support
 Support for both static typed and dynamic languages
Demo
LINQ
Data Improvements in ASP.NET
 New <asp:LinqSqlDataSource> control
 Enables easy databinding to LINQ entities
 New <asp:ListView> control
 Enables richer data UI flexibility
 Scaffolding UI generator for getting started
 Creates LINQ object model and UI pages
 Will ship as separate download in Orcas
Testing Features
 VSTS Unit Testing Moving to VS Professional
 Improved performance and workflow
 New AJAX Web Testing Features in VSTS
 Automated scenario testing of ASP.NET AJAX applications
 2007 is going to be an exciting year
 Major advances and improvements coming
 Developing applications will be easier
 Build-on existing VS 2005 / ASP.NET skills/code
 Significant productivity gains with LINQ, AJAX, etc
 Upgrading will be easy
 Can use HTML designer, JavaScript
intellisense/debugging, and new language
features of VS “Orcas” on ASP.NET 2.0 projects
© 2005 Microsoft Corporation. All rights reserved.
This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Descargar

Launch 2005 Keynote