msdn dec2007

65
Lynn Langit Lynn Langit Southern California Southern California MSDN developer MSDN developer evangelist evangelist blogs.msdn.com/ blogs.msdn.com/ SoCalDevGal SoCalDevGal blogs.msdn.com/ blogs.msdn.com/ geekSpeak geekSpeak

Post on 18-Oct-2014

3.758 views

Category:

Technology


2 download

DESCRIPTION

This is the deck I presented at Irvine, CA and Riverside, CA in December 2007

TRANSCRIPT

Page 1: MSDN Dec2007

Lynn Langit Lynn Langit Southern California MSDN Southern California MSDN developer evangelistdeveloper evangelist

blogs.msdn.com/blogs.msdn.com/SoCalDevGalSoCalDevGal

blogs.msdn.com/geekSpeakblogs.msdn.com/geekSpeak

Page 2: MSDN Dec2007

BUSINESS AND TECHNICAL

EXECUTIVESSMALL BUSINESS IT PROFESSIONALS IT DEVELOPERS PARTNERS

Events Events designed to designed to show show business and business and technical technical executives executives how to how to streamline streamline operations operations and increase and increase efficiency efficiency through through technologytechnology

Information Information for small for small business business decision decision makers who makers who want to want to improve improve productivity, productivity, efficiency, efficiency, and security and security in their in their workplaceworkplace

““How-To” How-To” sessions sessions delivering delivering highly technical highly technical content -- direct content -- direct from a from a Microsoft Microsoft technology technology specialist with specialist with real-world real-world experienceexperience

Sessions Sessions designed for designed for developers to developers to get the latest get the latest tools and tools and tips, chat with tips, chat with fellow fellow developers developers and learn and learn how to create how to create rich new rich new applicationsapplications

Designed for Designed for technology technology providers who providers who are seeking to are seeking to enhance enhance technical technical knowledge, to knowledge, to improve selling improve selling skills and to skills and to learn about learn about various various programs and programs and offers for offers for partners.partners.

Page 3: MSDN Dec2007

Microsoft Expression Suite –including Expression Microsoft Expression Suite –including Expression Web Designer, Expression Graphic Designer, Web Designer, Expression Graphic Designer, and Expression Interactive Designerand Expression Interactive Designer

Visual Studio Team System for Database Visual Studio Team System for Database Professionals CTPProfessionals CTP

.NET Framework 3.0 (WinFX).NET Framework 3.0 (WinFX)

Videos, Slides and source code posted at:Videos, Slides and source code posted at:http://www.msdnevents.com/resourceshttp://www.msdnevents.com/resources

Our way of saying “Thanks for attending” !!!Our way of saying “Thanks for attending” !!!

Page 4: MSDN Dec2007

</Sponsors></Sponsors>

Page 5: MSDN Dec2007

Please set all cell phones to silentPlease set all cell phones to silent

Evaluations are important!!Evaluations are important!!9 = A9 = A

8 = B8 = B

7 = C7 = C

If < 7 please include commentsIf < 7 please include comments

Resource DVD – our way of saying Resource DVD – our way of saying “Thanks!”“Thanks!”

Giveaways!!Giveaways!!

Page 6: MSDN Dec2007

.NET Tech Briefings – Dec 11 Irvine, Dec 12 LA, Dec 13 San DiegoNew MSDN event – Jan 15 - LATwiistUp – Jan 16 – Venice, CALaunch Feb 27 - LASoCal code camp Fullerton – Jan 26/27www.CodeTrip.comITPro event – Jan 23 - Irvine

Page 7: MSDN Dec2007

Help you to keep up with technology Help you to keep up with technology changeschanges

Show what’s possible – now & near futureShow what’s possible – now & near future

Have some fun on the way – get some free Have some fun on the way – get some free stuffstuff

Page 8: MSDN Dec2007

What’s new for Web Devs in Visual Studio What’s new for Web Devs in Visual Studio 20082008

Accessing Data “in the Cloud” with AstoriaAccessing Data “in the Cloud” with Astoria

Bringing together AJAX & SilverlightBringing together AJAX & Silverlight

Page 9: MSDN Dec2007

Today’s Schedule – Irvine, CA (am)Today’s Schedule – Irvine, CA (am)

