USER GUIDE Deploying Your Application to WinHost



Similar documents
To install Multifront you need to have familiarity with Internet Information Services (IIS), Microsoft.NET Framework and SQL Server 2008.

Livezilla How to Install on Shared Hosting By: Jon Manning

Tool Tip. SyAM Management Utilities and Non-Admin Domain Users

GoDaddy (CentriqHosting): Data driven Web Application Deployment

Census. di Monitoring Installation User s Guide

Using Internet or Windows Explorer to Upload Your Site

Insight Video Net. LLC. CMS 2.0. Quick Installation Guide

Migrating helpdesk to a new server

O Reilly Media, Inc. 3/2/2007

SelectSurvey.NET Developers Manual

Perceptive Intelligent Capture Solution Configration Manager

ADFS Integration Guidelines

BUILDER 3.0 Installation Guide with Microsoft SQL Server 2005 Express Edition January 2008

OSF INTEGRATOR for. Integration Guide

How to Backup and FTP your SQL database using E2.

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

How to Get Your Site Online

QUANTIFY INSTALLATION GUIDE

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

Mixed Authentication Setup

SQL Server 2008 R2 Express Edition Installation Guide

Installation Guide v3.0

Creating client-server setup with multiple clients

4cast Server Specification and Installation

Ingenious Testcraft Technical Documentation Installation Guide

Web Deployment on Windows 2012 Server. Updated: August 28, 2013

SplendidCRM Deployment Guide

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

Install FileZilla Client. Connecting to an FTP server

USING STUFFIT DELUXE THE STUFFIT START PAGE CREATING ARCHIVES (COMPRESSED FILES)

EDGETECH FTP SITE CUSTOMER & VENDOR ACCESS

IIS, FTP Server and Windows

Site Maintenance Using Dreamweaver

BSDI Advanced Fitness & Wellness Software

Special Edition for FastTrack Software

Utilizing SASED OneDrive Cloud Storage

Lets Get Started In this tutorial, I will be migrating a Drupal CMS using FTP. The steps should be relatively similar for any other website.

IMDG Code for Intranet

