Visurl Studio Publishing Web site to Windows Azure

Source: Internet
Author: User

Visurl Studio Publishing Web site to Windows Azure

Windows Azure is now very mature, so it's not much of a feature, and today it's mainly about publishing websites through Visurl studio to Windows Azure; we all know that by Visurl Studio can create a project and then implement feature access by publishing it to IIS, which is actually the most common practice of publishing to IIS, and now, because the company has purchased Windows Azure Services and wants to migrate the local IIS services to Windows Azure to run, So just by deploying in a test environment, the following is the entire step of the operation, for reference learning.

We first need to install Visurl Studio and then publish the related server project directly to Windows Azure. Again, we'll start by creating a test page to demonstrate.

We first open Visurl Studio, click File à new à project

650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image002" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383753556R.jpg" height= "341"/>

Select the project type, under Web Visurl studio2012, template is the ASP. NET Framwork4.5 MVC 4 Web application, and define the name

650) this.width=650; "title=" clip_image004 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image004" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383753kgMJ.jpg" height= "321"/>

Custom Project Creation Complete

650) this.width=650; "title=" clip_image006 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image006" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383753ZoMd.jpg" height= "247"/>

Then we define the content of the test page, the index.vbhtml file

650) this.width=650; "title=" clip_image008 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image008" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383753ZTgk.jpg" height= "243"/>

After the definition is complete, we test the access

650) this.width=650; "title=" clip_image010 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image010" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383753IR7R.jpg" height= "234"/>

The page is displayed normally.

650) this.width=650; "title=" clip_image012 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image012" src= "http://img1.51cto.com/attachment/201410/15/451336_14133837539hZV.jpg" height= "392"/>

Next we need to create a Web site on Windows Azure

650) this.width=650; "title=" clip_image014 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image014" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383753pPaq.jpg" height= "324"/>

Define site name

650) this.width=650; "title=" clip_image016 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image016" src= "http://img1.51cto.com/attachment/201410/15/451336_14133837531bYC.jpg" height= "331"/>

Site Creation Complete

650) this.width=650; "title=" clip_image018 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image018" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383753ZVMO.jpg" height= "309"/>

We open the Site Settings----Dashboard

650) this.width=650; "title=" clip_image020 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image020" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383754Wfbr.jpg" height= "326"/>

Click to download the configuration file for this web site

650) this.width=650; "title=" clip_image022 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image022" src= "http://img1.51cto.com/attachment/201410/15/451336_14133837544XLU.jpg" height= "323"/>

650) this.width=650; "title=" clip_image024 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image024" src= "http://img1.51cto.com/attachment/201410/15/451336_14133837541eAt.jpg" height= "242"/>

Download and save the site configuration file

650) this.width=650; "title=" clip_image026 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image026" src= "http://img1.51cto.com/attachment/201410/15/451336_14133837540jsq.jpg" height= "232"/>

We go back to Visurl Studio, right-click the project-Publish

650) this.width=650; "title=" clip_image028 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image028" src= "http://img1.51cto.com/attachment/201410/15/451336_14133837541EbZ.jpg" height= "318"/>

Select the Import configuration file

650) this.width=650; "title=" clip_image030 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image030" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383754UlOm.jpg" height= "358"/>

Browse to select the configuration file for the Windows Azure Web site you just downloaded

650) this.width=650; "title=" clip_image032 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image032" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383754PKyr.jpg" height= "358"/>

Select a configuration file

650) this.width=650; "title=" clip_image034 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image034" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383754tt7B.jpg" height= "/>"

650) this.width=650; "title=" clip_image036 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image036" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383754ddxE.jpg" height= "358"/>

After we define it, click the Verification link. Then next

650) this.width=650; "title=" clip_image038 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image038" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383754ckMo.jpg" height= "354"/>

By default, we click Next

650) this.width=650; "title=" clip_image040 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image040" src= "http://img1.51cto.com/attachment/201410/15/451336_14133837552wvS.jpg" height= "353"/>

After you click Validate, we can see the added web site information, and then click Publish

650) this.width=650; "title=" clip_image042 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image042" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383755WhBh.jpg" height= "368"/>

The file is being uploaded.

650) this.width=650; "title=" clip_image044 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image044" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383755uDQU.jpg" height= "322"/>

Upload files to Windows Azure after the website is automatically. We found that the URL is the URL of Windows Azure and the page is displayed properly.

650) this.width=650; "title=" clip_image046 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image046" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383776uc3k.jpg" height= "319"/>

Next we define the content of the display page, I edit the page display content in HTML language, define a registration page to do the demonstration.

650) this.width=650; "title=" clip_image048 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "border=" 0 "alt = "clip_image048" src= "http://img1.51cto.com/attachment/201410/15/451336_1413383776hDYw.jpg" height= "290"/>

After the changes, we publish again, this release does not need to import the configuration file, directly overwrite the update. The page also displays our custom content normally.

650) this.width=650; "title=" clip_image050 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image050 "src=" http://img1.51cto.com/attachment/201410/15/451336_1413383776mTy0.jpg "height=" 333 "/>

This article is from the "Gao Wenrong" blog, make sure to keep this source http://gaowenlong.blog.51cto.com/451336/1564584

Visurl Studio Publishing Web site to Windows Azure

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.