19 – 21 MARCH 2006 Riyadh, Saudi Arabia. Smart Client Development, How to make applications go smarter with VS2005 Goksin Bakir Yage Ltd, Microsoft Regional.

Slides:



Advertisements
Similar presentations
Smart Client applicaties met Visual Basic 2005 André Obelink, MCSD VBcentral.
Advertisements

Sofia, Bulgaria | 9-10 October Developing An Advanced ASP.NET Server Control With Rich Design-Time Goksin Bakir Yage Ltd Microsoft Regional Director, MEA.
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
MICHAEL MARINO CSC 101 Whats New in Office Office Live Workspace 3 new things about Office Live Workspace are: Anywhere Access Store Microsoft.
Microsoft SharePoint 2010 technology for Developers
Getting the Most From Visual Basic 2005 Jay Roxe Lead Product Manager Visual Studio.
1 Actuate Corporation © 2010 THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE BIRT COMPANY THE.
Advanced Workgroup System. Printer Admin Utility Monitors printers over IP networks Views Sharp and non-Sharp SNMP Devices Provided Standard with Sharp.
GPPC Connections 2011 | November 6-8 | Las Vegas, NV Dynamics GP12 Web Client Deployment and Management Overview Kevin Racer, Sr. Program Manager.
Developing Smart Client Applications For The Enterprise Keith Elder Team Leader / Sr. Software Engineer Quicken Loans Blog:
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Occasionally Connected Smart Clients Steve Lasker Program Manager Visual Studio Microsoft Corporation
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
Windows Forms in Visual Studio 2005: An in-depth look at key features Name: Mike Henderlight Title: Program Manager.
Create Windows ® Applications with.NET Allan Knudsen.NET Developer Evangelist Microsoft.
27. to 28. March 2007 | Geneva, Switzerland. Fabrice Romelard ilem SA Level 200.
What’s New for Smart Client Developers in Visual Studio 2005? Mike Pelton Systems Engineer Microsoft Ltd
Interpret Application Specifications
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Occasionally Connected Smart ClientsPRS034 Steve Lasker Program Manager Microsoft Corporation.
What’s new for Rich Clients? Martin Parry Developer & Platform Group Microsoft Ltd
Microsoft Office SharePoint Server Business Intelligence Tom Rizzo Director, Microsoft Office SharePoint Server
Open and save files directly from Word, Excel, and PowerPoint No more flash drives or sending yourself documents via Stop manually merging versions.
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Developing for the Microsoft Office System Jay Schmelzer Group Program Manager – Visual Studio.
Building Offline/Cache Mode Web Apps Using Sync Framework Mike Clark Group Manager Cloud Data Services Team
Create with SharePoint 2010 Jen Dodd Sr. Solutions Consultant
GPPC Connections 2011 | November 6-8 | Las Vegas, NV Dynamics GP12 Web Client Today and in the Future Kevin Racer, Sr. Program Manager.
Smart Client Applications for Developers Davin Mickelson, MCT, MCSD New Horizons of MN.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Overview of SQL Server Alka Arora.
Classroom User Training June 29, 2005 Presented by:
Module 8: Managing Client Configuration and Connectivity.
Microsoft Confidential Office as a Development Platform Tim Heuer
In addition to Word, Excel, PowerPoint, and Access, Microsoft Office® 2013 includes additional applications, including Outlook, OneNote, and Office Web.
Section 1: Introducing Group Policy What Is Group Policy? Group Policy Scenarios New Group Policy Features Introduced with Windows Server 2008 and Windows.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
 Evolution of Smart Client  What is Smart client?  Types of Smart client  Architectural challenges  Smart Client Architecture  Demo application.
