Upload
sampetruda
View
735
Download
2
Tags:
Embed Size (px)
Citation preview
Introduction IDE FeaturesLINQLanguage Features .NET 3.5, WCF, WF, WPFWeb DevelopmentVSTOTesting and Team SystemResources & Q&A
Visual Studio 2008 Formerly “Orcas”
Now available in Beta 2 Feature complete Go-Live license
.NET Framework 3.5
ConnectedConnectedSystemsSystems
Rich Web Rich Web ExperienceExperience
Rich Client Rich Client ExperienceExperience
VSTO
ASP.NET AJAX
Mobility
Lifecycle Management
VSIP
WPF
Silverlight
WCF
WF
Cardspace LINQ & ADO.NET
Web Services
Multi-Targeting 3.5, 3.0, 2.0 Use VS2008 with existing projects
Integrated designers Split view support
Improved JavaScript Debugging & IntelliSense
IntelliSense improvements
…and more…
Language Integrated Query (LINQ) LINQ to XML LINQ to Objects
ADO.NET Entity Framework* LINQ-enabled ADO.NET
▪ LINQ to Datasets▪ LINQ to Entities▪ LINQ to SQL
Custom LINQ Providers
LINQ LINQ to to
EntitiesEntities
LINQ LINQ ToTo
SQLSQL
LINQLINQ toto
XMLXML
C# C# VB.NetVB.Net Others…Others…
LINQ LINQ ToTo
DatasetDataset
LINQ LINQ ToTo
ObjectsObjects
LINQ-enabled ADO.NETLINQ-enabled ADO.NET
using System;using System.Query;using System.Collections.Generic; class app { static void Main() { string[] names = { "Allen", "Arthur",
"Bennett" }; IEnumerable<string> ayes = names
.Where(s => s[0] == 'A'); foreach (string item in ayes)
Console.WriteLine(item); names[0] = "Bob"; foreach (string item in ayes)
Console.WriteLine(item); }}
Arthur
Native query syntax in C# and VB
IntelliSense Autocompletion
Query Operators can be used against any .NET collection (IEnumerable<T>)
Select, Where, GroupBy, Join, etc.
Extensibility model
Deferred Query Evaluation
Lambda Expressions
using System;using System.Query;using System.Collections.Generic; class app { static void Main() { string[] names = { "Allen", "Arthur",
"Bennett" }; IEnumerable<string> ayes = names
.Where(s => s[0] == 'A'); foreach (string item in ayes)
Console.WriteLine(item); names[0] = "Bob"; foreach (string item in ayes)
Console.WriteLine(item); }}
AllenArthur
using System;using System.Query;using System.Collections.Generic; class app { static void Main() { string[] names = { "Burke", "Connor",
"Frank", "Everett", "Albert", "George",
"Harris", "David" }; IEnumerable<string> expr =
from s in names where s.Length == 5 orderby s select s.ToUpper(); foreach (string item in expr) Console.WriteLine(item); }}
BURKEDAVIDFRANK
using System;using System.Query;using System.Collections.Generic; class app { static void Main() { string[] names = { "Burke", "Connor",
"Frank", "Everett", "Albert", "George",
"Harris", "David" }; Func<string, bool> filter = s => s.Length == 5; Func<string, string> extract = s => s; Func<string, string> project = s = s.ToUpper(); IEnumerable<string> expr = names
.Where(filter)
.OrderBy(extract) .Select(project); foreach (string item in expr) Console.WriteLine(item); }}
BURKEDAVIDFRANK
New Language (and Compiler) Versions: C# 3.0 Visual Basic 9
Implicit Types Automatic Properties Object and Collection Initializers Extension Methods Lambda Expressions Query Syntax Anonymous Types Partial Methods
.NET Framework 3.5 Extends features of 3.0 Based on same core 2.0 CLR
Available in Beta 2 Included with VS2008, separately downloadable Go Live license
Visual Designer for WPF Designer/developer workflow with
Expression Blend XAML-based editing directly in the IDE
Changes reflected in the designer in real time
Control extensibility Project templates, debugger & deployment
support Side-by-side support for Winforms Click-once deployment support for WPF
apps Now supports Firefox
Autohost for the hosting of WCF services WSDL test client allows message injection Hosting Wizard eases migration of
services WCF Autohost and Test Client Project
templates Out-of-the-box F5 experience
Simple item template to add WCF services to existing projects
Activities to consume WCF services Function similarly to the
InvokeWebService activity available today
Hosting extensions to expose WF workflows as WCF services Messaging activities (send, receive) A workflow hosting environment to
handle instantiation and message routing
ASP.NET Nested master page support
▪ Multiple inheritance hierarchies Integrated Expression Web WYSIWYG engine
▪ Strong CSS support ASP.NET AJAX
Now built into the Framework Design support for extenders Communicate with WCF services
Silverlight
Streamlined developer experience New designers: ribbon, custom task pane,
Outlook form region ClickOnce deployment and security
Document-level solutions Word, Excel, InfoPath: 2003 onwards Managed controls on the document surface Doc-level Actions Pane ServerDocument – manipulate documents
without automating Office Word content control support
Application-level add-Ins Application domain isolation Remote updateability All 2007 Office system apps App-level custom task pane Ribbon customization Support for legacy “Shared Add-ins”
Built for non-programmers Can convert to a coded Web test
“HTTP” tests Send data over HTTP with
▪ HTTP headers▪ Query String▪ Form post parameters
Validates server responses to queries Bind to a data source
Existing featuresExisting features
AJAX support Data-driven
Easy to use wizard Easily bind to XML and CSV files Deployment assistance
Add a call to another Web Test Also extract steps
And more!
New features!New features!
Code-level tests to validate methods Code coverage supported Bind to a data source ASP.NET derivation
Run against IIS or locally using ASP.NET Development Server
Existing featuresExisting features
Generate tests from a binary Support for generics Contextual execution Faster and more reliable Available in Visual Studio
Professional Edition
New FeaturesNew Features
Executes Unit Tests and Web Tests Simulates desired number of virtual users For performance and stress testing Collects performance metrics on client and
server
Existing featuresExisting features
New user modeling Test iteration count defined running time Paneled graphs with smart grouping and
zoom Analysis report Export performance counter data to CSV
and Excel Manage results
Delete old runs Export and import run data
New FeaturesNew Features
Client Application Services Use of ASP.NET backend services
▪ Membership, Roles, Profile WPF or WinForms
Mobility Security-aware IDE Device emulator
Visual Studio Developer Centerwww.msdn.com/vstudio
Visual Studio 2008 Beta 2 Download - IMG & VPCtinyurl.com/23qkyk(For VPC, remember base virtual disk)
Visual Studio 2008 Samples Pagetinyurl.com/357a8r
Whitepaper: “An Overview of Visual Studio 2008” – July, 2007tinyurl.com/2o9rx8