8:00 am to 9:15 am – VS20088:00 am to 9:15 am – VS2008

9:30 am to 10:30 am – Astoria9:30 am to 10:30 am – Astoria

10:45 am to 11:45 am – Silverlight & AJAX10:45 am to 11:45 am – Silverlight & AJAX11:45 to Noon – Raffle11:45 to Noon – Raffle

Page 10: MSDN Dec2007

Today’s Schedule – Irvine, CA (pm)Today’s Schedule – Irvine, CA (pm)

Presented by David Chou – Architect Presented by David Chou – Architect EvangelistEvangelist

1 pm to 5pm – architecture focus1 pm to 5pm – architecture focus

S+SS+S

LiveLive

OfficeOffice

You could win an Xbox 360!You could win an Xbox 360!

Page 11: MSDN Dec2007

Today’s Schedule – Riverside, CAToday’s Schedule – Riverside, CA

1:00 PM to 1:05 PM – Introduction1:00 PM to 1:05 PM – Introduction

1:05 PM to 2:15 PM – VS20081:05 PM to 2:15 PM – VS20082:15 PM to 2:30 PM – Break2:15 PM to 2:30 PM – Break

2:30 PM to 3:30 PM – Astoria2:30 PM to 3:30 PM – Astoria3:30 PM to 3:45 PM – Break3:30 PM to 3:45 PM – Break

3:45 PM to 4:45 PM – Silverlight & AJAX3:45 PM to 4:45 PM – Silverlight & AJAX4:45 PM to 5:00 PM – Raffle4:45 PM to 5:00 PM – Raffle

Page 12: MSDN Dec2007
Page 13: MSDN Dec2007

Multi-TargetingMulti-Targeting

Improved Editor Performance and Improved Editor Performance and functionalityfunctionality

Enhanced JavaScript SupportEnhanced JavaScript Support

Smart controls – Data (LINQ) & AJAXSmart controls – Data (LINQ) & AJAX

Dynamic Languages – IronPythonDynamic Languages – IronPython

New WCF tools and functionalityNew WCF tools and functionality

Page 14: MSDN Dec2007

Visual Studio 2008 is the successor to VS2005Visual Studio 2008 is the successor to VS2005

VS 2008 is Microsoft’ s 6VS 2008 is Microsoft’ s 6thth release of it’s flagship release of it’s flagship IDEIDE

Productivity, productivity, productivity!Productivity, productivity, productivity!

With VS 2008 you can create:With VS 2008 you can create:Windows Forms ApplicationsWindows Forms Applications

Web Applications (AJAX) and Web ServicesWeb Applications (AJAX) and Web Services

WCF Services, WFWCF Services, WF

VSTO ApplicationsVSTO Applications

Mobile ApplicationsMobile Applications

Business Intelligence objects – cubes, reports, mining modelsBusiness Intelligence objects – cubes, reports, mining models

More…More…

Page 15: MSDN Dec2007

• API Changes

• New Hosting API

• Full 64-bit Support

• Generics in .NET CLR

• New Web Controls

• New Data Controls

• Themes, Skins,

Webparts

.NET Framework 2.0 .NET Framework 3.0

• Windows PresentationFoundation (WPF)

.NET Framework 3.5

• Windows CommunicationFoundation (WPC)

• Windows CardSpace

• C# 3.0

• VB.NET 9.0

• LINQ Queries

• AJAX integration

•Extension Methods

• Anonymous Types

• WCF Enhancements

• WF Enhancements

• And more…

• Windows Workflow Foundation (WF)

Page 16: MSDN Dec2007

VS 2005VS 2005 VistaVista VS 2008VS 2008

timetime

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

.NET 3.0

.NET 3.5

Page 17: MSDN Dec2007

DeveloperDeveloperProductivityProductivity

TeamTeamCollaborationCollaboration

Support forSupport forthe Latestthe LatestPlatformsPlatforms

Page 18: MSDN Dec2007

ArchitectsArchitectsDevelopersDevelopersDesignersDesigners

TestersTestersProjectProject

ManagersManagers

HobbyistsHobbyistsEnthusiastsEnthusiasts

StudentsStudents

Database EditionDevelopment Edition