DEV325 Deploying Visual Studio.NET Applications Billy Hollis Author / Consultant.
Windows Forms: Harnessing The Power And Flexibility Of Windows Forms 2.0 Erick Ellis PRS402 Program Manager.NET Client Microsoft Corporation.
DEV363 Smart Client: Getting the Most out of Windows Forms and WPF Brad Abrams Group Program Manager.NET Framework Team
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Windows Forms in Visual Studio 2005: An Overview Name: Joe Stegman Title: Lead Program Manager Session code.
What’s new in Kentico CMS 5.0 Michal Neuwirth Product Manager Kentico Software.
James Akrigg Microsoft Ltd Integrating InfoPath Forms Into Workflow Solutions And Business Processes.
Microsoft Management Seminar Series SMS 2003 Change Management.
Windows Forms in Visual Studio 2005: An in-depth look at key features Name: Joe Stegman Title: Lead Program Manager Session code.
> > >> < <
1 Visual Basic “Whidbey”: RAD for the Visual Basic Developer Jay Schmelzer and Shamez Rajan Program Manager Microsoft Corporation Jay Schmelzer and Shamez.
Microsoft Visual Studio 2005 Tools for the Office System: Building Office Solutions Using Visual Studio 2005 Tools for Office Andrew Coates Developer Evangelist.
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Gowtham Prasad K N Partner Technical Consultant | Microsoft Corporation |
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
Excel Services Displays all or parts of interactive Excel worksheets in the browser –Excel “publish” feature with optional parameters defined in worksheet.
Spaso Lazarević Microsoft MVP Nova banka ad Banja Luka Building business application using Visual Studio 2013 LightSwitch.
SQL Server Reporting Services for.NET Developers Bret Stateham
Exploring Networked Data and Data Stores Lesson 3.
Visual Studio 2005, and.NET 2.0 Michael Juřek Microsoft Czech Republic Software Architect
ClickOnce Deployment (One-click Deployment)
Occasionally Connected Smart Clients
Introducing the Windows Mobile development
5/20/2018 2:53 AM © 2006 Microsoft Corporation. All rights reserved.
Business Connectivity Services in SharePoint 2010 and Office 2010
Visual Studio Tools for Office 2005
Visual Studio 2005 Tools For Office: Creating A Multi-tier Application
ClickOnce Deployment (One-click Deployment)
Windows Forms in Visual Studio 2005: An in-depth look at key features
Introduction to ASP.NET Parts 1 & 2
Windows Forms in Visual Studio 2005: An Overview
Mark Quirk Head of Technology Developer & Platform Group
Presentation transcript:

19 – 21 MARCH 2006 Riyadh, Saudi Arabia

Smart Client Development, How to make applications go smarter with VS2005 Goksin Bakir Yage Ltd, Microsoft Regional Director, MEA

Agenda Smart Clients Tools ToolStrips Custom renderers, colors, items DataGridView Custom painting, formatting, column types BackgroundWorker Cancellation, progress updates, responsive UI TableLayoutPanel Dynamic layout, content Scenarios

Smart Client Tough to deploy Heavyfootprint “DLLHell” Networkdependency Reduced Reduced User UserExperience Complex to develop Web services and offline/online support Deviceadaptability Broad reach Easy change management Easy to deploy Rich User Experience High developer productivity ResponsiveUI

Smart Client Features Local resources Direct display and peripheral access Responsive graphics, printers, digital camera’s, etc. Use of installed applications Word, Excel, VSTO Connected Access to network resources Web services, SQL Databases

Smart Client Features Offline capable Cache online data Update when connected Datasets in smart documents Intelligent deployment and update Easy non-administrator deployment Automatic updates Smart document deployment Rich / easy developer experience

Smart Client Technologies Visual Studio 2005 Rich visual designer support Integrated ClickOnce testing and deployment Visual Studio Tools for Office.NET Framework 2.0 Windows Forms 2.0 ClickOnce deployment

Visual Studio 2005 Project templates Get up and going quickly Common application types Designers Simplifies development of UI and layout Rich User Control development Rich support for Custom Controls

What is “smart” Local resources and user experience Offline capable Intelligent deployment and update Multithreaded Crash Proof

Visual Studio 2005 Data New data-bound controls Schema-based typed-data set designer Support for iterative maintenance of generated data-code Partial types for maintainable customizations of auto- generated code Reduced need for “mapping” or “glue” code Server explorer Integrated data manipulation

ClickOnce Deployment ClickOnce application deployment published on a web or file server Client follows link to server Application deployed locally in user’s profile directory & executed Subsequent executions check for updates & execute local install Server Client application files

ClickOnce Smart Client deployment technology Provides web-deployment simplicity End User Provide web-deployment flexibility Publisher Other parallels to web-applications Applications are isolated per-user Can be executed with limited local permissions Locally executed, rich features

ClickOnce Features Follow a link to install an application Automatic w/minimal or no decision points web-style deployment Automatic update of application Security isolation and optional restricted permissions Non-administrative installs

ClickOnce & VS 2005 Project Settings  Publish tab Set deployment location Configure data files for deployment Other settings: version, online-only or online-offline, CD installations and other details Project Settings  Security tab Calculating permissions required by your application to function Also add permissions using SecurityException at runtime Setting permissions in the manifest required to run Partial trust and full trust supported

Application Updates Auto-update deployment options Before application launch, or Update check occurs after app-launch Scheduled update checks Weekly, monthly, etc. Project Settings  Publish tab Settings for update checking

ToolStrips Replaces MainMenu, ContextMenu, ToolBar and StatusBar HWNDless architecture Same OM across all containers System and professional renderers ToolStripControlHost

Datagridview Replaces DataGrid Extensible and Flexible Bound, Unbound, Virtual, Mixed Eleventy billion PMEs Text, Image, Button, Link cells/columns Cell-based, not Column-based Cell styles (Font, Color, Formatting) Cell-level events Mouse, Formatting, Validate, Error, others... Custom Column Types High performance Display, scrolling, updates

Backgroundworker BackgroundWorker Simplify creating responsive applications Easier to perform long running tasks without “freezing” the UI Simplify Thread use in Windows Forms applications

