Achraf Ben Alaya
No Result
View All Result
  • Home
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
    • General Tips & Fix
  • AI
  • Cloud
  • Motivation
  • Courses
  • About
    • Resume
    • Privacy Policy
SUBSCRIBE
  • Home
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
    • General Tips & Fix
  • AI
  • Cloud
  • Motivation
  • Courses
  • About
    • Resume
    • Privacy Policy
No Result
View All Result
Achraf Ben Alaya
No Result
View All Result
ADVERTISEMENT
Home Blog Cloud Azure

Migrate and modernize your applications on Azure – Part –1 (Create and publish Web App)

Create and publish Web App to azure

achraf by achraf
April 3, 2021
in Azure, Blog, Cloud
3 min read
0
Migrate and modernize your applications on Azure
0
SHARES
364
VIEWS
Share on FacebookShare on Twitter

What we have now is a full application working on IIS express  with database , it’s time to move it to cloud , and by cloud we are going to move everything to Microsoft Azure .

As you can see in the picture above , I tried to explain what are we going to have inside azure .

For the web applications (the api and the client part ) we need to create  Azure Web Apps and of course if we are going to have and app we need to have also an Azure App Service plan ,of course the two apps can share the same app plan but for best practice ,each one must have it’s own plan .

Create and publish Web App .

The first step that we have to do after creating the resource group were we are going to have our resources is to create the Web App , for that as you can see in the picture below , we go to ‘Create web app ‘ were we are going to create a new app service .
First thing we have to do is to give a unique name for our application ,choose to publish our app from docker or from code, in our case is from code .
Later we have to select the Runtime stack which is the type of our application ,in our case is .Net 5

After that we need to choose the operating system and the region .

For the app service plan , you can choose to create a new one or just select an existing plan .

As you can see in the picture above ,you can choose the plan that suit your environment ,if its is dev or test of production .

After we have created our app service ,it’s time to publish our application ,there are too many ways to do that (already wrote article about ‘The easiest way to deploy a website to Azure with Azure App Service‘) .

This time we are going to use Visual studio to publish our solution and there is nothing easier than that .
First , we need to choose the project that we are going to publish and than clique on Publish .

As you can see in the picture above , we have multiple options to publish our project , as docker or folder ..in our case we are  interested in Azure and than clique Next .

Now , we have to choose were we are going to host the application either in app service on windows or linux or in a container or even in a virtual machine ,of course in our case we have created an app service (Windows) and there were our application is going to be published .
One more step before we publish is to choose the right subscription were we have created the app service and choose which app service we have created because we may have multiple app service instance in same subscription .
The last step now is to clique on Publish button and you will see our app running live on Azure .

Now in this part we have seen how we publish our application to azure , in the next blog , we are going to see how to migrate the SQL database to azure SQL as a service .

 

ShareTweet
Previous Post

Migrate and modernize your applications on Azure – Part – 00 (creating .Net 5.0 application )

Next Post

Migrate and modernize your applications on Azure – Part –1 (Migrate Database)

Related Posts

AI

Model Context Protocol (MCP): The Future of AI Integration

April 21, 2025
110
Azure

Step-by-Step Guide: Azure Front Door + Storage Account Static Website + Custom Domain with Terraform

March 11, 2025
230
Network Security & Route Tables – Checking NSGs, route tables, and service endpoints for a targeted VNET or Subnet
Azure

Network Security & Route Tables – Checking NSGs, route tables, and service endpoints for a targeted VNET or Subnet

February 3, 2025
136
Understanding Generative AI and RAG Benefits
AI

Understanding Generative AI and RAG Benefits

January 12, 2025
96
Azure Communication Services Email Sending Simplified: From Setup to Execution and Monitoring
Azure

Azure Communication Services Email Sending Simplified: From Setup to Execution and Monitoring

December 8, 2024
1.6k
PowerShell Automation for Azure Networks: Detailed VNET and Subnet Analysis
Azure

PowerShell Automation for Azure Networks: Detailed VNET and Subnet Analysis

November 2, 2024
501
Next Post
Migrate and modernize your applications on Azure – Part –1 (Migrate Database)

Migrate and modernize your applications on Azure – Part –1 (Migrate Database)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Terraform

Certifications

Microsoft certified trainer (MCT)

Recommended

 Azure Container Apps : User-Assigned Identity, ACR, and Key Vault

 Azure Container Apps : User-Assigned Identity, ACR, and Key Vault

November 12, 2023
213
Migrate and modernize your applications on Azure – Part –1 (Migrate Database)

Migrate and modernize your applications on Azure – Part –1 (Migrate Database)

April 3, 2021
319
Dealing with Stuck ‘Signing Out’ Screens on Azure Windows Servers

Dealing with Stuck ‘Signing Out’ Screens on Azure Windows Servers

August 5, 2024
168
Configure Azure Web App Logging With .NET 5

Configure Azure Web App Logging With .NET 5

December 11, 2020
2.4k
Microsoft Ignite Cloud Skills Challenge November 2021 :  Learn…and get rewarded (only 3 days left)

Microsoft Ignite Cloud Skills Challenge November 2021 : Learn…and get rewarded (only 3 days left)

November 27, 2021
292
Deploy azure function from visual studio 2019

Deploy azure function from visual studio 2019

August 29, 2020
618
Facebook Twitter LinkedIn Youtube

Model Context Protocol (MCP): The Future of AI Integration

April 21, 2025

Step-by-Step Guide: Azure Front Door + Storage Account Static Website + Custom Domain with Terraform

March 11, 2025
Network Security & Route Tables – Checking NSGs, route tables, and service endpoints for a targeted VNET or Subnet

Network Security & Route Tables – Checking NSGs, route tables, and service endpoints for a targeted VNET or Subnet

February 3, 2025

Categories

  • AI (2)
  • Apps (1)
  • Azure (63)
  • blazor (2)
  • Blog (91)
  • c# (7)
  • Cloud (65)
  • Courses (3)
  • Dapr (4)
  • docker (4)
  • Games (1)
  • General Tips & Fix (1)
  • Home (1)
  • Kubernetes Service (AKS) (1)
  • motivation (2)
  • Motivation (3)
  • News (9)
  • Resume (1)
  • sql (4)
  • Terrafrom (1)
  • Tricks, Tips and Fixes (4)
  • xamarin (5)
No Result
View All Result
  • Home
  • News
  • Blog
    • blazor
    • c#
    • Cloud
      • Azure
    • docker
    • sql
    • xamarin
    • Dapr
    • Tricks, Tips and Fixes
    • General Tips & Fix
  • AI
  • Cloud
  • Motivation
  • Courses
  • About
    • Resume
    • Privacy Policy