Moving & Copying Web Applications 1. 2 Why Do We Need to Copy or Move a Web Application?  So you can run someone else’s sample code.  So you can backup.

Slides:



Advertisements
Similar presentations
Microsoft ® Office Outlook ® 2007 Training Retrieve, back up, or share messages Sweetwater ISD presents:
Advertisements

Computer Basics Hit List of Items to Talk About ● What and when to use left, right, middle, double and triple click? What and when to use left, right,
Web Application Server Apache Tomcat Downloading and Deployment Guide.
Unit 8- Windows Customization.  Backup & restore, update, power.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
PowerPoint 2002 Linking Video in Presentation and Delivering Presentation on the Road.
Modules Standard Modules. Standard Modules The Subs and Functions worked perfectly well where they were – inside the two lines “Public Class Form1” and.
Microsoft ® Office Outlook ® 2007 Training Manage your mailbox III: Move or copy messages to Personal Folders Doña Ana Community College presents:
Manage your mailbox III: Move or copy messages to Personal Folders Store your messages in Personal Folders A Personal Folders file is located on your own.
Copyright 2007, EMC Paradigm Publishing Inc. WINDOWS XP BACKNEXTEND 1-1 LINKS TO OBJECTIVES Starting Windows Using the Taskbar, opening & switching programs.
File Management and Organisation © Copyright William Rowan 2007.
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
This example is a step by step walkthrough for installing the SRH Front Desk Printer in Windows 8.
Downloading © Copyright William Rowan Objectives By the end of this you will be able to Download text and images from the internet for analysis,
Manage your mailbox V: Retrieve, back up, or share messages Use your stored messages Whether you’re using the Personal Folders method or the Archive method.
taskbar Notification area Start To change size of taskbar: RMC- uncheck Lock the taskbar Changing Properties : RMC- Properties.
1 After completing this lesson, you will be able to: View and open folders. Open, edit, and save files. Print files. Sort files. (continued)
Windows Basics: Desktop, Taskbar and Window
Getting Started with GIT. Basic Navigation cd means change directory cd.. moves you up a level cd dir_name moves you to the folder named dir_name A dot.
Deployment of web Site. Preparing the web site for deployment you now have two versions of web site 1 -one running in the production environment 2-one.
Hello World In C++ and Microsoft Visual C++. Directions to begin a project 1. Go to All Programs 2. Open Visual Studio C++ 3. Click on New Project 4.
Windows Basics: Desktop, Taskbar and Window
Dreamweaver CS4 Concepts and Techniques Chapter 7 Page Layout with Frames.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
Teach Yourself Windows 98 Module 2: Working with Files, Folders, and the Desktop.
IT 211 Project Integration and Deployment Lab #11.
WaveMaker Visual AJAX Studio 4.0 Training Installation.
IE 411/511: Visual Programming for Industrial Applications
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
WindowsXP Explorer The Explorer is a used to organize and control the files and folders of the different storage systems such as the hard drive, floppy.
Microsoft Windows Vista Chapter 1 Fundamentals of Using Microsoft Windows Vista.
CIS 205—Web Design & Development Dreamweaver Chapter 1.
Microsoft Windows 7 Part 1 Fundamentals of Using Windows 7.
A First Look At Microsoft Visual Basic Lesson 1. What is Microsoft Visual Basic? Microsoft Visual Basic is a software development tool, which means it.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Installing Apache Axis Setting up your Tomcat server to use Web Services.
Skills © Paradigm Publishing, Inc. 1. Skills © Paradigm Publishing, Inc Explore the Computer WindowExplore the Computer Window 2.1 Browse Storage.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Eric Maurer Copyright Keller Schroder 6/11/2008. Types of Customization Customize pre-installed Microsoft Web Parts i.e. Content Editor Web Part Write.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview How to create a first ASP.NET application.
Introduction to Web Services. Examples Using a Web Service Creating a new Web Service.
By the end of this lesson, learners should be able to: Discuss the parts of the Windows XP desktop Discuss the parts of the Start menu Restart and Turn.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
DELETING TEMPORARY FILES 1.Click “Start” -> “Search” -> “All Files and Folder”. 2.In “All or Part of the file name” box enter “*.tmp” and click “Search”.
Backup. What to back up? Pictures Documents (include s if using Off Line Program) Video’s Music System Image – Programs – Registry – Operating System.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
1 After completing this lesson, you will be able to: Get around the Internet with your browser. Connect to the Internet. Print Web pages. Save Web pages.
Install a Windows Service Application Windows Development Fundamentals LESSON 3.2.
Exporting. Export Step 1 – In Outlook select Contacts.
1 After completing this lesson, you will be able to: Open a file. Navigate through a document. Scroll through a document. Insert text in a document. Select.
Web Development in Microsoft Visual Studio 2013 / 2015.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
®® Microsoft Windows 7 Windows Tutorial 2 Organizing Your Files.
Saving your File And, when to use Save vs. Save As.
1 Windows Forms II Chapter RadioButton / GroupBox Controls Used to solicit a multiple choice input. Radio buttons work as a group. Selecting one.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Microsoft Windows 7 Chapter 2 Working with the Windows 7 Desktop.
Getting data out of XML These exercises provide an overview of how to use the native Taverna XPath services to get data out of XML.
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
1 Adding a Model. We have created an MVC web app project Added a controller class. Added a view class. Next we will add some classes for managing movies.
© 2016, Mike Murach & Associates, Inc.
OpenGL project setup.
© 2016, Mike Murach & Associates, Inc.
These slides are for reference only. They are not "lecture notes"
Microsoft Office Illustrated Fundamentals
Shelly Cashman: Microsoft Windows 10
Presentation transcript:

