Step by Step - Use Azure DevOps to Test, Build and Deploy an API

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 321

  • @FATPENGUIN96
    @FATPENGUIN96 5 лет назад +8

    It's been a good day so far, I woke up mega early (UK time) to watch F1, that was in Melbourne, then sat down with a brunch for a Les Jackson video.
    Steps for a Les Jackson Video:
    1) Click on video
    2) Like video
    3) watch video

    • @binarythistle
      @binarythistle  5 лет назад

      Hope you had a great day - and enjoyed the the F1 and the Video! Lovely feedback - thanks - Les!

    • @vks9906
      @vks9906 4 года назад

      @@binarythistle Clicked on Video, Liked Video , watching while executing the video.

  • @asifsongs
    @asifsongs Год назад

    Best ever tutorial, now This is what I call dream teaching. Picked up each and every point he tried to convey.

  • @khandoor7228
    @khandoor7228 5 лет назад +1

    Great Video very very cool! I didn't see anyone else tie all technologies together the way you did. Exactly what I was looking for. thank you!!

    • @binarythistle
      @binarythistle  5 лет назад

      Awesome! That is what I was aiming for - thanks for the feedback, Les

  • @waytosanathan
    @waytosanathan 3 года назад +18

    Perfect video covering almost all basic aspects of integration, build, test, deploy. Thanks a lot Les. This will act as a foundation to many

  • @muthukrishnanp.l1968
    @muthukrishnanp.l1968 3 года назад

    Appreciating this brilliant tutorial Les, Got more clarity on this process, I feel I've upgraded. Thank you for this video.

  • @YogeshKumar-hm1nq
    @YogeshKumar-hm1nq 4 года назад +1

    nice explanation with end to end detailed, very helpful, thank you so much Jackson

    • @binarythistle
      @binarythistle  4 года назад

      My pleasure Yogesh, and thank you for your lovely comment! Les

  • @hkolvoort
    @hkolvoort 3 года назад

    Great tutorial Les! Like the step by step approach! Thanks!

  • @shankarsaurabh
    @shankarsaurabh 4 года назад +2

    Hi Les. Great tutorial. Could you also pls do a 'step by step' of web api with authentication using MS identity management/Key vault and also, Api management using azure api manager. Can't seem to find anything anywhere which does this completely at one place.

    • @binarythistle
      @binarythistle  4 года назад +1

      Hi Saurabh - great suggestions mate! Next video will be on securing APIs with Azure Active Directory & Bearer Tokens. I've not investigated the Azure API Management stuff yet, but have it on my list of videos. Thanks for the suggestions - I really appreciate it. Les

  • @lalitgauba9134
    @lalitgauba9134 4 года назад +1

    Good Video , I liked and subscribed. you are really awesome with your knowledge and command over subject you are talking about

  • @lucianofragaweb
    @lucianofragaweb 2 года назад

    Amazing! Thank you very much Les!

  • @Mr9951432442
    @Mr9951432442 2 года назад

    Very good explanation Jack..

  • @pauly
    @pauly 2 года назад +1

    When running the pipeline for the first time, approx 38:30 i am getting "No hosted parallelism has been purchased or granted." I assume this is now expected? ...as MS has moved the goalposts! I have filled in their form (address given in the error message) and will continue when they fix it. Great video by the way i am now a subscriber. Your videos are amongst the best i have seen.

  • @danrazumov
    @danrazumov 5 лет назад +8

    Great tutorial mate, thank you for taking the time and getting it out to the world!! Liked and subscribed!

    • @binarythistle
      @binarythistle  5 лет назад +1

      Hey Daniel - thanks for the feedback mate! Glad you found the video useful. Cheers, Les

  • @rajeshdesha8111
    @rajeshdesha8111 3 года назад

    Excellent Video. Thank you so much.

  • @rakrakesh1584
    @rakrakesh1584 3 года назад

    Wonderful explanation

  • @mariosalvatierravargas2546
    @mariosalvatierravargas2546 5 лет назад

    I like the video, awesome. I like the way you explained the subjects. I am new at DevOps and I followed your tutorial and it worked. then I tried using a DB running in Azure and also worked running the API locally. then I pushed it to DevOps the CI build worked but the Release failed. i wonder if in the future you would make a video about deploying the API to DevOPs with a SQL db running in Azure. Super Thanks. and please publish more videos.

  • @Shinee3e
    @Shinee3e 5 лет назад +3

    Thank you very much Les, very informative and complete as always, just wondering what if we take a .NET CORE API App which is related to a Db (i.e your last demo CommandsApi) and deploy it on Azure, will we run the migrations again? or just bring our local already generated Db on Microsoft Server?
    Thanks.

  • @thomasvanderwardt7316
    @thomasvanderwardt7316 4 года назад +2

    Hi Les Jackson, all,
    I followed along with the tutorial today, and found some changes have been made since the publication of this tutorial. If you want to follow along, you'll need to change/adapt the following things (21-10-2020):
    - dotnet:
    - GET is different location; the sample project now contains "WeatherForecastController" instead of "ValuesController". Go to localhost:5001/weatherforecast to see the results
    - Simplest way forward are some small changes to this controller to make it work with the rest of the tutorial. Go ahead and fork my version to keep going. See here: github.com/Thomasvdw/CICD_tutorial
    - YAML:
    - the .yml file coming from Azure has a different syntax, includes testing immediately. But if this testing fails it does not stop the build for some reason.
    - "DotNetCoreCLI@2" results in warning as version 2 is deprecated. For now still seems to work though.
    - Release pipelin:
    - With default settings I received the following error on release atttempt: "##[error]Error: More than one package matched with specified pattern: D:\a
    1\a\**\*.zip. Please restrain the search pattern." To fix this; go inside the Edit the release pipeline job, select the "Deploy Azure Service App" and scroll down to "Package or folder". Here don't make it search for any zip (*) but just select the single instance; "..../drop/SimpleAPI.zip".
    Cheers and good luck!

    • @debreczenytivadar1220
      @debreczenytivadar1220 3 года назад +1

      Thank you!

    • @iandavies1524
      @iandavies1524 3 года назад +1

      Also adding global.json as {"sdk": {"version": "2.2.107"}} to SimpleAPISln folder then dotnet new webapi scaffolds ValuesController project

  • @IamCkNitin
    @IamCkNitin 4 года назад

    Thank you so much for this video... It help me a lot to understand.. God bless

  • @dchennaraidu
    @dchennaraidu 4 года назад

    28:41 Les, starting from 3.1, *dotnet new gitignore* can be used

  • @zeeshantariq1574
    @zeeshantariq1574 4 года назад +1

    do you have step by step guide for docker deployment using azure devops ????

    • @binarythistle
      @binarythistle  4 года назад

      Hi Zeeshan, I'm planning on making this video at some point, not got round to it yet though,

  • @vu3gwn
    @vu3gwn 4 года назад +2

    Hey Les Jackson, fantastic tutorial...Would love if you put a part 2 of this to cover multi-stage pipeline deployment for Dev/QA/Prod...

    • @binarythistle
      @binarythistle  4 года назад +3

      Thanks Prasad. Good suggestion I'll add it to my list! Cheers, Les

  • @aikidoshi007
    @aikidoshi007 4 года назад +4

    Brilliant tutorial Les, much appreciated. I was intrigued that you moved the test step before the build test, does the test step do a build of its own first?

  • @DjangoBruh
    @DjangoBruh 5 лет назад +5

    My new favorite channel on youtube!

  • @101BeingHappy
    @101BeingHappy 2 года назад +1

    Very nice and informative video for actual CI/CD implementation using Azure DevOps. If you are not new to software development, then you can directly head over to 35:45 for actual demonstration of Azure pipelines.

  • @uttamchaturvedi
    @uttamchaturvedi 4 года назад +3

    Such a incredible tutorial with easy step.. Thank you so much Les

  • @mdejulia489
    @mdejulia489 4 года назад

    Check out the AzurePipelinesPS powershell module on the PSGallery: www.powershellgallery.com/packages/AzurePipelinesPS

  • @lukmanoyee3731
    @lukmanoyee3731 5 лет назад +5

    This is excellent demo and best presentation of all time. thank you

    • @binarythistle
      @binarythistle  5 лет назад +1

      Hi again Lukman - really glad you liked the video! Feedback like this keeps me going@ Take it easy, Les

  • @victoriapetrone4841
    @victoriapetrone4841 3 года назад +1

    So happy that i found this video!!! its just perfect. You explain everything really good, all the complete process and in short time.! thank you a lot

  • @elmokhliss4852
    @elmokhliss4852 4 года назад +2

    Thanks

  • @premierleague5871
    @premierleague5871 4 года назад

    hey Les, I was working through this example and got the following error when I ran dotnet build in \VSCODE\SimpleAPISln> .
    error MSB4126: The specified solution configuration "Debug|MCD" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration
    Did I miss a step or there is a misconfig somewhere

  • @ananthmaddur1200
    @ananthmaddur1200 3 года назад

    Great Session. Superb.

  • @kashchi
    @kashchi 5 лет назад

    @Les Jackson : Can you please help me with any video link for .Net MVC Application with CI/CD Azure Demo. Kindly Share any details if you have. Thank you in Advance.

  • @WaleedChayeb
    @WaleedChayeb 4 года назад

    Very useful, Thank you

  • @amogharora
    @amogharora 3 года назад

    Hey Jackson,
    I followed the video, its realky awesome and infirmative but one query why did you execute unit test before building webapi project. Please do reply.

  • @KalyanReddy-l5b
    @KalyanReddy-l5b 11 месяцев назад

    Hi, I am looking to migrate from TFS Server to latest Azure Devops Server(Not Cloud Services). Can you suggest any tool or material for this?

  • @alirezakhorram9962
    @alirezakhorram9962 2 года назад

    I don't understand why you are insisting to use command line to create a simple Web API project with test. you could simply use VS to save time. The creation of a dummy project was not the intention of this video i guess! the actual relevant content starts after 34:00 minutes. For that 46 minutes, i really appreciate you ; -)

  • @sharmadunia1962
    @sharmadunia1962 Год назад

    Hello Sir thanks for the video.
    I have one doubt like i want to run a Pipeline based on when Merging with Master, QA Stage needs to run , not any other environement. how can i achive this..?? what condition or Branching or Triggers need to used?

  • @eliassal1
    @eliassal1 4 года назад

    Hi Les, I visited leanpub and wanted to purchase your book "The Complete ASP.NET Core API Tutorial", it is indicated that it was retires and not on sale anymore"

  • @jainggn0609
    @jainggn0609 3 года назад

    Excellent Videos, You are the best mentor on youtube for learning new technology...Thanks

  • @chatto47
    @chatto47 4 года назад +1

    This is very helpful video. With the help of this article finally i been able to understand the concept of CI & CD pipelines of Azure DevOps

  • @ryrlubricantes
    @ryrlubricantes 2 года назад

    perfect video, perfect tutorial on the blog... Thanks a lot for sharing your knowledge

  • @jagdeshwarmanipatruni6327
    @jagdeshwarmanipatruni6327 2 года назад

    Can we write the API definition using YAML instead of logging in into Azure Portal? and deploy into the azure portal. If so any clues on how can we do this?

  • @Badabum9080
    @Badabum9080 3 года назад

    8 mins in and 3-4 ads already. It's distracting...I'm going to play this for a few more minutes and see if that...goes away.

  • @FizzaNasir-k6h
    @FizzaNasir-k6h 8 месяцев назад

    It said that free tier of parallel job requires 2-3 business days when I clicked on save and run.. is it happening to everyone else?

  • @SajidAliSoftwareEngineer
    @SajidAliSoftwareEngineer 4 года назад

    could you provide the same training with AWS DevOps?

  • @dragonburger5676
    @dragonburger5676 3 года назад +1

    Great job Les! Thank you so much. Saving me hours of frustration 😀

  • @virendrakumar-zp8lv
    @virendrakumar-zp8lv 4 года назад +1

    Hi Les, Could you tell me any difference between Azure cloud and Azure DevOps?

    • @binarythistle
      @binarythistle  4 года назад +1

      Hi Virendra. The way I'd describe it is that Azure (Cloud), is Microsoft's cloud platform, competing with the likes of Amazon Web Services and Google Cloud. You can then use these cloud platforms, (including Azure), to create resources ranging from Networks, Virtual Machines, Containers, Databases etc. to host your applications and IT infrastructure.
      Azure DevOps, (formally called Team Foundation Server), on the other hand is Microsofts suite of: version control, requirements management, build automation and release management capabilities. It competes with things like Jenkins, Jira, Werker, Circle CI etc.
      I think calling it "Azure DevOps" was a really bad choice of name - I think it's quite confusing. I'd guess they'll maybe merge Azure DevOps into the main Azure product set in time...?
      Hope that helps.

  • @doug87226
    @doug87226 4 года назад +1

    Awesome tutorial! Subscribed yesterday, liked this tutorial and bookmarked your page! thanks again Les!

  • @humrod1852
    @humrod1852 4 года назад

    Why keep calling these tests unit tests? Aren't they in fact REST API integration tests?

  • @parhamdarvishi5308
    @parhamdarvishi5308 Год назад

    great video🎉, i have question : is there any way to add my specific resourse (dedicate server) ?how?

  • @taivo2272
    @taivo2272 4 года назад +2

    This is exactly what I looking for a demo with Azure Devops. Thank you so much

  • @elmokhliss4852
    @elmokhliss4852 4 года назад +1

    Thanks veryyyyyyyyyyy helpful❤️❤️❤️

  • @Dominik-vl6cx
    @Dominik-vl6cx 2 года назад

    Thank you. It was a great tutorial.
    Aultmore 12 is a good one. :D

  • @RicardoJosue
    @RicardoJosue 4 года назад

    its great, but i have a question, What happend when my web api net core containts references of diferents assemblys , all projects of assemblys uploads one by one? or how is this process?
    grettings from Mexico.

  • @donnysingh1652
    @donnysingh1652 2 года назад

    Hi Les good video I leant alot with regards to the testing can you do a video that connects to sql data via get data from a table as I having a problem getting that working i cant get sql server and devops to work together

  • @health40plus
    @health40plus 4 года назад

    Why you are using VS Code ??? where as everything is very easy in Visual Studio.

  • @steviepca
    @steviepca 5 лет назад +2

    Incredibly impressive ... the same can be said about this video

  • @fredzimmerman6804
    @fredzimmerman6804 4 года назад +1

    Les, Do you have a tutorial on running a Java Selenium test suite project in DevOps pipeline? Zee

    • @binarythistle
      @binarythistle  4 года назад

      Hi Fred, unfortunately I don't and to be honest it's not something I'm likely to do a video on... Cheers, Les

  • @sxlalan
    @sxlalan 5 лет назад +1

    Great walkthrough, thanks for publishing. What’s the music you use in the video?

    • @binarythistle
      @binarythistle  5 лет назад

      Hi Alan, no problem. I use the "royalty free" music library that RUclips provides for free. The title track on this one is called "scanner". If you google "RUclips Creator Studio Music" I'm sure you'll get more details. There's some nice tracks! Cheers, Les

  • @davidjackson148
    @davidjackson148 3 года назад

    Nice one, but how to I deploy to a non-azure ftp site? is this even possible?

  • @ReasonNLogic
    @ReasonNLogic 3 года назад

    Companies using this pipeline could use your video as an onboarding resource.

  • @ravirachchh4062
    @ravirachchh4062 5 лет назад +1

    Very nice and detailed explanation. Can you please create video on how to perform pre and post deployment tasks?

    • @binarythistle
      @binarythistle  5 лет назад

      Hey Ravi, Good suggestion mate it's something I'd like to cover so will out is on my to do list! Cheers,
      Les

  • @webnoel
    @webnoel 5 лет назад +2

    Thanks Les!!! This video was awesome. Love the way you broke down and explained stuff without sounding boring. Thank you once again.

    • @binarythistle
      @binarythistle  5 лет назад +1

      Hi Noel - thanks for the great feedback mate! Glad you found it useful!

  • @dirk8860
    @dirk8860 5 лет назад

    Love your music.

  • @amarmaestro191
    @amarmaestro191 3 года назад +1

    This is awesome. Whenever I watch and wherever I watch this tutorial, this all make sense. I have learned a lot. Thank you for the video. Cheers, Les❤️

  • @shireeshkumar6631
    @shireeshkumar6631 3 года назад

    Can you also teach how to do the same with SQL server back-end

  • @betsythomas7957
    @betsythomas7957 5 лет назад +2

    Thanks Les, this was a great overview of Azure DevOps. I will like to see how databases are provisioned.

    • @binarythistle
      @binarythistle  5 лет назад

      Hi Betsy, thanks for the great feedback. I agree I think the next iteration of this needs to include the auto-provisioning of resources on Azure - I've added it of my list of things to cover! Thanks again, Les

  • @aratan2062
    @aratan2062 4 года назад

    Hi, I'm Ara Tan, from CATLIGHT ( tfs-alerts.com ) . I found using Azure DevOps pretty straightforward, the key to the whole thing, (for me anyway), is understanding the azure-pipelines.yml file and what’s possible with it.
    The only other addition I’d make, (and I may write a follow up article), is to use Azure Resource Manager, (ARM), templates to set up the API App automatically - but that’s for another time…

    • @binarythistle
      @binarythistle  4 года назад

      Hi Ara, totally agree. I've not looked at the ARM stuff myself, but I think it you're wanting a totally automated experience, ARM will need to be used.

  • @russellkemmit73
    @russellkemmit73 5 лет назад +1

    Man that was great!

  • @geoffrey8607
    @geoffrey8607 2 года назад

    Thanks for this but you really need a typing course.

  • @camilogomez7167
    @camilogomez7167 4 года назад

    Take notice.
    When you are modifing the yml file to packaging the build in the line: "arguments: '--configuration $(BuildConfiguration) --output $(Build.ArtifactStagingDirectory)'", BuildConfiguration should be with capital B otherwise it throws an error .

  • @devikrishnags300
    @devikrishnags300 4 года назад +1

    One of the best tutorial for Azure Devops with proper demo. Thanks a lot Jackson.

  • @wicusbotha
    @wicusbotha 5 лет назад +1

    Awesome, thank you so much. One of the simplest best video to watch. Worth all the time.

  • @garrym1916
    @garrym1916 5 лет назад +1

    Clenched buttocks for sure les. Thanks very much. Great tutorial.

  • @jaskiratsingh8426
    @jaskiratsingh8426 2 года назад +1

    Woah, this is exactly what I was looking for mate, simple short yet effective and explanatory . Thank you very much.

  • @shubhamtiwari4078
    @shubhamtiwari4078 5 лет назад +1

    Thanks les , nice explanation about azure pipelines , it would be very nice if you could make a dedicated video about the yaml file , thanks :)

    • @binarythistle
      @binarythistle  5 лет назад +1

      Hi Shubbam, that's a great idea! I've been looking at Docker for my next video and the "DockerFile" could do with more explaining as well.. May be a I should do a series on "config files"? E.g. azure-pipeleines.yaml, Dockerfile etc? Anyway great suggestion, I've had a few comments on building out what is possible with Azure DevOps Pipelines, so think I'll prioritise this one! Cheers, Les

    • @shubhamtiwari4078
      @shubhamtiwari4078 5 лет назад

      @@binarythistle yeah that's way better I mean starting with docker and then docker file , explaining the docker commands and then running the application on docker container and then deploying the container to Azure with the help of Azure pipelines , looking forward to it , thanks in advance Les ! Cheers !

  • @himadrimallick6578
    @himadrimallick6578 2 года назад

    Thank you so much , as a beginner It is great to learn from you .

  • @mhalton
    @mhalton 2 года назад

    I'm assuming the tab key doesn't autocomplete.

  • @maiksousavital1671
    @maiksousavital1671 2 года назад

    Hi Les Jackson hope everything is well with you. Just out of curiosity, why do you use vs code instead of vs community edition?
    Btw... amazing content. Thank you for that.
    Best regards

  • @wendersonjosedocarmo8782
    @wendersonjosedocarmo8782 5 лет назад +1

    Les,
    I have a problem with a configuration in a pepiline that I am developing to run the automatic tests, but I have a problem, because in tests I do a data reading in an Excel worksheet, so I would have to configure "ODBC" in the azure devops, can you tell me how to configure the ODBC datasource in Azure? Thank you.

    • @binarythistle
      @binarythistle  5 лет назад

      Hi Wenderson, must admit I've not tried that that either! I'm pulling together a bit of a guide on Azure DevOps so will see if I can include it in there (assuming it's possible). If you figure it out before me though, please post the answer here! Cheers, Les

    • @wendersonjosedocarmo8782
      @wendersonjosedocarmo8782 5 лет назад

      @@binarythistle Ok, so I have an answer, put it here, thank you.

    • @binarythistle
      @binarythistle  5 лет назад

      Cool thanks!

  • @hichamdahabi2704
    @hichamdahabi2704 4 года назад +1

    Great tutorial, very useful for devops beginners. Thanks a lot!

    • @binarythistle
      @binarythistle  4 года назад

      Hi Hicham. Thanks for the feedback mate - hope it helped.

  • @HariKumarReddyGutha
    @HariKumarReddyGutha 4 года назад

    Really helpful ci CD vedio, please provide vedio on different type of task or agent jobs to use ci or CD. For ex. Net app, another. Net core, Angular

  • @bhanushkaekanayake9988
    @bhanushkaekanayake9988 4 года назад +1

    Excellent tutorial. Learnt many new things. Thanks a lot.

  • @alarkin77
    @alarkin77 3 года назад

    Great stuff Les. Had been racking my brain trying to get this working and your video helped immensely. Incidentally I used to work with a Les Jackson back in Asda Clydebank... surely just a coincidence?

  • @lukmanoyee3731
    @lukmanoyee3731 5 лет назад +2

    listen to intro alone make me subscribe. keep to up....

  • @stellarit3485
    @stellarit3485 5 лет назад +1

    Thanks for your detailed steps in ci/cd using azure devops

  • @premkumarvijayakumar1849
    @premkumarvijayakumar1849 3 года назад

    wonderful video. I learned a lot from your teaching. Your way of teaching is easy to understand. Thank you very much Bro!

  • @mjones53
    @mjones53 4 года назад +1

    Thank you

  • @prashi222
    @prashi222 4 года назад +1

    Wonderful session Les, very informative and you made my learning very simple...

  • @shaileshpatil8370
    @shaileshpatil8370 2 года назад

    Thanks Les. It really helped me a lot in learning Azure DevOps CI-CD. Thanks a lot again!

  • @VijayKumar-xm5ty
    @VijayKumar-xm5ty 2 года назад

    Thank you so much for making such a knowledgeable video to cover each aspect of DevOps. :)

  • @harpreetsingh5290
    @harpreetsingh5290 2 года назад

    This give me a great start on Azure. Before watching this video I had no knowledge of Azure. Thanks a lot.😊

  • @LalitChoudhary-rb9nr
    @LalitChoudhary-rb9nr 5 лет назад

    Really best video with briefing for beginners. Almost all the things covered. Very informative. I appreciate you for this.
    I would like to ask you to make a video for deployment of .Net Core API app with DB and Microservice architecture using Docker. It will be very helpful for lots of Developers. Thank you so much for this video.

  • @openmindjustdoit1306
    @openmindjustdoit1306 4 года назад +1

    Hello sr did u have course udemy

    • @binarythistle
      @binarythistle  4 года назад

      Hi Mate. Not I don't. But I'm wanting to start to make some full length courses and put them on Udemy or Teachable at some point in 2020. I just need to find the time!

  • @SoumitraMithu
    @SoumitraMithu 3 года назад

    Thank you for this nice video tutorial on Azure DevOps. Appreciate your effort.

  • @viniciusmorgado9722
    @viniciusmorgado9722 2 года назад

    Very nice video, helped me a lot, thanks!

  • @sanjaysamuel2293
    @sanjaysamuel2293 3 года назад

    Love you Les. Thanks for your great tutorial(s).Be "God Blessed" always .. Cheers

  • @sharathvujjini3944
    @sharathvujjini3944 3 года назад

    Great job, Excellent explanation. Thanks for posting this video

  • @gqntexas
    @gqntexas 3 года назад

    GREAT great video.. im a developer but work with Devop engineers and this opened my eyes as to what they do and how it all works.. Thanks much