Module 11: Application Settings and Deployment

Slides:



Advertisements
Similar presentations
COMPANY LOGO HERE Getting Started 1. Download the setup file: Go to Click on the Visit Setup Page link (includes Java.
Advertisements

17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
This presentation describes how to save files so that they cannot be changed by any user. This technique is a simple way of giving access to documents,
Will
Microsoft ® Official Course Module 3 Managing Disks and Device Drivers.
Module 5: Creating and Configuring Group Policy
Configuration Files CGS2564. DOS Config.sys Device drivers Memory configuration Autoexec.bat Run programs, DOS commands, etc. Environment settings File.
The Windows Registry Adapted from
Michael Donovan, River Campus Libraries – 12/03 DocuShare Overview and Training.
PowerPoint 2002 Linking Video in Presentation and Delivering Presentation on the Road.
How to install the Zelle graphics package
Becky Bertram SharePoint MVP
Web FOCUS Integration with Microsoft Office SharePoint By: Kelvin Ruiz NASA – Kennedy Space Center.
Operating System & Application Files BACS 371 Computer Forensics.
OS and Application Files BACS 371 Computer Forensics.
Introduction to R Statistical Software Anthony (Tony) R. Olsen USEPA ORD NHEERL Western Ecology Division Corvallis, OR (541)
Module 5: Application Settings and Deployment. Overview Working with Application Settings Deploying Applications.
ITE 370. Deployment Deployment is the process used to distribute a finished application (or component) to be installed on other computers.
Tutorial 11 Installing, Updating, and Configuring Software
© 2012 Avaya, Inc. All rights reserved, Page 1 Module Duration: Module 05: Handling Data in Bulk 3 Hours.
© 2011 Autodesk CP5239 Demand-Loading AutoCAD®.NET Plug-ins James E. Johnson Synergis Software Sr. CAD Developer.
ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
Integrated Development Environment (IDE)
In this activity, we are going to create a resume file with Microsoft Word and save it in the folder ‘My Documents’. Activity 2 Creating and saving a resume.
Module 2: Configuring Disks and Device Drivers
Module 2 Configuring Disks and Device Drivers. Module Overview Partitioning Disks in Windows® 7 Managing Disk Volumes Maintaining Disks in Windows 7 Installing.
Regis: Academic Research Network: ARN ARN Getting Connected Drive Mapping SQL*Plus Spooling Your Work Presented by “SOETJAHJO”
Module 7: Accessing Data by Using ADO.NET
Week #3 Objectives Partition Disks in Windows® 7 Manage Disk Volumes Maintain Disks in Windows 7 Install and Configure Device Drivers.
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 23 – The Registry.
XP Practical PC, 3e Chapter 3 1 Installing and Learning Software.
EIE375 BlueJ: Getting Started Dr Lawrence Cheung.
Packaging for Voracity Solutions Control Panel David Turner.
MCTS Guide to Microsoft Windows Vista Chapter 12 Application Support.
Lesson 3: Migrating and Configuring User Data
Module 5: Creating and Configuring Group Policies.
Package & Deploy. OBJECTIVES Package Deploy Way to package.
DATABASE DESIGN LAB Session 1 Getting Acquainted with Microsoft Access Database Management System Using for first half of the course Desktop based user.
1 The EDIT System, Overview European Commission – Eurostat.
Computer Graphics Lab 1 OpenGL.
Understand Click Once Deployment Windows Development Fundamentals LESSON 5.1B.
1. Starting 1 Let’s Learn Saenthong School, January – February 2016 Teacher: Aj. Andrew Davison, CoE, PSU Hat Yai Campus
Microsoft ® Official Course Module 6 Managing Software Distribution and Deployment by Using Packages and Programs.
Module 1: Designing IIS Web Farms Changes in a Nutshell shell-shared-hosting-improvements-on-iis7.aspx.
Activity 2 Creating a blank database 1.Start Microsoft Access and then select ‘File’  ‘New’. 2. Click ‘Blank database’ from the panel on the right.
Labs: Create, deploy and test a simple web service
Progress Apama Fundamentals
Packaging and Deploying Windows Applications
Installing and Learning Software
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Getting Started with... Business Partner Express
Installing and Learning Software
Microsoft Dynamics NAV Classic
An In-Depth Look at the Autodesk® AutoCAD® App Autoloader Module
Deploying and Configuring SSIS Packages
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Module 1: Getting Started
office.com/setup installation and Activation
office.com/setup download,installation and Activation support guide
Report & Folder Management
Windows Internals Brown-Bag Seminar Chapter 1 – Concepts and Tools
Accessing & Using NetStorage
Select “Save this to disk” option and click on “OK”
Using JDeveloper.
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
Windows Under the Hood Chapter 13.
Windows Registry: Introduction
Install MySQL Community Server and MySQL Workbench
Report & Folder Management
Presentation transcript:

Module 11: Application Settings and Deployment

Overview Working with Application Settings Deploying Applications

Lesson: Working with Application Settings How to Work With User Preferences and Application Settings How to Save Application Settings by Using XML Serialization How to Save Application Settings to a Database How to Save Application Settings to the Windows Registry

How to Work with User Preferences and Application Settings XML UserPreferences Class UserPreferences up = new UserPreferences(); if (up.DoubleSided) { … } Database Registry

How to Save Application Settings by Using XML Serialization <?xml version="1.0" ?> <UserPreferences xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema- instance">   <pageOrientation>false</pageOrientation>   <doubleSided>true</doubleSided>   <addPageNumbers>true</addPageNumbers> </UserPreferences>

How to Save Application Settings to a Database System.Environment provides easy access to UserName and UserDomainName UserPreferences class abstracts between storage and application UserPreferences Class UserPreferences up = new UserPreferences(); if (up.DoubleSided) { … } Database

How to Save Application Settings to the Windows Registry Registry Key Base Class Common Static Fields HKEY_CLASSES_ROOT HKEY_CURRENT_USER HKEY_LOCAL_MACHINE HKEY_USERS Common Methods CreateSubKey OpenSubKey SetValue GetValue Close

Practice: Using the Windows Registry Guided Practice In this practice you will write a simple Windows application that writes a string into the Windows Registry 10 min

Lesson: Deploying Applications What Are the .NET Packaging and Deployment Options? How to Package and Deploy an Application Using Windows Installer How to Deploy a Web Application by Using XCOPY

What Are the .NET Packaging and Deployment Options? Packaging Options As a set of executables and DLLs Microsoft Windows Installer project Cabinet files Deployment Options Using Windows Installer Merge Module Project: packages files/components into a single module Setup Project: builds an installer for a Windows-based application Web Setup Project: builds an installer for Web application Cab Project: creates a cabinet file for downloading to legacy

How to Package and Deploy an Application Using Windows Installer

How to Deploy a Web Application by Using XCOPY Copy command On the Project menu, click Copy Project. Select the destination project folder. Select the Web access method. Select the files to be copied. XCOPY command Type xcopy/? in a command prompt window

Review Working with Application Settings Deploying Applications

Lab 11.1: Deploying an Application Exercise 1: Adding a Setup Project to an Existing Application Exercise 2: Installing and Testing the Setup Application

Lab 11.2 (optional): Working with Application Settings Exercise 1: Adding the UserPreferences Class Exercise 2: Adding User Preferences to the Form Load Event Exercise 3: Adding User Preferences to the loadItem_Click Event Exercise 4: Declaring an Instance of the UserPreferences Class in the Options Form Exercise 5: Setting the Checkbox Controls to the Values Contained in the Registry Exercise 6: Save the Checkbox Controls Values to the Registry Exercise 7: Testing the Zoo Information Application