Moving & Copying Web Applications 1

2 Why Do We Need to Copy or Move a Web Application?  So you can run someone else’s sample code.  So you can backup your work and restore from those backups.  So you can deploy your development code to a production server.

3 How to Copy a Web App (3 steps) 1. Create new Web App  Suppose you wanted to spin off a copy of one web app, making two web apps that both run on your machine. This might be useful if you have a working web application and you want to try something dangerous on a copy.  Suppose the source app is named SampleApp and you want to make a copy called MyApp.  In Visual Studio, create a new web app called MyApp.  In the Solution Explorer Window, right click on “MyApp” (under “solution MyApp”) and select “Add – Existing Item”. Or you could select Project – Add – Existing Item from the menu.

4 How to Copy a Web App (3 steps) 2. Add Existing Files  In the File Open Dialog box, navigate to the folder where you unzipped the original files. Select “all files” from the File Type dropdown list.  Using the Control or Shift key, select 3 files for each webform you are trying to copy in. Select every “.cs” file for every class you are trying to copy in. If you need a folder (such as “images”), select that too.  Do not select these things: files that have.csproj in their name (there would be several starting with “SampleApp”), folders such as “bin”, files that start with “Global” or “AssemblyInfo” or “Webconfig”.  Click Open. Then click Yes – Replace all files.  When you get the warning that says “files have been modified outside of Visual Studio – do you want to reload”. Answer “yes”.

5 How to Copy a Web App (3 steps) 3. Set Start Page, Search/Replace  In the Solution Explorer window, right click on the webform that should be the start page. (By default Visual Studio assumes that WebForm1 is the start page.)  You need to do a global search and replace (whole project) and change “SampleApp” to “MyApp”.  There will be MANY places changed. It’s somewhat interesting to see all the places it’s stored – this is one of the reasons why you just can’t move these files around and still be able to run them. Another reason is that when you create a new web application, Visual Studio registers that web application on your machine (& this is also necessary for the application to run).  Press F5 and your app should run.

6 How to Move a WebApp (1 of 3) (Create new Web App)  Suppose you wanted to install sample code that someone else is giving you (for example sample code from doc sharing).  Suppose the sample code is stored in Sample.zip.  Extract all the files of Sample.zip, say, to your desktop.  In Visual Studio, create a new web app called Sample (use the same name as the source project).  Select Project – Add – Existing Item from the menu.

7 How to Move a WebApp (2 of 3) (Add Existing Files)  In the File Open Dialog box, navigate to the folder where you unzipped the original files. Select “all files” from the File Type dropdown list.  Using the Control or Shift key, select 3 files for each webform you are trying to copy in. Select every “.cs” file for every class you are trying to copy in. If you need a folder (such as “images”), select that too.  Do not select these things: files that have.csproj in their name (there would be several starting with “SampleApp”), folders such as “bin”, files that start with “Global” or “AssemblyInfo” or “Webconfig”.  Click Open. Then click Yes – Replace all files.  When you get the warning that says “files have been modified outside of Visual Studio – do you want to reload”. Answer “yes” to this.

8 How to Move a WebApp (3 of 3) (Set Start Page, no Search/Replace)  In the Solution Explorer window, right click on the webform that should be the start page. (By default it will think that WebForm1 is the start page.)  Because you named your new project the same as the sample project, you don’t need to do a global search and replace (on the whole project) to change the project name.  Press F5 and your app should run.