For the book updates and community contributions


Deploy an app to App Service ................................................................................................ 2



Download 3,57 Mb.
Pdf ko'rish
bet3/49
Sana21.08.2022
Hajmi3,57 Mb.
#847402
1   2   3   4   5   6   7   8   9   ...   49
Bog'liq
DevOps-for-ASP.NET-Core-Developers

Deploy an app to App Service ................................................................................................ 2
 
Download and test the app ................................................................................................................................................. 2
 
Create the Azure App Service Web App ......................................................................................................................... 4
 
Deployment with Visual Studio .......................................................................................................................................... 5
 
Deployment slots ..................................................................................................................................................................... 8
 
Summary .................................................................................................................................................................................. 11
 
Additional reading ................................................................................................................................................................ 12
 
Continuous integration and deployment with Azure DevOps ......................................... 13
 
Publish the app’s code to GitHub
 .................................................................................................................................. 13
 
Disconnect local Git deployment ................................................................................................................................... 14
 
Create an Azure DevOps organization ......................................................................................................................... 15
 
Create a team project in Azure DevOps organization ........................................................................................... 15
 
Configure a self-hosted agent if necessary ................................................................................................................ 15
 
Configure the Azure Pipelines pipeline ........................................................................................................................ 16
 
Grant Azure DevOps access to the GitHub repository ...................................................................................... 16
 
Create the build definition ........................................................................................................................................... 18
 
Create the release pipeline ........................................................................................................................................... 21
 
Commit changes to GitHub and automatically deploy to Azure ....................................................................... 26
 
Examine the Azure Pipelines pipeline ........................................................................................................................... 27
 
Build definition .................................................................................................................................................................. 27
 
Release pipeline ................................................................................................................................................................ 30
 
Additional reading ................................................................................................................................................................ 33
 
Continuous integration and deployment with GitHub Actions .......................................................................... 34
 
GitHub Actions .................................................................................................................................................................. 34
 
Secure code with CodeQL ............................................................................................................................................ 34
 


ii 
Contents
Compare and contrast GitHub Actions and Azure Pipelines .......................................................................... 35
 
Compare and contrast GitHub Actions and Azure Pipelines ............................................................................... 35
 
Pipelines as code .............................................................................................................................................................. 35
 
Agents and runners ......................................................................................................................................................... 35
 
Comparison of GitHub Actions and Azure Pipelines ......................................................................................... 37
 
Feature comparison ........................................................................................................................................................ 37
 
Recommendation table for common scenarios ....................................................................................................... 39
 
Build a .NET web app using GitHub Actions .............................................................................................................. 39
 
Workflow structure .......................................................................................................................................................... 40
 
Create a basic build workflow ..................................................................................................................................... 40
 
Dissect the workflow file ............................................................................................................................................... 44
 
Publish the output ........................................................................................................................................................... 45
 
Deploy a .NET web app using GitHub Actions .......................................................................................................... 48
 
Environments ..................................................................................................................................................................... 48
 
Azure authentication....................................................................................................................................................... 49
 
Add environments ........................................................................................................................................................... 51
 
Deploy to staging............................................................................................................................................................. 53
 
Deploy to production ..................................................................................................................................................... 56
 
Add a manual queue option ........................................................................................................................................ 60
 
Handle environment configuration........................................................................................................................... 61
 
Final workflow file ............................................................................................................................................................ 64
 
Secure .NET Code with CodeQL and GitHub Actions ............................................................................................. 66
 
Create the code scanning workflow ......................................................................................................................... 67
 
Customize CodeQL settings ......................................................................................................................................... 70
 
Review the security alerts ............................................................................................................................................. 71
 

Download 3,57 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   49




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish