What's New in Smart Clients in VS2008

Download Report

Transcript What's New in Smart Clients in VS2008

Originally founded in 1985 as Rock Financial by Dan Gilbert
Grew to one of the largest independent mortgage banks in the
country
1998 IPO
1999 Launched Rockloans.Com
1999 Intuit, Inc (makers of TurboTax and Quicken) purchased Rock
Financial.
July 2002 Dan Gilbert purchased Quicken Loans back from Intuit.
Retained Quicken Loans branding and marketing initiatives.
4500 employees
Largest online retail home loan lender
Working with Data
Taking Data Offline
User Profiles
User Experience
Deployment
Services
Visual C#
Others
Visual Basic
.Net Language Integrated Query (LINQ)
LINQ-enabled data sources
LINQ-enabled ADO.NET
LINQ
To
Objects
Objects
LINQ
To
Datasets
LINQ
To SQL
Relational
LINQ
To XML
LINQ
To Entities
XML
Problems:
Nowhere to keep local data
Keeping local and server in sync
What it is:
• Very small (~1MB) embedded, in-proc database
• Nice subset of SQL Server types and SQL dialect
• Does not have: Stored Procs, Views, Xquery
• Why limit programming to T-SQL when you have managed code
Where it’s
deployed
• Mobile & Embedded devices
• Windows Vista, Media Center PC, MSN Client,
ZUNE, Windows Media Player, …
• Default Local/Client database offering in VS 2008
Scenarios
•
•
•
•
Local online / offline cache
Local, stand alone application database
Persistent data manager for In-Memory database
Structured document format for custom apps
Allows us to sync data from client to
server
But is that the Smart Client way?
Data Forms
Client
Data Access
Client
SyncProvider
SQL Server
Compact
Edition 3.5
SyncAgent
SQL Server
Compact Edition
3.5
ServerSyncProvider
Sync Agent
Server DB
Move the server components to another dll, hosted on a remote server
Shim in a service (WCF) and a matching proxy
Data Forms
Client
Data Access
Client
SyncProvider
SQL Server
Compact
3.5
SyncAgent
SyncGroup
SyncTable
Server
Transport
ServerSyncProvider
Service
Proxy
Service
Server DB
SyncAdapter
Experience unchanged on lost connectivity
Internet
Client App
Web Services
Authentication
Roles
Profiles
Web Page
Problem:
Design Matters
Provide a solution that allows Windows Forms
and Windows Presentation Foundation (WPF) to
coexist within the context of a single, hybrid
application
Spice up your existing Windows Forms application
with WPF content
Add Windows Forms Line of Business controls to your
WPF application
Developer can interact fully across technologies
End user cannot detect technology transitions
Drag and drop WPF user controls directly onto
your Forms
Live preview of the WPF hosted content
Edit content using the best designer for the job
WindowsForms designer for Form layout
WPF UserControl editor for WPF content
Hosted Control Model
Windows
Forms
Host
Element
Host
Services to Support Coexistence
Type
Converters
Focus
Manager
Keyboard
Manager
Extensible
Property
Mapping
Expression Blend
Control Templates
Data Templates
Animation
Advanced Layouts
Triggers
Visual Studio 2008
Layout
XAML Editing
Element Navigation
VB & C# code editing
Debugging
Deployment
Web Services
Cluster
Database
Business Logic
Documentation
Visual Studio 2005
ASMX and WSE 3.0
Remoting
Enterprise Services
Visual Studio 2008
Windows Communication Foundation
(WCF)
Clients
WCF Service Application
replaces the old Asp.Net Web
Service known as *.asmx
Other WCF service options
include service options
leveraging Workflow
Foundation
Smart Client Deployment Meets Web Deployment
Isolated Low Impact Declarative Installation
Auto Update
Deep Microsoft Visual Studio Integration
Rich Security Model
Added Firefox Support
Application no longer tied to a publish location on signing
Distributed Apps maintain the author’s branding
Auth Certificates now renewable across updates
Works across authenticated proxies
Features
New Winform Template
• New Report Project Template
• Provides
• A report (rdl)
• A form
• Report Wizard
Similar to the
Build Error List
Prevents
controls from
disappearing
List was :
Vague
Cluttered
Imposing
Frustrating
Improved
usability
Groups similar
errors into
buckets
Provides
targeted help
Links to the
MSDN Forums
Allows you to
“Ignore and Continue”
Dramatically simplify the way to define, develop,
configure, deploy and manage client applications
Rich, extensible run-time framework
Design-time tools to support visual
composition of components
Leverages Windows Presentation
Framework (WPF), Windows Workflow
Foundation (WF), Windows
Communications Foundation
(WCF) technologies