msdn dec2007

Post on 18-Oct-2014

3.760 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

TRANSCRIPT

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

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.

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” !!!

</Sponsors></Sponsors>

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!!

.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

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

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

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

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!

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

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

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…

• 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)

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

DeveloperDeveloperProductivityProductivity

TeamTeamCollaborationCollaboration

Support forSupport forthe Latestthe LatestPlatformsPlatforms

ArchitectsArchitectsDevelopersDevelopersDesignersDesigners

TestersTestersProjectProject

ManagersManagers

HobbyistsHobbyistsEnthusiastsEnthusiasts

StudentsStudents

Database EditionDevelopment Edition

Architecture Edition Test Edition

Team Foundation Server

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…

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

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

{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}

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

{JavaScript Intellisense}{JavaScript Intellisense}

{JavaScript Debugging}{JavaScript Debugging}

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

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

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

Classesdescribe

data

Classesdescribe

dataTables are

likecollections

Tables are like

collectionsStrongly

typedconnections

Strongly typed

connectionsIntegrated

query syntax

Integratedquery syntax

Strongly typedresults

Strongly typedresults

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 …

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

{ListView and DataView}{ListView and DataView}

{LINQ}{LINQ}

{AJAX Support}{AJAX Support}

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

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

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

{WCF}{WCF}

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

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

Future Technology

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)

HTMLHTMLHTMLHTML

Java ScriptJava ScriptJava ScriptJava Script

XAMLevents methods

Media – wmv, mp3, etc…

Proxy – [ScriptService] + LINQ

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

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

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

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

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.

Service OperationsService OperationsAuditing, logging, moreAuditing, logging, more

InterceptorsInterceptorsControls over specific operationsControls over specific operations

More granular securityMore granular security

HTMLHTMLHTMLHTML

MIniCLR + MIniCLR + JavascriptJavascriptMIniCLR + MIniCLR + JavascriptJavascript

XAMLevents methods

Media – wmv, mp3, etc…

URI query to WebDataService – [WebGet] + LINQ

New or custom Silverlight controls

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

It’s always better live. MSDN Events

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

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

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

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

DemoDemo

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

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)

DemoDemo

ASP.NET Futures ControlsASP.NET Futures Controls

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

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

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.

Thanks for attending!

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

top related