Architecture Edition Test Edition

Team Foundation Server

Page 19: MSDN Dec2007

VS 2008 supports targeting multiple versions VS 2008 supports targeting multiple versions of .NET Framework – easy switchingof .NET Framework – easy switching

.NET Framework 2.0, 3.0 or 3.5.NET Framework 2.0, 3.0 or 3.5

Visual Studio IDE adjusts to show features for Visual Studio IDE adjusts to show features for selected versionselected version

Toolbox, Add New Item, References, Intellisense, Toolbox, Add New Item, References, Intellisense, and more…and more…

Page 20: MSDN Dec2007

Enhanced Design View FunctionalityEnhanced Design View Functionality

Tight CSS integration within IDE Tight CSS integration within IDE

Improved JavaScript and Ajax SupportImproved JavaScript and Ajax Support

JavaScript DebuggingJavaScript Debugging

Native support for multiple .NET assemblies (Fx Native support for multiple .NET assemblies (Fx 2.0 – 3.5)2.0 – 3.5)

Reduced code required to query database using Reduced code required to query database using LINQLINQ

Support for dynamic language such as IronPythonSupport for dynamic language such as IronPython

Page 21: MSDN Dec2007

Improved CSS Editing Support Improved CSS Editing Support

CSS ManagerCSS Manager

CSS Property & Inheritance viewerCSS Property & Inheritance viewer

CSS IntellisenseCSS Intellisense

Nested master pages fully supported Nested master pages fully supported

Split Views allow the viewing of design and Split Views allow the viewing of design and source code simultaneouslysource code simultaneously

Faster designer/source switchingFaster designer/source switching

Page 22: MSDN Dec2007

{New templates}{New templates}

{Multi-targeting}{Multi-targeting}

{Improved editor performance}{Improved editor performance}

{New SplitView functionality}{New SplitView functionality}

{Nested Master Pages}{Nested Master Pages}

{New CSS Enhancements and Integration}{New CSS Enhancements and Integration}

{IronPython}{IronPython}

Page 23: MSDN Dec2007

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 servicesservicesJavaScript DebuggingJavaScript Debugging

Improved discoverabilityImproved discoverability

Add Breakpoints in .aspx documentsAdd Breakpoints in .aspx documents

New visualization features for variablesNew visualization features for variables

Build-time syntax checkingBuild-time syntax checking

Page 24: MSDN Dec2007

{JavaScript Intellisense}{JavaScript Intellisense}

{JavaScript Debugging}{JavaScript Debugging}

Page 25: MSDN Dec2007

ListViewListView

Free form data templating with the editing Free form data templating with the editing features similar to those of the datagrid features similar to those of the datagrid Greater control over the layoutGreater control over the layout

DataPagerDataPager

Serves as an external control to provide paging Serves as an external control to provide paging featuresfeatures

Allows for non-restricted placement of the pager Allows for non-restricted placement of the pager on the pageon the page

LINQ Data SourceLINQ Data SourceConnects data controls to LINQ object modelsConnects data controls to LINQ object models

Page 26: MSDN Dec2007

Native query syntax in C# 3.0 and VB 9.0Native query syntax in C# 3.0 and VB 9.0

Supports querying in a type-safe waySupports querying in a type-safe way

Works with all types and shapes of dataWorks with all types and shapes of data

Relational database, XML, ObjectsRelational database, XML, Objects

Dramatically reduce the amount of code required to Dramatically reduce the amount of code required to work with datawork with data

Integrated visual designer allows for data mapping Integrated visual designer allows for data mapping to be auto-generatedto be auto-generated

Page 27: MSDN Dec2007

ADO.NETADO.NETAccessing data Accessing data todaytoday

Queries in quotes

Queries in quotes

Loosely bound

arguments

Loosely bound

arguments

Loosely typed result

sets

Loosely typed result

sets

No compile time checksNo compile time checks

Page 28: MSDN Dec2007

Classesdescribe

data

Classesdescribe

dataTables are

likecollections

Tables are like

collectionsStrongly

typedconnections

Strongly typed

connectionsIntegrated

query syntax

Integratedquery syntax

Strongly typedresults

Strongly typedresults

Page 29: MSDN Dec2007

