defy occasionally-connected challenges with smart client...

38

Upload: hanga

Post on 06-Feb-2018

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices
Page 2: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices
Page 4: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Andrew CoatesDeveloper Evangelisthttp://blogs.mdn.com/acoat

Page 5: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Brad MooreDevelopment Manager Mincom MineScape

{ Building the next generation Mine Design solution with Visual Studio 2008, WPF/XAML and Direct 3D }

Page 6: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Headquarters in Brisbane, > 1200 employees in offices around the globe.

including mining, government, defence, utilities and transport.

MineScape has been used to support mining operations for over 25 years.

solution to support mine design and operation.

Mincom

Page 7: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Geological Modelling

Page 8: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Mine Design

Page 9: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Scheduling

Page 10: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Our Project MineScape 5

Customer needs:

Sophisticated user interfaces including 3D graphics

Intuitive user experience

Productive, high performance

Integration

Our needs:

High productivity

High quality

Page 11: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Project Technology

From MineScape 4

Open GL

X/Windows, Motif

Proprietary Scripting Language

To MineScape 5

Direct 3D

Windows Presentation Foundation (WPF)

.NET 3.5

Page 12: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Challenges

Scale!

> 650 Visual Studio Projects

5,500,000 million lines of C++, Fortran

1,000,000 proprietary script (converted to C#)

5000 forms (converted to XAML)

Distributed Teams

Dev teams working across 3 continents

Page 13: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Why choose Visual Studio 2008?

WPF was the primary driver.

Research showed WPF & XAML to provide large efficiencies in the project.

.NET 3.5 and VS2008 provide the best support for WPF.

Vista is our target platform

In conjunction with VSTS we have a single environment to support our dev processes

Testing, coverage, metrics, code analysis, source control, work items, automated builds.

Page 14: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Managing our risks

Mincom has strong .NET development expertise and a close ISV relationship with Microsoft.

We have done this successfully before with VS2005.

Signed up with Microsoft for the Orcas TAP program aligned with the Cider (WPF) designer team.

Using the beta in production from the beginning.

R&D for this project commenced in 2006, we

Page 15: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Lessons Learned

Visual Studio 2008.We planned how and when the new features would be put into use

Able to replace our previous VS2005 toolset with a single IDE

Gets the thumbs up from the dev team

WPF and XAML offer powerful new features for the UI

In our project, the use of XAML also provided large efficiencies in converting 5000 legacy forms

WPF is completely new and requires a large learning curve. Be well prepared if you are going to dive into it.

Page 16: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Brad MooreDevelopment Manager Mincom MineScape

{ Building the next generation Mine Design solution with Visual Studio 2008, WPF/XAML and Direct 3D }

Page 17: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Software DevelopersToday Are

Expected To MaximizeThe Web

Even whenit is notalways

available

Page 18: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Windows Presentation Foundation ® (WPF) providesa framework with a video game quality 3D engine

Make applications light-up on Windows Vista®

Visual Studio® 2008 provides designer supportfor WPF, WCF and WF

Right Experience

The .NET Framework 3.5 makes it easyto construct connected applications

Offline synchronization is easily enabledin Visual Studio 2008

Fast, safe and reliable services

Page 19: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices
Page 20: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

How do you create a breakthrough UX when all you haveare list boxes, text boxes, buttons and labels?

Challenge

Windows Presentation Foundationenables UX breakthroughs with

Unconstrained parent-child control relationships

Any WPF element can be animated and bepart of a key frame

these very productive to construct

Solution

Windows Presentation Foundation

Page 21: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices
Page 22: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

XAML is a new, complex mark-up language

Visual Studio 2008 includes an interactive what you see is what you get designer for WPF

Visual Studio 2008 and Expression Blend 2 interoperate seamlessly

IntelliSense in XAML ensures developer productivity

Challenge

Solution

WPF Designers and Expression Blend

Page 23: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

WPF Designers and Expression Blend

Page 24: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

WPF Designers and Expression Blend

Page 25: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

{ Visual Studio 2008 And Expression}

Page 26: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

I want to update my C++

not sure where to start

Challenge

Solution

MFC applications just need to be recompiledto take advantage of Vista

New common dialog boxes,

MFC Dialog Designer supports new Vista controls

Network Address Control (with validation)

Split Button

SysLink Button

Command Button

Taking advantage of Vista from C++

Page 27: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

New MFC ControlsSplit buttons are used extensively in Vista

Effective way of saving screen real estate

Part of the new MFC Dialog Resource Designer

Page 28: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

New MFC Controls

New Windows Vista guidelines include using

Communicate with users on a more personal level

Command buttons areone way to implement

Use short personal phrases

Page 29: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices
Page 30: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

New MFC Controls

The Shield icon is usedin Vista to indicate an operation that requires rights elevation

SetShield() methodin MFC toggles thisicon in a CButton

Page 31: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

New MFC Controls

New MFC controls provide Office, Internet Explorer and Visual Studio look-and-feel components

Available as a free update to MFC in Q2

Page 32: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

{ Lighting Up MFC Applications On Windows Vista}

Page 33: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

I need an application that workswhen I am not connected

Challenge

Visual Studio 2008 provides a local database cache wizard that provides turn-key offline capabilities for your application

Solution

Sync Services and the Local Database Cache

Page 34: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Sync Services and the Local Database Cache

Page 35: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Windows Presentation Foundation (WPF) providesa framework with a video game quality 3D engine

Make applications light-up on Windows Vista

Visual Studio 2008 provides designer support forWPF, WCF and WF

Right Experience

The .NET Framework 3.5 makes it easy to construct connected applications

Offline synchronization is easily enabledin Visual Studio 2008

Fast, safe and reliable services

Page 37: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

Andrew Coateshttp://blogs.msdn.com/acoat

Page 38: Defy Occasionally-connected Challenges With Smart Client ...download.microsoft.com/documents/australia/heroes/Visual_Studio... · Headquarters in Brisbane, > 1200 employees in offices

© 2008 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.