MCTS Guide to Microsoft Windows Server 2008 Applications Infrastructure Configuration (Exam # )

User s Guide For Department of Facility Services

Cloud Services ADM. Agent Deployment Guide

Video Administration Backup and Restore Procedures

Bitrix Site Manager ASP.NET. Installation Guide

MarkLogic Server. Connector for SharePoint Administrator s Guide. MarkLogic 8 February, 2015

ProSystem fx Document

AJ Matrix V5. Installation Manual

Kentico CMS 7.0 Windows Azure Deployment Guide

Table of Contents. CHAPTER 1 About This Guide CHAPTER 2 Introduction CHAPTER 3 Database Backup and Restoration... 15

Altima Lookbook Free Extension v

Secret Server Installation Windows 8 / 8.1 and Windows Server 2012 / R2

Sitecore Security Hardening Guide

NAS 225 Introduction to FTP Explorer

Setting up Sharp MX-Color Imagers for Inbound Fax Routing to or Network Folder

R i o L i n x s u p p o r r i o l i n x. c o m 1 / 3 0 /

Deploying Migrated IBM Notes Applications to the Cloud

BSDI Advanced Fitness & Wellness Software

4cast Client Specification and Installation

Reference and Troubleshooting: FTP, IIS, and Firewall Information

Information Technology Services

Issue Tracking Anywhere Installation Guide

Installing OneStop Reporting Products

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

Walkthrough: Creating and Using an ASP.NET Web Service in Visual Web Developer

Shop by Manufacturer Custom Module for Magento

Installation Guide: Delta Module Manager Launcher

Prepared by Mythtech Limited OFFICE 365 MIGRATION MANUAL GUIDELINE

1 of 10 1/31/2014 4:08 PM

0651 Installing PointCentral 8.0 For the First Time

Microsoft Dynamics GP SQL Server Reporting Services Guide

Chapter 6. Using the SQL Server

Active Directory Management. Agent Deployment Guide

TECHNICAL NOTE. The following information is provided as a service to our users, customers, and distributors.

Introduction. Just So You Know... PCI Can Be Difficult

Transferring Your Hosting Account

Installing LearningBay Enterprise Part 2

Installing Windows Server Update Services (WSUS) on Windows Server 2012 R2 Essentials

FTP, IIS, and Firewall Reference and Troubleshooting

DevInfo 7 Web Installer Guide

Active Directory Management. Agent Deployment Guide

Tenrox. Single Sign-On (SSO) Setup Guide. January, Tenrox. All rights reserved.

Using Group Policies to Install AutoCAD. CMMU 5405 Nate Bartley 9/22/2005

VP-ASP Shopping Cart Quick Start (Free Version) Guide Version 6.50 March

White Paper. Fabasoft Folio Thin Client Support. Fabasoft Folio 2015 Update Rollup 2

How To Install Powerpoint 6 On A Windows Server With A Powerpoint 2.5 (Powerpoint) And Powerpoint On A Microsoft Powerpoint 4.5 Powerpoint (Powerpoints) And A Powerpoints 2

Installing the ASP.NET VETtrak APIs onto IIS 5 or 6

Step-by-Step Setup Guide Wireless File Transmitter FTP Mode

APP ANALYTICS PLUGIN

Salesforce Opportunities Portlet Documentation v2

INSTALL AND CONFIGURATION GUIDE. Atlas 5.1 for Microsoft Dynamics AX

SecureAware on IIS8 on Windows Server 2008/- 12 R2-64bit

nopcommerce User Guide

Configuring Claims Based FBA with Active Directory store 1

File Auditor for NAS, Net App Edition

Installing Globodox Web Client on Windows Server 2012

Team Foundation Server 2012 Installation Guide

OSPI SFTP User Guide

Millennium Drive. Installation Guide

Portions of this product were created using LEADTOOLS LEAD Technologies, Inc. ALL RIGHTS RESERVED.

Desktop Deployment Guide ARGUS Enterprise /29/2015 ARGUS Software An Altus Group Company

APIS CARM NG Quick Start Guide for MS Windows

Transcription:

2011 USER GUIDE Deploying Your Application to WinHost

Table of Contents Deploying Your Application to WinHost... 2 Configuring the Settings in WinHost... 2 Deploying a Web Site Factory Application with SQL Server... 4 Modify web.config... 4 Copy Web Site Using FTP... 4 Creating Application Starting Point... 6 Deploying a Web Site Factory application with MySQL... 7 Modify web.config... 7 Add Data and Web Providers... 8 Copy Web Site Using FTP... 8 Creating Application Starting Point... 10 Deploying a Web App Factory Application with SQL Server... 11 Modify web.config... 11 Publish Site with FTP... 11 Creating Application Starting Point... 12 Deploying a Web App Factory Application with MySQL... 14 Modify web.config... 14 Add Data and Web Providers... 15 Publish Site With FTP... 15 Creating Application Starting Point... 17 Adding Membership to Your SQL Database on WinHost... 19 1

Deploying Your Application to WinHost Now that your application has been properly implemented, what s the next step? You can choose to set up a dedicated server to run your website, but this can be costly. An easier and cheaper solution would be to upload the application to a shared hosting service, such as WinHost. They offer cheap and reliable ASP.NET hosting for a very low price. (Note: As Code On Time applications take more than 100MB of memory, you may need to order WinHost Max this also gives you up to 10 databases). This article will go over the procedure to deploy your application to WinHost. Make sure to read the correct section for the type of database and application that you have. Configuring the Settings in WinHost The first step will be to change some settings in your WinHost control panel. Log in to your WinHost account, and switch to the Sites tab. Press Manage next to the site you are planning to use. You will end up on the Site Manager page. Click on ASP.NET Version under the Site Tools section. Change the Framework Version to 4.0 (or whichever version you re using in your web application). 2

Next, click on Integrated or Classic Mode. Change the Pipeline Mode to Integrated. 3

Deploying a Web Site Factory Application with SQL Server This section will guide you through the steps to deploy your Web Site Factory application to WinHost, provided that you are using SQL Server. If you are using MySQL, please skip to Deploying a Web Site Factory Application with MySQL. Membership can be enabled for this process (if you would like to add membership, please skip to Adding Membership to your SQL Database). The connection string in your application must link to your WinHost database, as well as the standalone membership database option. Modify web.config For deployment, you will need to modify the web.config file of your application. This is easily done by running Code On Time Generator, selecting your project, and navigating to the Web Server page. Insert the following code into the Modification Instructions textbox: InsertAfter: /configuration/system.web/*[last()] <trust level="full" legacycasmodel="true" /> Copy Web Site Using FTP You will now need to open your project in Visual Studio 2010. This can be done by pressing File Open Web Site, and selecting the name of the folder containing your project. On the menu bar, press Website Copy Web Site. On the Connections bar, press Connect. 4

Enter your server name, directory, and login information, and press Open. Now, select all the files from your web site and press the right arrow to copy them over to your WinHost website. 5

Creating Application Starting Point Go back to the WinHost control panel. Select the Application Starting Point tool, and press Create. Type in the directory you uploaded to earlier, or use the Browse button to find it. Press the Create button. You can now navigate to the URL of your application, and your sophisticated web application will have complete functionality. 6

Deploying a Web Site Factory application with MySQL This section will guide you through the steps to deploy your Web Site Factory application to WinHost, assuming that you are using MySQL to store data on WinHost. You may use membership, if the standalone database option is enabled and referring to your original MySQL database. Modify web.config For deployment, you will need to modify the web.config file of your application. This is easily done by running Code On Time Generator, selecting your project, and navigating to the Web Server page. Insert the following code into the Modification Instructions textbox: InsertAfter: /configuration/system.web/*[last()] <trust level="full" legacycasmodel="true" /> InsertBefore: /configuration/system.web/membership/providers/add[1] <clear/> InsertBefore: /configuration/system.web/rolemanager/providers/add[1] <clear/> This will insure that the hosting provider will allow ASP.NET to compile the web site without errors. Press Next to regenerate your application. 7

Add Data and Web Providers At the time of this article, WinHost did not have the correct assemblies. In Windows Explorer, navigate to C:\Program Files (x86)\mysql\mysql Connector Net 6.3.6\Assemblies\v4.0 and copy the MySql.Data.dll and MySql.Web.dll files. Paste them in the \bin folder of your application. Copy Web Site Using FTP You will now need to open your project in Visual Studio 2010. This can be done by pressing File Open Web Site, and selecting the name of the folder containing your project. On the menu bar, press Website Copy Web Site. On the Connections bar, press Connect. 8

Enter your server name, directory, and login information, and press Open. Now, select all the files from your web site and press the right arrow to copy them over to your WinHost website. 9

Creating Application Starting Point Go back to the WinHost control panel. Select the Application Starting Point tool, and press Create. Type in the directory you uploaded to earlier, or use the Browse button to find it. Press the Create button. You can now navigate to the URL of your application, and your sophisticated web application will have complete functionality. 10

Deploying a Web App Factory Application with SQL Server This section will guide you through the steps to deploy your Web App Factory application to WinHost, provided that you are using SQL Server. Membership can be enabled for this process (if you would like to add membership, please skip to Adding Membership to your SQL Database). The connection string in your application must link to your WinHost database, as well as the standalone membership database option. Modify web.config For deployment, you will need to modify the web.config file of your application. This is easily done by running Code On Time Generator, selecting your project, and navigating to the Web Server page. Insert the following code into the Modification Instructions textbox: InsertAfter: /configuration/system.web/*[last()] <trust level="full" legacycasmodel="true" /> Publish Site with FTP You will need to open the website in Visual Studio. This can be done by pressing the Develop button next to its name on the home page of Code On Time Generator. 11

In the Solution Explorer, navigate to MyCompany/WebApp/Default.aspx. Right-click and press Set As Start Page. On the menu, go to Build Publish. Change Publish Method to FTP, enter your connection information, and press Publish. Creating Application Starting Point Go back to the WinHost control panel. Select the Application Starting Point tool, and press Create. Type in the directory you uploaded to earlier, or use the Browse button to find it. 12

Press the Create button. You can now navigate to the URL of your application, and your sophisticated web application will have complete functionality. 13

Deploying a Web App Factory Application with MySQL This section will guide you through the steps to deploy your Web App Factory application to WinHost, assuming that you are using MySQL to store data on WinHost. You can have ASP.NET membership enabled, and it must be referring to your original MySQL database. Modify web.config For deployment, you will need to modify the web.config file of your application. This is easily done by running Code On Time Generator, selecting your project, and navigating to the Web Server page. Insert the following code into the Modification Instructions textbox: InsertAfter: /configuration/system.web/*[last()] <trust level="full" legacycasmodel="true" /> InsertBefore: /configuration/system.web/membership/providers/add[1] <clear/> InsertBefore: /configuration/system.web/rolemanager/providers/add[1] <clear/> This will insure that the hosting provider will allow ASP.NET to compile the web site without errors. Press Next to regenerate your application. 14

Add Data and Web Providers At the time of this article, WinHost did not have the correct assemblies. In Windows Explorer, navigate to C:\Program Files (x86)\mysql\mysql Connector Net 6.3.6\Assemblies\v4.0 and copy the MySql.Data.dll and MySql.Web.dll files. Paste them in the WebApp\bin folder of your application. Publish Site With FTP You will need to open the website in Visual Studio. This can be done by pressing the Develop button next to its name on the home page of Code On Time Generator. 15

Now drag the /bin folder in the WebApp to add it to your project. In the Solution Explorer, navigate to MyCompany/WebApp/Default.aspx. Right-click and press Set As Start Page. On the menu, go to Build Publish. Change Publish Method to FTP, enter your connection information, and press Publish. 16

Creating Application Starting Point Go back to the WinHost control panel. Select the Application Starting Point tool, and press Create. Type in the directory you uploaded to earlier, or use the Browse button to find it. Press the Create button. You can now navigate to the URL of your application, and your sophisticated web application will have complete functionality. 17

18

Adding Membership to Your SQL Database on WinHost If you would like to add membership to your SQL database in WinHost, follow these instructions: 1. Start aspnet_regsql.exe from Windows Explorer as shown in picture. The path to your instance of aspnet_regsql.exe: C:\%windir%\Microsoft.NET\Framework\<versionNumber>\aspnet_regsql.exe 2. Click the Next button in ASP.NET SQL Server Setup Wizard: 19

3. Select the first option and continue to the next step to configure SQL Server for application services: 4. Enter your WinHost server as a server name. Select SQL Server authentication and enter your login credentials. Type in your database name. Keep pressing Next, and membership will be configured. 20