32

Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Embed Size (px)

Citation preview

Page 1: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications
Page 2: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Microsoft Visual Studio 2010 Overview for the Business Application Developer

Louis de KlerkConsultantInobits Consulting

Page 3: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Agenda

Visual Studio 2010 GoalsDemos

Modern Client LOB ApplicationsModern Office Business ApplicationsModern Browser LOB applications

Page 4: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Visual Studio 2010 for Business Apps

Build Modern Line Of Business ApplicationsRAD data binding for Client and Web“In the box” support for SharePoint developmentDevelop for multi-versions of Office, 32 or 64-bit

General Productivity ImprovementsCore shell and editor enhancementsLanguage parity improves programming model ADO.NET Entity Data Model and Data Services

Page 5: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Visual Studio 2010demo

Page 6: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

ADO.NET Data Services

Page 7: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

ADO.NET Data Services - OverviewPatterns and libraries to expose data as a service using a uniform interface to be consumed by web clients

Middle tier (WCF-based) service framework to create REST-based data services designed to expose a range of data sources

Simple, interoperable REST conventions Client libraries to consume the servicesVS Integration to create and consume data services

Page 8: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

ADO.NET Data Services

Entity Data Model

URIs

HTTP

Formats

Client

• The underlying model• Entities and associations resources and

links

Patterns and libraries to expose data as a service using a uniform interface to be consumed by web clients

A REST Interface for Data

Page 9: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Target Scenarios

• Astoria Data service is part of the website• JSON support for easy access to dataAJAX• Data service also part of the website• Astoria client presents natural .NET LINQ enabled APISilverlight• .NET desktop/web & mobile applications• Data source sits across the web• Simple object based based API with LINQ support

.NET Desktop & Mobile Apps

• Open, interoperable, standards based platform and conventions• Easily create data services clients on a third party platformsNon MSFT Clients

• Framework to enable easy creation of data services• Sharepoint, RedDog, SSDS, etc are currently implementing their REST

interfaces using ADO.NET Data Services Framework

Platform Cloud Services

Page 10: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

WPF / Silverlight Designer Enhancements

Page 11: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Goal: More Designer, less XAML •Interactive designer just like the WPF designerSilverlight Just Works

•Drag and drop Databinding, DataBinding Picker•Sample DataRAD Databinding

•More containers, support for auto-sized containers, easier Grid editing, less destructive of your XAMLMore Complete Layout

•More editors – Brush, Font, Layout , Image•Control designers (DataGrid etc.)Richer Property Editing

•Finding and using resources is easy•Online Style Gallery of “make me pretty” resources

Easy Resource Consumption

•Control tree visualizer•Easy control over diagnostic outputBetter Debugging

Page 12: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

VS 2010 Customer Experience

“Silverlight Just Works”RAD DatabindingBetter layoutRicher property editingEasy to pick Styles and ResourcesBetter debuggingBetter XAML editing

Page 13: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

VB/C# Language Enhancements

Page 14: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Visual Basic Language Enhancemets

Auto Properties Implicit Line Continuation

DynamicCollection Initializers

Statement Lambdas

Page 15: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

C# Language Enhancementsobject fileName = "Test.docx";object missing = System.Reflection.Missing.Value;

doc.SaveAs(ref fileName, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing, ref missing);

namedRange.Find("dog", xlByRows, MatchCase: True);

Named argument

dynamic result = namedRange.Find(MatchCase: True, what: "dog",

searchOrder: xlByRows);

Arguments evaluated in order written

Named arguments can appear in any order

doc.SaveAs("Test.docx");

Optional Params

result.ClearContents();

Late-binding through “dynamic” type

Page 16: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Office Programmability Enhancements

Page 17: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Office ProgrammabilityC# parity with VB:

Named and Optional parameters, Omitting “ref” for COM, Implicit dynamic binding for COM

No PIA

Page 18: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

SharePoint Developer Support

Unified and integrated development experience in Visual Studio

Team Development - TFS IntegrationReducing complexity – XML schemas, CAML, various config filesImproved F5 ExperienceImproved Packaging & Deployment Experience

Page 19: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

VS2010: Tools for SharePoint Developers

Target platform:Continue supporting SharePoint v3 Workflow projectsAdditional tooling experiences targeting SharePoint v4

