No video

ASP.NET Core CI/CD Pipeline with VS2019 in 10 Minutes!

  Рет қаралды 60,313

Hassan Habib

Hassan Habib

Күн бұрын

Пікірлер: 84
@hooseinsaeed
@hooseinsaeed 5 жыл бұрын
Already implemented in my current project. really love it.
@hooseinsaeed
@hooseinsaeed 5 жыл бұрын
but some of my NuGet packages are having compatibility issues on Nuget restore as "not compatible with netcoreapp2.2" while they are actually working with 2.2 on my VS
@shivajikakad5098
@shivajikakad5098 3 жыл бұрын
Thanks for the very quick and informative video.
@pablogarnica6608
@pablogarnica6608 3 жыл бұрын
Thank you.. very clear explanation! you make see it's not so hard.
@ravikumarmalipeddi1171
@ravikumarmalipeddi1171 4 жыл бұрын
That's true. "MICROSOFT is really AWESOME...!" Making things easier for a developer. Thank you so much for the video.
@nehatiwari6823
@nehatiwari6823 6 ай бұрын
Awesome Tutorial for newbies!!....Thanks👍
@shivarymec8835
@shivarymec8835 3 жыл бұрын
Hi Hassan, how can we integrate different tools such as sonarqube, coverity etc into this pipeline ?
@HindiCoderss
@HindiCoderss 4 ай бұрын
i am not getting the continuous delivery option in the publish sction rather than only create a publish profile . do i have to select anything from that or installing some other dependencies
@everyonesview
@everyonesview 4 жыл бұрын
Utterly cool. Cheers for that!
@HassanHabib
@HassanHabib 4 жыл бұрын
Thank you.
@iceman_molina
@iceman_molina Ай бұрын
Insane!!!
@luisalbertomendezsuarez9465
@luisalbertomendezsuarez9465 3 жыл бұрын
Thank you very much, it was very helpful
@compman73
@compman73 11 ай бұрын
Is any way to make all steps fully automated without need to click on build and release on Azure platform?
@nitindeole2810
@nitindeole2810 4 жыл бұрын
It's awesome...Thank you buddy...
@TechRajputOfficial
@TechRajputOfficial 3 жыл бұрын
Great tutorial.
@mhmohammadi9652
@mhmohammadi9652 Жыл бұрын
awsome
@younesreguieg4756
@younesreguieg4756 2 жыл бұрын
I'm looking for how can I deploy aspnetcore on VPS OVH(OS:CentOS/WebServer:Apache/Database:MySQL) and use CI/CD with version control like github and apply(Add Migration) any changes in the Entities on the database , help me to know the best practices for this problem or just give me an article ,thank you
@CHICUDOALHO
@CHICUDOALHO 3 жыл бұрын
An awesome tutorial made by "The Azure Aquaman"(Jason Momoa)😂. Thanks man!
@shivajikakad5098
@shivajikakad5098 3 жыл бұрын
Really an Aquaman 😂
@pandarikkal
@pandarikkal Жыл бұрын
I am using visual studio 2019 community edition. why I am not geting publish,start, continuous delivery options ? I tried VS 2022 community also. there also those options are missing. please advise
@HassanHabib
@HassanHabib Жыл бұрын
It might only be available on VS Pro or Enterprise.
@sreenuksr
@sreenuksr 2 жыл бұрын
Hi Hassan, I have gone through your video. It is fantastic. I wish you a very happy and presperous year to you. Any possibility to automate our builds like weekly or bi-weekly deployment thru pipe-line. It would be more helpfule if you share or prepare a video on this. thank you!
@RouxAdventures
@RouxAdventures 4 жыл бұрын
Hey, thanks so much for the video. Just a question, Under "Setup Azure Pipelines" within VS2019 there are 2 sections in your video - Select a repo branch and Select Target Azure Resources. In mine I have 3; Select an Azure DevOp Project. Do I need to create that manually 1st on Azure portal? That a new thing they introduced?
@HassanHabib
@HassanHabib 4 жыл бұрын
Yeah I had to create the actual project in ADO first
@Vivalavidapool
@Vivalavidapool 4 жыл бұрын
sick! Thanks for that!
@Prasadrkmca
@Prasadrkmca 2 жыл бұрын
Nice video sir
@faijalmalik4701
@faijalmalik4701 4 жыл бұрын
Suppose to i have 3 differenr enviroment like Development Staging And live How to manage ci/cd Please help me in this
@keeganfargher6418
@keeganfargher6418 4 жыл бұрын
Not saying this is the best solution, but we create separate branches for each environment and when code changes in each of those branches it triggers a build and release for that environment
@harshadbubane5113
@harshadbubane5113 3 жыл бұрын
Overall nicely explained..👍 Will the it work the same way in VS 2017 version?
@A4amenvi
@A4amenvi 5 жыл бұрын
Man you're a Saint ❤.
@lukasz_7690
@lukasz_7690 3 жыл бұрын
Very interesting. Just noticed that there is no azure.pipelines.yml configuration file in the azure repository. What if wanted to add additional tasks to the pipeline? Where should I do this?
@SenthilkumarSV
@SenthilkumarSV 3 жыл бұрын
good one mate. But looks Continuous delivery is not available by default in VS 2019. I am using Professional edition.
@HassanHabib
@HassanHabib 2 жыл бұрын
I'm wondering if this is an enterprise version thing.
@theITvideos
@theITvideos 4 жыл бұрын
nice demo! I am working on a .Net Core Console App in Visual Studio 2019. I don't see the Publish button or the Overview page
@HassanHabib
@HassanHabib 4 жыл бұрын
What version of VS 2019 are you using?
@rupeshkamble9105
@rupeshkamble9105 2 жыл бұрын
Can we use legacy TFS with CICD, instead of azure source control??
@A4amenvi
@A4amenvi 4 жыл бұрын
Great insight! I am looking for the best (cost effective and easy of use) ci/cd with k8s for my aspnet core 3.0 and angular 8 web app projects . Kindly help with some advice and/or demo. Stay blessed.
@abdulrhmanradwan4013
@abdulrhmanradwan4013 3 жыл бұрын
PERFECT
@devsri79
@devsri79 4 жыл бұрын
Really good demo..just like to ask if we have an asp.net do we need to go with this.. and for java applications Jenkins. Wats your view?
@HassanHabib
@HassanHabib 4 жыл бұрын
You don't have to go with this option if you are doing in ASP.NET, but it's highly recommended. As for Java I think Jenkins is a great option, but I haven't done much with Java so there might be other options.
@Vivalavidapool
@Vivalavidapool 4 жыл бұрын
It's definitely recommended in team environment and to make sure that you've deployed all the necessary code from your machine and you avoid app working only on your machine and nowhere else.
@MikeMichellelucas
@MikeMichellelucas 8 ай бұрын
Do you have something similar using Git Lab?
@HassanHabib
@HassanHabib 8 ай бұрын
No sorry. I work exclusively with Microsoft products
@aniani2020
@aniani2020 4 жыл бұрын
I have a question: Instead of having Git source control in Azure, if I have an On-Premises TFS, can we automate this similar DevOps process?
@HassanHabib
@HassanHabib 3 жыл бұрын
Theoretically yes, but I haven't done it myself.
@andreneveseng
@andreneveseng 3 жыл бұрын
My company uses CI/CD from Jenkins. Can VS help building a pipeline in Jenkins enviroment?
@HassanHabib
@HassanHabib 3 жыл бұрын
I haven't tried that - seems to be theoretically possible with VS extensions but I haven't tried if myself.
@andreneveseng
@andreneveseng 3 жыл бұрын
Thanks,@@HassanHabib . Where am I supposed to find these kind of extension? VS Code has a marketplace. Is there something similar for VS 2019?
@farazshaheen
@farazshaheen 3 жыл бұрын
Hi Hassan, It was really very nice and impressive tutorial. I have a Question that, code level changes can be deployed as CI/CD. but if there would also a change at database level like adding a column in one of a table in SQL Server then how that change will be deployed along with the code. I will look forward for your reply. Thanks Qazi
@HassanHabib
@HassanHabib 3 жыл бұрын
If you are using the EntityFramework, everytime you do a SQL code-first update, it generates a migration file for you. if you have your EF Context setup to Migrate then it will kick off any new migrations as soon as the instance is deployed to Azure app service. Here's a video that shows you how to setup your storage broker to support automated migrations: kzbin.info/www/bejne/l6KVaXWtbtutnbc I hope this helps.
@MR-ne5ww
@MR-ne5ww 3 жыл бұрын
Terimakasih
@ahmetsse
@ahmetsse 5 жыл бұрын
What do you suggest if we also have code first database ? Will it be easy ?
@HassanHabib
@HassanHabib 5 жыл бұрын
Should be straightforward- code first migration task in your pipeline will do the trick for ya.
@minh_tran
@minh_tran 4 жыл бұрын
Thank you for your video! I have a .NET core with SQL Server db and Angular app. I tried to use the same steps as you did but it gave me errors such as: Build:Cannot find type definition file for 'jasmine'. What should I do? Thank you
@HassanHabib
@HassanHabib 4 жыл бұрын
jasmine is a js specific library it requires additional configurations to set that up in the pipeline it won't come natively from VS pipeline setup. I also highly recommend using Blazor if you are exploring options for doing UI with .NET
@minh_tran
@minh_tran 4 жыл бұрын
​@@HassanHabib thanks for the fast reply. I found this link: timdows.com/projects/net-core-with-angular-continuous-integration-and-deployment-with-azure-devops/ I'll try to follow it and see if it works
@minh_tran
@minh_tran 4 жыл бұрын
@@HassanHabib About .NET, I'm building this last project with it and I'll move on to Nodejs and React. I'll remember your recommendation if I ever come back to .NET
@HassanHabib
@HassanHabib 4 жыл бұрын
@@minh_tran Best of luck, let me know if you have any questions.
@grooms777
@grooms777 3 жыл бұрын
Does it work in Visual Studio Community 2019? or only in Professional
@HassanHabib
@HassanHabib 3 жыл бұрын
I haven't tried it - ill check and let you know
@heyharshdeep
@heyharshdeep 3 жыл бұрын
Can you help with database deployment
@HassanHabib
@HassanHabib 3 жыл бұрын
Sure thing, tell me more about exactly what you are trying to do.
@Noonie893
@Noonie893 5 жыл бұрын
What about if the releases must be done On premises? Can it be as easy as you’re describing here?
@HassanHabib
@HassanHabib 5 жыл бұрын
Is it an on-premise Azure or on-premise custom server?
@Noonie893
@Noonie893 5 жыл бұрын
Hassan Habib on premise custom servers. Sorry for the delay response.
@HassanHabib
@HassanHabib 5 жыл бұрын
@@Noonie893 I haven't really tried an on-premise, but theoretically it should be the same with Azure installed as PaaS on your local servers.
@artiusit3625
@artiusit3625 5 жыл бұрын
what extensions are you using...I can't get past the step of deploying to my localhost
@HassanHabib
@HassanHabib 5 жыл бұрын
Not using any extensions, pure vs2019
@artiusit3625
@artiusit3625 5 жыл бұрын
@@HassanHabib could you please provide a link for a mac OS download?
@HassanHabib
@HassanHabib 5 жыл бұрын
@@artiusit3625 I haven't tried a full CI/CD on a mac, but here's the link: visualstudio.microsoft.com/vs/mac/
@HassanHabib
@HassanHabib 5 жыл бұрын
@Theophilus Tor You're welcome :-)
@THE_NE0
@THE_NE0 5 жыл бұрын
How much it cost ?
@Vivalavidapool
@Vivalavidapool 4 жыл бұрын
for a single project, DevOps (includes repo, build and release servers) doesn't cost anything, try it for free. You'll need azure subscription for actual webserver, you can do a trial account and there are very basic cheap settings to try out most of the tooling. Server without a database will be free on most basic setting.
@CodeThatVoid
@CodeThatVoid 5 жыл бұрын
Your local build looks reaaaaalllly laggy.. :( whats all about that?
@HassanHabib
@HassanHabib 5 жыл бұрын
It usually isn't but because I'm recording in 4k most of memory (32GB) is consumed capturing full quality video for desktop and camera.
@CodeThatVoid
@CodeThatVoid 5 жыл бұрын
Oh. That makes sense. Haven't considered 4k. :) Anyway. Really useful video. Thank you. Will need to look into Azure pricing, as not many options to host .NET Core elsewhere anyways. At least for now.
@PaulSebastianM
@PaulSebastianM 2 жыл бұрын
Hmm... you're sitting in the corner... why? :D
@HassanHabib
@HassanHabib 2 жыл бұрын
I don't get it. sorry.
@PaulSebastianM
@PaulSebastianM 2 жыл бұрын
@@HassanHabib Corner of the able.
@mmm_mightymanmovement
@mmm_mightymanmovement 3 жыл бұрын
Any guesses why I am seeing this? Configuring Azure Pipelines. This might take several minutes... Creating Azure resources: Creating Resource Group VeggieWebShop-dev-rg....done Creating App Service Plan VeggieWebShop-dev-asp..........done Creating App Service VeggieWebShop-dev-as......................done Creating Azure Pipelines.............................failed Error: Setting up the build pipeline for Azure DevOps Project veggiewebshop failed. Details: Status Message: Configuration failed at step: 'Creating assets'. More details: Failed to acquire access token.. Status: Failed
@HassanHabib
@HassanHabib 3 жыл бұрын
I wonder if you have permissions issue?
@addtyu6176
@addtyu6176 3 жыл бұрын
10 Minutes ?? More like 13 minutes...
@HassanHabib
@HassanHabib 3 жыл бұрын
My bad - sorry 😞
Upgrading to .NET Core 3.1 (Real Life Project)
29:27
Hassan Habib
Рет қаралды 14 М.
GitLab CI CD Pipeline Tutorial | Introduction | 2022
34:43
Tech and Beyond With Moss
Рет қаралды 238 М.
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,4 МЛН
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 14 МЛН
Yum 😋 cotton candy 🍭
00:18
Nadir Show
Рет қаралды 7 МЛН
The IDEAL & Practical CI / CD Pipeline - Concepts Overview
22:36
Be A Better Dev
Рет қаралды 476 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 152 М.
C# ASP.NET 5 - CI/CD With GitHub Actions - Part 1
37:19
Rainer Stropek
Рет қаралды 12 М.
How to design a modern CI/CD Pipeline
9:59
DevOps Journey
Рет қаралды 119 М.
Azure DevOps Tutorial for Beginners | CI/CD with Azure Pipelines
36:29
TechWorld with Nana
Рет қаралды 1,2 МЛН
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,4 МЛН