SQL Server

Application

LINQ to SQLfrom c in db.Customerswhere c.City == "London"select c.CompanyName

from c in db.Customerswhere c.City == "London"select c.CompanyName

LINQ Query

SQL Query

SELECT CompanyNameFROM CustWHERE City = 'London'

SELECT CompanyNameFROM CustWHERE City = 'London'

Rows

Objects SubmitChanges()

DML or SProcs

db.Customers.Add(c1);c2.City = “Seattle";db.Customers.Remove(c3);

db.Customers.Add(c1);c2.City = “Seattle";db.Customers.Remove(c3);

INSERT INTO Cust …UPDATE Cust …DELETE FROM Cust …

INSERT INTO Cust …UPDATE Cust …DELETE FROM Cust …

Page 30: MSDN Dec2007

ASP.NET AJAX 1.0 features ship standard in VS ASP.NET AJAX 1.0 features ship standard in VS 20082008

Works on top of ASP.NET 2.0 and VS 2005Works on top of ASP.NET 2.0 and VS 2005New Server Controls AddedNew Server Controls Added

UpdatePanel, Timer, UpdateProgressUpdatePanel, Timer, UpdateProgressASP.NET AJAX Futures CTP to be included in near futureASP.NET AJAX Futures CTP to be included in near future

AJAX Control Toolkit updated for VS 2008AJAX Control Toolkit updated for VS 2008

Page 31: MSDN Dec2007

{ListView and DataView}{ListView and DataView}

{LINQ}{LINQ}

{AJAX Support}{AJAX Support}

{Dynamic Languages and Smart Controls}{Dynamic Languages and Smart Controls}

Page 32: MSDN Dec2007

Microsoft’s platform for distributed Microsoft’s platform for distributed systemssystems

Build WCF services in Visual Studio 2008 Build WCF services in Visual Studio 2008 using any .NET Languageusing any .NET Language

Intelligent code editing, IDE Extensions for WCF, debugging, re-Intelligent code editing, IDE Extensions for WCF, debugging, re-factoring, code snippets, Autohost, test, client, config editing, etc.factoring, code snippets, Autohost, test, client, config editing, etc.

Visual Basic .NET, Visual C#, etc.Visual Basic .NET, Visual C#, etc.

Runs onRuns onMicrosoft Windows VistaMicrosoft Windows Vista

Microsoft Windows XPMicrosoft Windows XP

Microsoft Windows Server 2003Microsoft Windows Server 2003

Microsoft Windows Server 2008Microsoft Windows Server 2008

Page 33: MSDN Dec2007

GET support added to WCF Service GET support added to WCF Service OperationsOperations

Support for URI templates Support for URI templates

Used to define specific pattern of URIsUsed to define specific pattern of URIs

SyndicationFeedSyndicationFeed

Supports XML, JSON formatterSupports XML, JSON formatter

Support for REST style servicesSupport for REST style services

Page 34: MSDN Dec2007

{WCF}{WCF}

Page 35: MSDN Dec2007

Multi-TargetingMulti-Targeting

Improved Editor Performance and Improved Editor Performance and functionalityfunctionality

Enhanced JavaScript SupportEnhanced JavaScript Support

New Server ControlsNew Server Controls

LINQ SupportLINQ Support

Built in AJAX ControlsBuilt in AJAX Controls

New WCF tools and functionalityNew WCF tools and functionality

Page 36: MSDN Dec2007

Today’s ScheduleToday’s Schedule

1:00 PM to 1:05 PM – Introduction1:00 PM to 1:05 PM – Introduction

1:05 PM to 2:15 PM – VS20081:05 PM to 2:15 PM – VS20082:15 PM to 2:30 PM – Break2:15 PM to 2:30 PM – Break

2:30 PM to 3:30 PM – Astoria2:30 PM to 3:30 PM – Astoria3:30 PM to 3:45 PM – Break3:30 PM to 3:45 PM – Break

3:45 PM to 4:45 PM – Silverlight & AJAX3:45 PM to 4:45 PM – Silverlight & AJAX4:45 PM to 5:00 PM – Raffle4:45 PM to 5:00 PM – Raffle

Page 37: MSDN Dec2007
Page 38: MSDN Dec2007