Key Designers and Features:Web parts designerApplication / master page designerPackaging and feature designerWorkflow designerBusiness Connectivity Service Model designerSharePoint ExplorerExtensible Infrastructure

Page 20: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Streamline the Developer Experience1. Create a project to put the workflow in2. Add an XML feature definition file and edit the XML

a. Add GUIDb. Add titlec. Add descriptiond. Add manifest location

3. Add an XML workflow template definition file and edit the XMLa. Add GUIDb. Add namec. Add description

4. Add a code item for the workflow code5. Design the actual workflow, add code etc. (This is the “real” developer task)6. Build and sign the assembly

a. Add key file7. Install assembly into the Global Assembly Cache8. Extract public key token9. Add key token to workflow template definition file10. Create DDF file to specify manifest for CAB file11. Build CAB file to package up feature definition workflow definition file 12. Copy cab file to SharePoint file system13. Invoke stsadm on the SharePoint box to install workflow14. Reset Internet Information Services15. Press F516. Attach to WPW3.exe process17. Manually associate workflow with document library using web pages

Page 21: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Looking forward a bit: .NET RIA Services

Page 22: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

.NET RIA Services - Value Propositions

Focus on data in an end-to-end mannerA unified story for client and server developmentA prescriptive framework that targets key scenarios, and leads the common developer to success

Page 23: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

End-to-End Focus on Data

Beyond accessing and editing rowsApp-specific custom operationsData shaping (sorting, paging, and filtering)Rules (validation, authorization, and conflict handing)Batching and offline

Page 24: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Web ApplicationBrowser Rich Internet Application

DB

Services

Other Applications

App Model that Spans Tiers

A single logical applicationClient is an extension of the server

Data Access Layer

AppLogic

Services

HTMLPresentati

onLogic

Network

Services

Page 26: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Visual Studio 2010 for Business Apps

Build Modern Line Of Business ApplicationsRAD data binding for Client and Web“In the box” support for SharePoint developmentDevelop for multi-versions of Office, 32 or 64-bit

General Productivity ImprovementsCore shell and editor enhancementsLanguage parity improves programming model ADO.NET Entity Data Model and Data Services

Page 27: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Related Sessions ( .NET 4)When What Area Code

Mon 8:00 Future Directions for Visual Basic Languages DTL308

Mon 17:15 The State of Dynamic Languages on the Microsoft .NET Framework

Languages DTL304

Tues 9:15 Introduction to F# Languages DTL:319

Tues 16:15 The Future of C# Languages DTL310

Mon 9:15 The Manycore Shift: Making Parallel Computing Mainstream

CLR/BCL DTL206

Tues 17:30 Managed Extensibility Framework CLR/BCL DTL315

Tues 14:30 A First Look at WCF and WF in the Microsoft .NET Framework 4.0

Middle SOA201

Mon 17:15 The ADO.NET Entity Framework 4 Data DTL402

Tues 17:30 An Introduction to the ADO.NET Data Services Framework v1.5

Data DTL208

Page 28: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Related Sessions ( .NET 4)TIme Topic Area Code

Mon 15:45 Building Scalable and Available Web Applications with the Microsoft Code Name "Velocity"

Web WUX301

Tues 10:50 A Lap around Microsoft ASP.NET 4.0 and Microsoft Visual Studio 2010

Web WUX203

Wed 9:00 Taking AJAX to the Next Level** Web WUX306

Mon 8:00 Building Rich Business Clients in WPF: New Tools and Controls for Windows Presentation Foundation

Client WUX303

Tues 13:15 Microsoft Visual Studio 2010 Overview for the Business Application Developer

General DTL309

Page 29: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

www.microsoft.com/teched

International Content & Community

http://microsoft.com/technet

Resources for IT Professionals

http://microsoft.com/msdn

Resources for Developers

www.microsoft.com/learning

Microsoft Certification & Training Resources

Resources Tech·Ed Africa 2009 sessions will be made available for download the week after the event from: www.tech-ed.co.za

Page 30: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

Complete a session evaluation and enter to win!

10 pairs of MP3 sunglasses to be won

Page 31: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

question & answer

Page 32: Louis de Klerk Consultant Inobits Consulting Agenda Visual Studio 2010 Goals Demos Modern Client LOB Applications Modern Office Business Applications

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,

IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.