presentation - maine bytes

28

Upload: sampetruda

Post on 10-May-2015

733 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Presentation - Maine Bytes
Page 2: Presentation - Maine Bytes

Introduction IDE FeaturesLINQLanguage Features .NET 3.5, WCF, WF, WPFWeb DevelopmentVSTOTesting and Team SystemResources & Q&A

Page 3: Presentation - Maine Bytes

Visual Studio 2008 Formerly “Orcas”

Now available in Beta 2 Feature complete Go-Live license

.NET Framework 3.5

Page 4: Presentation - Maine Bytes

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

Page 5: Presentation - Maine Bytes

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…

Page 6: Presentation - Maine Bytes
Page 7: Presentation - Maine Bytes

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

Page 8: Presentation - Maine Bytes

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

Page 9: Presentation - Maine Bytes

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

Page 10: Presentation - Maine Bytes

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

Page 11: Presentation - Maine Bytes
Page 12: Presentation - Maine Bytes

.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

Page 13: Presentation - Maine Bytes

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

Page 14: Presentation - Maine Bytes

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

Page 15: Presentation - Maine Bytes

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

Page 16: Presentation - Maine Bytes

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

Page 17: Presentation - Maine Bytes

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

Page 18: Presentation - Maine Bytes

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”

Page 19: Presentation - Maine Bytes

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

Page 20: Presentation - Maine Bytes

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!

Page 21: Presentation - Maine Bytes

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

Page 22: Presentation - Maine Bytes

Generate tests from a binary Support for generics Contextual execution Faster and more reliable Available in Visual Studio

Professional Edition

New FeaturesNew Features

Page 23: Presentation - Maine Bytes
Page 24: Presentation - Maine Bytes

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

Page 25: Presentation - Maine Bytes

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

Page 26: Presentation - Maine Bytes

Client Application Services Use of ASP.NET backend services

▪ Membership, Roles, Profile WPF or WinForms

Mobility Security-aware IDE Device emulator

Page 27: Presentation - Maine Bytes

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

Page 28: Presentation - Maine Bytes