Click here to Skip to main content
15,075,806 members
Articles / Hosted Services / Azure
Posted 25 Oct 2017


3 bookmarked

Develop Multi-platform and Connected Apps and Deploy on Azure

Rate me:
Please Sign up or sign in to vote.
5.00/5 (1 vote)
25 Oct 2017CPOL3 min read
How to develop multi-platform and connected apps and deploy on Azure


PaaS allows companies, developers to focus only on applications and services and not infrastructure. PaaS provides all the services needed to create, code, deploy and run websites, mobile services, and more.

The real challenge of the Cloud is no longer infrastructure but services and mobile applications. It is now a question of conforming to a new paradigm of application, that of the "3rd platform" defined by IDC ( the foundations of a modern application must be based on the Cloud, the mobility, exploit the Big Data and comprise social mechanics.

The Azure PaaS has evolved a lot since the first services. It meets the challenges of Apps.

It offers integration and openness unique in the market. This offer, Azure App Service, is based on 4 essential pillars detailed below: Web Apps, Mobile Apps, Logic Apps and API Apps. Not to mention the developer dimension: SDKs, APIs, openness to multiple languages, connection with all major SaaS market, etc.

And we will never forget that it includes:

  • Functions that offer you the possibility to run a code-on-demand without managing any related infrastructure, it's a "Serverless Compute Service".
  • Containerized Apps where you can deploy an open source container like Kubernetes and Docker.
  • Service Fabric dedicated to the distributed systems where you can package, deploy even manage them.

Now, with the IDE Visual Studio 2017 which includes all you need to start and deploy any application on Azure.

Let's say that we have Cloud Pattern and Architecture that lets you build Cloud application to ensure the scalability of your Apps and especially the resistant to failure.

Building the Sample

In our sample, we will upload a simple project ASP.NET Web API Core 2.0 where we integrated the EF Core 2.0 on Azure Apps.

The sample that we will deploy is in the Marketplace:

Image 1

Image 2

Our sample is a simple ASP.NET Web API Core 2.0 that manages blogs. (CRUD), it integrates EF Core 2.0 and Swagger to display the REST APIs.

1. From Visual Studio 2017

We compile in release mode, we right-click on the project in Solution Explorer after we select Publish....

Image 3

We select Create new profile if we didn't initialize any settings:

Image 4

In the Publish dialog, we select Microsoft Azure App Service, we select Create New and we click OK.

Image 5

In this part:

  • We type the Name of the App, that should be a unique name.
  • We select a subscription.
  • We select New... for the resource group and enter a name for the new Resource Group.
  • We select App Service Plan or we can create a new Plan.
  • Finally, we click on Create button... for the app service plan and select a location near you.

We have to select the Services tab to create a new database, then we select the green + icon to create a new SQL Database.

Image 6

Then, we will configure our database by defining the Server Name, the Administrator Username, the Administrator Password.

When we confirm, we get this interface again:

Image 7

We will click on Settings to continue configuring the deploy.

Image 8

We click on Validate Connection to test our communication if it's established or not. Then, we will choose Settings to be able to check if the connection string of the database is selected or not.

Image 9

Then, we will click on Publish.

Image 10

Note that we have to do this instruction on Azure ( to link our Web application with the database:

Image 11

If we don't have a ConnectionString, we have to Add it.

2. Using FTP: Filezilla for Example

We will create in this part our App service and the SQL Server Database in Azure Portal (

Then, we will use FTP/deployment username, FTP hostname and the password used in Azure.

Image 12

Points of Interest

Create and deploy applications on Azure!


  • 25th October, 2017: Initial version


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Technical Lead
Canada Canada
I am Rebaï Hamida, Microsoft MVP in Visual Studio and Development Technologies.
I'm a software architect and developer who like to build open source projects, writing articles, learning and teaching best practices. you can find out in my blog :

Innovative Software engineer : hands-on, competent software engineer, passionate and proficient C# developer, offering more than seven years of experience in the full software development lifecycle – from concept through delivery of next-generation applications and customized solutions, producing code to a consistently high standard and testing software across a variety of platforms.
Expert in advanced development methodologies, tools and processes contributing to the design and roll-out of cutting-edge software applications.
Known for excellent troubleshooting skills – able to analyze code and engineer well-researched, cost-effective and responsive solutions.

Success is only a consequence of a continuous work and remarkable intelligence.
I believe that I have to make a change in my country, I can’t live without leaving my footprint.

Comments and Discussions

QuestionHow about the other way? Pin
Klaus Luedenscheidt25-Oct-17 17:57
MemberKlaus Luedenscheidt25-Oct-17 17:57 
AnswerRe: How about the other way? Pin
didourebai25-Oct-17 22:59
professionaldidourebai25-Oct-17 22:59 
GeneralRe: How about the other way? Pin
Klaus Luedenscheidt27-Oct-17 18:54
MemberKlaus Luedenscheidt27-Oct-17 18:54 
GeneralRe: How about the other way? Pin
didourebai28-Oct-17 1:02
professionaldidourebai28-Oct-17 1:02 
Absolutely true, I agree with that, especially with the cost of Azure as you said, you define first your environment and the costs after you go to the project. Thank you for sharing your opinion in this article. It's really important to comment to be able to improve what I'm writing.
Hamida Rebaï Trabelsi
Sr. Software Engineer ARDIA / Co Founder at Tunisian .NET Community / GES+ Delegate

GeneralRe: How about the other way? Pin
didourebai17-Nov-17 1:59
professionaldidourebai17-Nov-17 1:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.