Azure Publishing Website


You can follow below steps for this tutorial

  • How to deploy a web project to an App Service web app by using Visual Studio.

Prerequisites : Visual Studio, Azure SDK

Azure supports many different deployment models to deploy your website you can use one of them below.

  • Microsot Visual Studio
  • Continuous Integration (git etc..)
  • FTP to Azure

In order to deploy your website to windows azure you’re going to need to set-up an account, you can create an account for free and have a free trial.

Portal : First login into the Azure Portal https://portal.azure.com

2016-04-11_16-46-37

 

Open Visual Studio and create a new ASP.NET web project follow File > New > Project. In the New Project dialog box, click Visual C# > Web > ASP.NET Web Application name given “SWTestAcademy” select “MVC” project and click “OK” button.

2016-04-10_22-15-47

Azure Application Insights monitors your web app for availability, performance, and usage.

 

A publish settings file is an XML file which contains information about your subscription. It contains information about all subscriptions associated with a user’s Live IdConnection strings about db connection settings

On Profile tab click to import -> browse select publish settings file you saved on your harddrive.

2016-04-23_13-56-56

 

On the Connection tab of the Publish Web dialog box, click Publish, you will see the below dialog box. If you want to publish directly from Visual Studio, you need to select Web Deploy

2016-04-10_22-17-59

validate the connection information, choose your publish method

2016-04-10_22-18-26

choose which files to include in the deployment.

2016-04-10_22-19-21

Finally, click publish!  You can view the publishing progress  within Visual Studio.

2016-04-10_22-22-24

Publishing takes few seconds, afterwards you can visit your web site.

2016-04-10_22-22-50

I m going to make some modification on index html file and re-publish again.

2016-04-10_22-25-45

change to SWTestAcademy and publish again to see diference.

2016-04-10_22-26-18

 

2016-04-10_22-27-32

Hope this help you !

 

javafx

Database Operations in JavaFX

By Onur Baskirt / Apr 1, 2016 / 56 Comments
Before started this section, please check the first article and learn How to Start JAVAFX! http://www.swtestacademy.com/getting-started-with-javafx/ At first, part of JavaFX tutorial series, we created a sample JavaFX project, designed the draft version of the UI and set up an...
rest assured

REST API Testing with Rest Assured

By Onur Baskirt / Mar 8, 2016 / 32 Comments
Outline In this post, I will explain what is API and API testing, what is the difference between SOAP and REST services, and how to test REST APIs with Rest Assured Library. What is API? API stands for Application Programming...
extentreports

How to Write Effective CSS Locators

By Onur Baskirt / Oct 1, 2017 / 0 Comments
Hi all, in this tutorial, I will describe you how to write effective CSS locators to interrogate web elements for your automation projects. As a rule of thumb, your interrogation strategy should be in below order: First try to use...
extentreports

Selenium-11: Execute JavaScript with JavascriptExecutor

By Onur Baskirt / Jan 27, 2016 / 15 Comments
Outline Sometimes we cannot handle some conditions or problems with Webdriver, web controls don't react well against selenium commands. In this kind of situations, we use Javascript. It is useful for custom synchronizations, hide or show the web elements, change...
javafx

Getting Started with JavaFX

By Onur Baskirt / Mar 25, 2016 / 0 Comments
When I started to work in my current position, one of my task is to do manual operations for campaign products  every week. After the second week, I thought that I have to automate this task using a GUI based...
extentreports

How to Write Smart XPath Locators

By Onur Baskirt / Sep 24, 2017 / 4 Comments
Hi all, in this tutorial, I will describe you how to write smart and non-brittle XPath locators. When we write our test scripts, we generally prefer to use id, name, class, etc. these kinds of locators. However, sometimes we could not...
extentreports

Selenium-1: Quick Start to Automation with Selenium WebDriver & JAVA & JUnit & Maven & IntelliJ

By Onur Baskirt / Sep 8, 2015 / 26 Comments
Outline Selenium Webdriver is the most popular open source web test automation framework across wide range of browsers and platforms. In this tutorial you will learn how to do web test automation with Selenium Webdriver and the related tools. Audience...
page object model

Page Object Model with C#

By Ege Aksoz / Jun 18, 2017 / 8 Comments
In the previous tutorial, we’ve taken the initial steps and entered the world of automated testing. We also wrote our first automated test. From this point on, since we are not just going to write one test, we need to...
extentreports

How to Select a Date From DatePicker Using Selenium

By Onur Baskirt / Aug 13, 2016 / 6 Comments
When you need to automate a airway, hotel, or similar websites you need to deal with Datepickers and some times it is a little bit cumbersome to select a specific date on the Datepicker or calendar.  In this post, I...
extentreports

Selenium Webdriver Performance testing with Jmeter and Selenium Grid

By Ozgur Kaya / Aug 9, 2016 / 2 Comments
In this post, we will complete Selenium Webdriver Performance testing scenario using Jmeter and Selenium Grid. 1- Install Java 7 or later If necessary https://java.com/tr/download/ 2- Download latest Jmeter version 3.0 or higher. http://jmeter.apache.org/download_jmeter.cgi 3- Download Jmeter PluginsManager JAR file and...
By | 2017-01-13T21:33:42+00:00 April 26th, 2016|Azure, Continuous Integration, Devops|0 Comments

About the Author:

Onur Yazir
Onur YAZIR is a Senior Software Testing & Deployment Engineer 7+ years of experience. He has worked at Huawei, Ericsson, Teknosa as Software Test Engineer. After that, he worked as DevOps Engineer at London-based fintech company EFT Software. Now, he is a DevOps Engineer at Gulf News Dubai Office. You can find detailed information about him on his linked-in page.

Leave A Comment