Future Technology

Page 39: MSDN Dec2007

Languages Languages .NET - C# or VB.NET.NET - C# or VB.NET

DB access language such as T-SQL (SQL WR 3)DB access language such as T-SQL (SQL WR 3)

Enterprise Architecture – SOA, web Enterprise Architecture – SOA, web services, etc…services, etc…

ORM or Data mappingORM or Data mappingXSD DataSets>XSD DataSets>

LINQ>LINQ to SQLLINQ>LINQ to SQLLINQ to Entities>LINQ to Entities>

Astoria (ADO.NET Web Data Services (subset of WCF)Astoria (ADO.NET Web Data Services (subset of WCF)

Page 40: MSDN Dec2007
Page 41: MSDN Dec2007
Page 42: MSDN Dec2007

HTMLHTMLHTMLHTML

Java ScriptJava ScriptJava ScriptJava Script

XAMLevents methods

Media – wmv, mp3, etc…

Proxy – [ScriptService] + LINQ

Page 43: MSDN Dec2007
Page 44: MSDN Dec2007
Page 45: MSDN Dec2007

Patterns and libraries enabling data to be Patterns and libraries enabling data to be exposed as a exposed as a data servicedata service that can be that can be consumed by web clients– goal is consumed by web clients– goal is FLEXIBILITYFLEXIBILITY

Based on WCF (via URIs over HTTP)Based on WCF (via URIs over HTTP)

Uses new data-retrieval model built on LINQ (to Uses new data-retrieval model built on LINQ (to Entities)Entities)

Return types – POX, JSON(P), othersReturn types – POX, JSON(P), others

Designed to work with AJAX & SilverlightDesigned to work with AJAX & Silverlight

Page 46: MSDN Dec2007

Physical – SSDL (Storage Physical – SSDL (Storage or Store) schemaor Store) schema

Mapping schema – MSLMapping schema – MSLcan re-map if data store db can re-map if data store db structure changesstructure changes

FLEXIBILITY!FLEXIBILITY!

Conceptual – CSDL Conceptual – CSDL (Logical) schema(Logical) schema

Data SourceData Source

SSDL – physicalSSDL – physical

Conceptual Schema Definition Files

CSDL 1CSDL 1 CSDL 2CSDL 2

MSL - mappingMSL - mapping

Page 47: MSDN Dec2007

Next Gen (ADO.NET)Next Gen (ADO.NET)First component to support First component to support the Entity Data Modelthe Entity Data Model

App dev against App dev against conceptual rather than conceptual rather than logical storelogical store

New ADO.NET ProviderNew ADO.NET ProviderObjectContextObjectContext

Query support via LINQQuery support via LINQADO.NET Providers

Entity Client

Dataset

Object Services

LINQ toDataset

LINQ toEntities

Page 48: MSDN Dec2007

Creating an EDM from an existing DatabaseCreating an EDM from an existing Database

Using LINQ to Entities to Query data Using LINQ to Entities to Query data

Page 49: MSDN Dec2007
Page 50: MSDN Dec2007
Page 51: MSDN Dec2007

View an Astoria Data Service and Browse Data View an Astoria Data Service and Browse Data via URIvia URI

Project “Astoria” with a simple AJAX based web Project “Astoria” with a simple AJAX based web application.application.

Page 52: MSDN Dec2007

Service OperationsService OperationsAuditing, logging, moreAuditing, logging, more

InterceptorsInterceptorsControls over specific operationsControls over specific operations

More granular securityMore granular security

Page 53: MSDN Dec2007

HTMLHTMLHTMLHTML

MIniCLR + MIniCLR + JavascriptJavascriptMIniCLR + MIniCLR + JavascriptJavascript

XAMLevents methods

Media – wmv, mp3, etc…

URI query to WebDataService – [WebGet] + LINQ

New or custom Silverlight controls

Page 54: MSDN Dec2007

http://astoria.mslivelabs.com/ = Try It now! = Try It now!

http://msdn.microsoft.com/datahttp://msdn.microsoft.com/data

http://blogs.microsoft.com/adonethttp://blogs.microsoft.com/adonet

http://blogs.microsoft.com/astoriateamhttp://blogs.microsoft.com/astoriateam

Page 55: MSDN Dec2007

It’s always better live. MSDN Events

ASP.NET Custom Controls (with AJAX and Silverlight)ASP.NET Custom Controls (with AJAX and Silverlight)

Page 56: MSDN Dec2007

AgendaAgenda

Understanding AJAX data retrieval to Understanding AJAX data retrieval to update Silverlight 1.0 objects in a custom update Silverlight 1.0 objects in a custom controlcontrol

Using ASP.NET Futures Silverlight 2.0 Using ASP.NET Futures Silverlight 2.0 controlscontrols

Page 57: MSDN Dec2007

Silverlight 1.0 – build your own Silverlight 1.0 – build your own controlscontrols

HTMLHTMLHTMLHTML

Java ScriptJava ScriptJava ScriptJava Script

XAMLevents methods

Media – wmv, mp3, etc…

Proxy – [ScriptService] + LINQ

Page 58: MSDN Dec2007

Silverlight 1.0 in AJAX ControlsSilverlight 1.0 in AJAX Controls

Silverlight 1.0Silverlight 1.0Cross-platform Cross-platform scriptablescriptable vector graphics, media, vector graphics, media, and animation capabilitiesand animation capabilities

ASP.NET AJAX controlsASP.NET AJAX controlsIncorporate Silverlight while preserving AJAX Incorporate Silverlight while preserving AJAX development modeldevelopment model

AJAX AJAX Control Control (Script)(Script)

AJAX AJAX Control Control (Script)(Script)

ASP.NET AJAX ASP.NET AJAX Server Server ControlControl

ASP.NET AJAX ASP.NET AJAX Server Server ControlControl

Page 59: MSDN Dec2007

DemoDemo

Silverlight and ASP.NET AJAX Silverlight and ASP.NET AJAX Data Exchange in the Photo Data Exchange in the Photo Viewer controlViewer control

Page 60: MSDN Dec2007

AJAX Controls with Silverlight 2.0AJAX Controls with Silverlight 2.0

Silverlight 2.0 (was 1.1) = code behind in .NETSilverlight 2.0 (was 1.1) = code behind in .NETMany controls comingMany controls coming

Includes XAML (futures) controls – XAML and MediaIncludes XAML (futures) controls – XAML and Media

Toolkit includes controls & extendersToolkit includes controls & extenders

AJAX incorporated in controlsAJAX incorporated in controls

ASP.NET ASP.NET AJAX AJAX

Server Server ControlControl

ASP.NET ASP.NET AJAX AJAX

Server Server ControlControl

AJAX AJAX ControlControl(Script)(Script)

AJAX AJAX ControlControl(Script)(Script)

Silverlight Silverlight ComponeCompone

ntnt(XAML, .N(XAML, .N

ET)ET)

Silverlight Silverlight ComponeCompone

ntnt(XAML, .N(XAML, .N

ET)ET)

Page 61: MSDN Dec2007

DemoDemo

ASP.NET Futures ControlsASP.NET Futures Controls

Page 62: MSDN Dec2007

Silverlight 2.0 – customize or build Silverlight 2.0 – customize or build controlscontrols

HTMLHTMLHTMLHTML

MIniCLR + MIniCLR + JavascriptJavascriptMIniCLR + MIniCLR + JavascriptJavascript

XAMLevents methods

Media – wmv, mp3, etc…

URI query to WebDataService – [WebGet] + LINQ

New or custom Silverlight controls

Page 63: MSDN Dec2007

ResourcesResources

Silverlight Community SiteSilverlight Community Sitehttp://www.silverlight.nethttp://www.silverlight.net

BlogsBlogshttp://www.nikhilk.nethttp://www.nikhilk.net

http://weblogs.asp.net/scottguhttp://weblogs.asp.net/scottgu

http://blogs.msdn.com/mharshhttp://blogs.msdn.com/mharsh

Page 64: MSDN Dec2007

Please fill out your eval.Please fill out your eval.When you are done, When you are done,

pass them all to the left.pass them all to the left.

Page 65: MSDN Dec2007

Thanks for attending!

Lynn Langit MSDN Developer Evangelist – Southern Californiahttp://blogs.msdn.com/SoCalDevGal