Automatically acquired ThreadPool Thread no UI updates allowed… UI Thread DoWork(){ If (!CancellationPending){ If (!CancellationPending){ FindInFiles() FindInFiles() }} StartFindInFiles() ProgressChanged(){ Update UI Update UI} RunWorkerCompleted() EndFindInFiles() RunWorkerAsync() ReportProgress() Diagram: BackgroundWorker

Tablelayoutpanel Layout Controls TableLayoutPanel Similar to HTML Table control Address localization scenarios Facilitate creation of resizable UI Support data-driven UI (e.g., labels from a DB)

Diagram: Login Dialog Equal %, preserve minimum size, lower right alignment Only occupy necessary space Right aligned, Grow/Shrink to accommodate label length AutoScaleRightToLeft Font Changes DPI Changes

DEMO

What Is: Occasionally Connected Empowering users to leverage their computer, applications, data and files regardless of network availability Application proactively retrieves necessary data necessary to work offline As the network comes available, the application will automatically sync their work and log conflicts for the user to resolve Network operations occur in the background so the user can stay focused on their task Example: Outlook 2003

Resources Needed Offline Data A subset of the data from the server(s) Heterogeneous Sync (SQL Server, Oracle, DB2, …) Files Not all data exists within the database Media files, Office Files, … Application Messaging (Web Services, WCF, …) Ability to queue outbound messages Ability to async process inbound messages Read Only Informational/Reference Data Services Ability to pre-fetch data from existing services

Occasionally Connected Smart Client Background Tasks Network Resources Data Sync Services Data Access API Data Store Message Queuing Message Caching Files File Sync Services Microsoft Windows / Windows Mobile Visual Studio Smart Client Application / UI Application Updates Canned UI Controls

Sales Smart Client Background Tasks Works Corp Architecture Network Services SyncServices Data Store WeatherCaching Order Submission Queue Promo Videos App Logic DesktopTabletPCPocketPC Smart Phone DataServer Sync Service s Order WeatherServices Product Catalog My Customers Order Scratchpad My Inventory App Updates

Which Local Data Store? Microsoft Database Technologies SQL Server 2005 SQL Server Express Edition SQL Server Mobile Edition Jet (Access) Microsoft Visual FoxPro (.dbf) Excel XML WinFS Something new

SQL Server Express Great improvements over MSDE Simple install from web or local MSI ClickOnce will BootStrap SSE if not installed Connect w/File Path Connection String User Instance feature for File Path Connecitons Great for VS Development

Deploying SSE For Occasionally Connected Scenarios Base Install of SSE ClickOnce Bootstrapper Requires Admin Rights Replication w/SSE Replication not supported w/User Instances Enable SQL Server Authentication Add DBO Privileged Account Script creation of database Verify / Create / Attach database at startup Deploy SQL Server Replication.Dlls

Occasionally Connected Devices Servers Desktops Laptops Tablet PC’s Windows CE Pocket PC Smart Phone ? Win 32 Sweetspot

Local Database Options Server Workgroup Desktop Laptop Tablet PC Windows CE Device Pocket PC Smart Phone Win 32 SQL Server Express SQL Server Multi User Single User Scenarios SQL Mobile

Deploying SQL Server Mobile SQL Server Mobile Engine Add runtime dlls to project (sqlce*.dll) C:\Program Files\Microsoft Visual Studio 8\Common7\IDE File size <1.4mb Set files to Copy to Output Directory = Copy if newer ADO for SQL Server Mobile Add reference to Microsoft SQL Mobile Located in: C:\Program Files\Microsoft Visual Studio 8\ _ Common7\IDE\PublicAssemblies\System.Data.SqlServerCE.dll File Size ~224k

How - To Sync Roll your own Ultimate in flexibility Highest cost to develop and maintain Merge Replication Most power, broadest features for different data partitions, spans all devices Need DBO/DBA privileges, must “own” server Remote Data Access (RDA) Easy entry point for well partitioned data, no config to database Limited to SQL Server Mobile TechnologyRoll your own Merge Replication Remote Data Access XML - DataSets SQL Server Express SQL Server Mobile

Local App RDA Sync Architecture Server Data SQL Server Mobile Database Engine DAL UI InOut IIS w / Sync ISAPI dll RDA Sync Engine

BackgroundTasks / Steps Runs on a background thread of the application Executes collection of steps Start / Stop similar to Windows Services Executes in a loop based on a Timer Can be triggered by Network Resources Marshals progress / completed info to UI thread

Community Resources INETA MEA ! mea.ineta.org

Smart Client Summary Rich features easier than ever to implement Windows Forms 2.0 new controls Windows Forms 2.0 improved data integration Installation and update easier than ever ClickOnce web-style simplicity ClickOnce web-style security SmartClient rich feature-set Customers access existing and new application features easily Customers access your application with or without network connectivity