Skip to content

Latest commit

 

History

History
174 lines (98 loc) · 4.13 KB

deploy-to-azure.md

File metadata and controls

174 lines (98 loc) · 4.13 KB

Azure Deployment

Running ASP.NET Core Web APIs in the Cloud

Azure Benefits

  • As students, you get free access to Azure
  • Works with your Office 365 accounts from HTL Perg
  • Step-by-step description for signup and deployment of ASP.NET Web API see following slides

Sign In

  • Open a browser window in which you are logged in with your Office 365 account
  • Open Azure portal
  • Navigate to Resource Groups

Sign In

Open Azure portal

Get Azure Student Benefits

Get Azure Student Benefits

Get Azure Student Benefits

Get Azure Student Benefits

Get Azure Student Benefits

Get Azure Student Benefits

Get Azure Student Benefits

Get Azure Student Benefits

Get Azure Student Benefits

Get Azure Student Benefits

Get Azure Student Benefits

  • After a few moments, you should have an active Azure subscription.
  • Now we can deploy a Web API
    • Open Azure portal
    • Follow screenshots on the following slides

Note that it should not be required to enter credit card information. If it is, do not enter any credit card data to make sure you do not have to pay Azure costs.

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

  • Now we have an environment in Azure in which we can deploy our Web API
  • Open Visual Studio 2019
    • Sign in with your school account
    • It is ok to have multiple accounts, Visual Studio allows you to log in with multiple accounts
    • Follow screenshots on the following slides

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

  • Now you will have to log in with your school account
  • After successful login, you should see your account in Visual Studio
    • Follow screenshots on the following slides

Deploy Web API

Deploy Web API

Deploy Web API

  • Create an ASP.NET Core 3 Web API project or open an existing one
  • We will deploy the Web API from Visual Studio
  • Friends don't let friends deploy from Visual Studio 😉
    • Note that professional users don't do that in real life
    • They use Azure Pipelines instead

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

Deploy Web API

You might need to sign in again in this step

Deploy Web API

Deploy Web API

Deploy Web API

Our Web API is available in Azure 😀

Deploy Web API