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
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.
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
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.
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.
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.
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!
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?
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.
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
@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.
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.
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 ; -)
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?
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"
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?
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.
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.
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
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
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❤️
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
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…
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.
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 .
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
@@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 !
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
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.
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
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?
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.
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!
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
Hope you had a great day - and enjoyed the the F1 and the Video! Lovely feedback - thanks - Les!
@@binarythistle Clicked on Video, Liked Video , watching while executing the video.
Best ever tutorial, now This is what I call dream teaching. Picked up each and every point he tried to convey.
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!!
Awesome! That is what I was aiming for - thanks for the feedback, Les
Perfect video covering almost all basic aspects of integration, build, test, deploy. Thanks a lot Les. This will act as a foundation to many
Appreciating this brilliant tutorial Les, Got more clarity on this process, I feel I've upgraded. Thank you for this video.
nice explanation with end to end detailed, very helpful, thank you so much Jackson
My pleasure Yogesh, and thank you for your lovely comment! Les
Great tutorial Les! Like the step by step approach! Thanks!
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.
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
Good Video , I liked and subscribed. you are really awesome with your knowledge and command over subject you are talking about
Amazing! Thank you very much Les!
Very good explanation Jack..
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.
Great tutorial mate, thank you for taking the time and getting it out to the world!! Liked and subscribed!
Hey Daniel - thanks for the feedback mate! Glad you found the video useful. Cheers, Les
Excellent Video. Thank you so much.
Wonderful explanation
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.
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.
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!
Thank you!
Also adding global.json as {"sdk": {"version": "2.2.107"}} to SimpleAPISln folder then dotnet new webapi scaffolds ValuesController project
Thank you so much for this video... It help me a lot to understand.. God bless
28:41 Les, starting from 3.1, *dotnet new gitignore* can be used
do you have step by step guide for docker deployment using azure devops ????
Hi Zeeshan, I'm planning on making this video at some point, not got round to it yet though,
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...
Thanks Prasad. Good suggestion I'll add it to my list! Cheers, Les
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?
My new favorite channel on youtube!
Thanks Mate!
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.
Such a incredible tutorial with easy step.. Thank you so much Les
Check out the AzurePipelinesPS powershell module on the PSGallery: www.powershellgallery.com/packages/AzurePipelinesPS
This is excellent demo and best presentation of all time. thank you
Hi again Lukman - really glad you liked the video! Feedback like this keeps me going@ Take it easy, Les
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
Thanks
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
Great Session. Superb.
@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.
Very useful, Thank you
Glad to hear that Waleed!
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.
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?
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 ; -)
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?
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"
Excellent Videos, You are the best mentor on youtube for learning new technology...Thanks
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
perfect video, perfect tutorial on the blog... Thanks a lot for sharing your knowledge
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?
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.
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?
could you provide the same training with AWS DevOps?
Great job Les! Thank you so much. Saving me hours of frustration 😀
Hi Les, Could you tell me any difference between Azure cloud and Azure DevOps?
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.
Awesome tutorial! Subscribed yesterday, liked this tutorial and bookmarked your page! thanks again Les!
Thanks Augustus!
Why keep calling these tests unit tests? Aren't they in fact REST API integration tests?
great video🎉, i have question : is there any way to add my specific resourse (dedicate server) ?how?
This is exactly what I looking for a demo with Azure Devops. Thank you so much
Cool mate!
Thanks veryyyyyyyyyyy helpful❤️❤️❤️
Thank you. It was a great tutorial.
Aultmore 12 is a good one. :D
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.
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
Why you are using VS Code ??? where as everything is very easy in Visual Studio.
Incredibly impressive ... the same can be said about this video
Thanks for lovely comment!
Les, Do you have a tutorial on running a Java Selenium test suite project in DevOps pipeline? Zee
Hi Fred, unfortunately I don't and to be honest it's not something I'm likely to do a video on... Cheers, Les
Great walkthrough, thanks for publishing. What’s the music you use in the video?
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
Nice one, but how to I deploy to a non-azure ftp site? is this even possible?
Companies using this pipeline could use your video as an onboarding resource.
Very nice and detailed explanation. Can you please create video on how to perform pre and post deployment tasks?
Hey Ravi, Good suggestion mate it's something I'd like to cover so will out is on my to do list! Cheers,
Les
Thanks Les!!! This video was awesome. Love the way you broke down and explained stuff without sounding boring. Thank you once again.
Hi Noel - thanks for the great feedback mate! Glad you found it useful!
Love your music.
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❤️
Can you also teach how to do the same with SQL server back-end
Thanks Les, this was a great overview of Azure DevOps. I will like to see how databases are provisioned.
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
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…
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.
Man that was great!
Hi Russell - thanks mate!
Thanks for this but you really need a typing course.
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 .
One of the best tutorial for Azure Devops with proper demo. Thanks a lot Jackson.
Awesome, thank you so much. One of the simplest best video to watch. Worth all the time.
Thanks Wicus!
Clenched buttocks for sure les. Thanks very much. Great tutorial.
😂😂😂
Woah, this is exactly what I was looking for mate, simple short yet effective and explanatory . Thank you very much.
Thanks les , nice explanation about azure pipelines , it would be very nice if you could make a dedicated video about the yaml file , thanks :)
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
@@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 !
Thank you so much , as a beginner It is great to learn from you .
I'm assuming the tab key doesn't autocomplete.
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
I have the same question
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.
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
@@binarythistle Ok, so I have an answer, put it here, thank you.
Cool thanks!
Great tutorial, very useful for devops beginners. Thanks a lot!
Hi Hicham. Thanks for the feedback mate - hope it helped.
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
Excellent tutorial. Learnt many new things. Thanks a lot.
Awesome! Thanks for the feedback.
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?
listen to intro alone make me subscribe. keep to up....
Cool! Thanks Lukman. Nice comment!
Thanks for your detailed steps in ci/cd using azure devops
My pleasure Kiran!
wonderful video. I learned a lot from your teaching. Your way of teaching is easy to understand. Thank you very much Bro!
Thank you
Wonderful session Les, very informative and you made my learning very simple...
Thanks Les. It really helped me a lot in learning Azure DevOps CI-CD. Thanks a lot again!
Thank you so much for making such a knowledgeable video to cover each aspect of DevOps. :)
This give me a great start on Azure. Before watching this video I had no knowledge of Azure. Thanks a lot.😊
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.
Hello sr did u have course udemy
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!
Thank you for this nice video tutorial on Azure DevOps. Appreciate your effort.
Very nice video, helped me a lot, thanks!
Love you Les. Thanks for your great tutorial(s).Be "God Blessed" always .. Cheers
Great job, Excellent explanation. Thanks for posting this video
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