Это видео недоступно.
Сожалеем об этом.

AZURE FUNCTION DEVOPS | Setting up a Build Deploy Pipeline | Going Serverless | Rahul Nath

Поделиться
HTML-код
  • Опубликовано: 26 май 2020
  • Hello friends, Azure Functions is a serverless compute service that lets you run event-triggered code without having to explicitly provision or manage infrastructure.
    In this video, I will walk you through how to set up a build deploy pipeline for your Azure Functions. We will set up a build pipeline which creates a build artifact that can be used in the Release pipeline. I will set up multiple environments (Dev and Test) and show how to progress the function through the different stages. The Azure Function uses an environment value, which we will set up using Azure Variable groups and pass it as Application settings to Azure infrastructure.
    New to Azure DevOps?
    Get Started here - • Introduction To AZURE ...
    Additional Watching:
    Azure DevOps Playlist - • Azure DevOps
    Come say hi! ✋
    Blog - rahulpnath.com/
    Twitter - / rahulpnath
    Instagram - / rahulpnath
    My RUclips Recording Setup - www.rahulpnath.com/blog/youtu...
    Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!

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

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

    Check out the Source code and the build release pipeline links here
    Source Code - rahulpnath.visualstudio.com/RUclips%20Samples/_git/MessageSender.Function
    Build Pipeline - rahulpnath.visualstudio.com/RUclips%20Samples/_build?definitionId=16&_a=summary
    Release Pipeline - rahulpnath.visualstudio.com/RUclips%20Samples/_release?_a=releases&view=mine&definitionId=5
    Thanks for watching - Don't forget to like and subscribe!

  • @stephenwood4814
    @stephenwood4814 4 месяца назад

    Excellent work. Following along with this helped me immensely.

    • @RahulNath
      @RahulNath  4 месяца назад

      Very happy to hear that Stephen!

  • @hrishikeshsawalkar3135
    @hrishikeshsawalkar3135 3 года назад +2

    You are Awesome Rahul. I worked lot on TFP Pipelines but had some difficulties when start with GIT and YML. Your videos help lot and make life easy :) Thanks for sharing.

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

      Thank you Hrishikesh and happy that these are helping you. 😀

  • @shuehhanshih1612
    @shuehhanshih1612 3 года назад +3

    Thanks for your tutorial! It is much more clear than official document~

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

      Glad it was helpful and thank you for letting know!

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

    Very nice Rahul, thanks for sharing

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

      Awesome thanks and glad it helped!

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

    Very Useful. Great Job Rahul!

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

      Glad it was helpful!

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

    Hi Rahul
    Very informative video
    Thanks

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

      Glad you like it Raja! If you are new to Azure Functions do check out these as well to explore them further!
      www.rahulpnath.com/blog/getting-started-with-azure-functions/
      www.rahulpnath.com/blog/dependency-injection-in-azure-functions/

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

    Hi Rahul, Thanks for sharing awesome 👌content & knowledge on Azure & .Net Core. Seeking one more fever about Scratch from Azure functions step by step . It will be very helpful for us.

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

      Thank you Vivek. Is this what you are looking for? www.rahulpnath.com/blog/getting-started-with-azure-functions/

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

      Really grate as expected about to you....❤❤❤

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

      @@vivekkumarsingh2134 Great thank you Vivek!

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

    Thankyou.. for the explanation.

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

    very helpful. resolved my issue. thanks

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

      Great to hear Mahwish!

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

    Hi Rahul,
    Was struggling with the CI/CD for a long time, you bailed me out man. Subscribed!

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

      That's awesome and thank you! You can see the full playlist here ruclips.net/p/PL59L9XrzUa-m7AFDgjWuwm6exyCklc03U
      It covers different app scenarios.

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

    Excellent Nath

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

    I love the way of you explain the topic Mr. Nath thanks allot very useful and straight.

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

    Very nice tutorial Thank You...

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

    Bro keep post your videos, they helped me along on various topics. I am sure these video content much helpful who are looking for change.

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

      Thank you Raju for telling. I will 😀 Do let know if you have specific topics to be covered.

  • @justasdautaras9627
    @justasdautaras9627 3 года назад +2

    Quality video, thank you!

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

      Glad you enjoyed it Justas!

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

    Hey Bro...Your videos helping me in interview preparation.....Awesome!!!!

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

      Glad to hear that Taufiq and good luck with the interviews!

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

    Great video!

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

      Glad you enjoyed it Christian 🙂

  • @rajkumarreddy8795
    @rajkumarreddy8795 3 года назад +2

    please, make a video on Function App integration with Service Bus-Queues & Topics

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

      thank you Rajkumar for the suggestion. Have added it to my list, not sure by when though. Are you facing any specific issues when trying to do this?

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

      @@RahulNath I wanted to learn End to End ,how App configuration, function App,service Bus - Queues & Topics are working, what are these msg, how are these messages generated in most basic way.
      Thanks

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

      @@rajkumarreddy8795 Awesome that gives me some ideas. Let me see if I can put together something.

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

    Awesome demo, very helpful🙏🏾,

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

      Glad it was helpful Sanjay!

  • @zo1dberg
    @zo1dberg 2 месяца назад

    Excellent tutorial, and very easy to follow. Looking at time on your computer though - you did this at 4am!?

    • @RahulNath
      @RahulNath  2 месяца назад +1

      Glad you found it useful! Yes I record my videos early in the morning, house is the quietest during that time 😀

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

    Very helpful. Thank you!

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

      Glad it helped - Thank you !

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

    This video is really helpful. Thanks Rahul

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

      Thank you, gald it helped!

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

    Hello Rahul
    Please create some videos on Durable functions and it's usage.

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

      Thank you, Great suggestion Sagnik. Sure I will add it to my list.

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

    Hi Rahul good morning do you made any videos to create Resources like Function-app , vner, service bus with ARM templates with pipeline automation please can u share

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

      I have a video here on ARM templates ruclips.net/video/3IRwtbGlshk/видео.html which should help you get started to build your own ARM templates. I don't have one specific for that combination though. Hope it helps!

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

    Hi Rahul
    when I deploy my function application it gets deployed successfully but with a pop message: -
    Your app is currently in read only mode because you are running from a package file. To make any changes update the content in your zip file and WEBSITE_RUN_FROM_PACKAGE app setting.
    any idea why this is there?

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

    really good video. thanks for sharing

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

      Glad you enjoyed it!

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

    Hi Rahul,
    In release pipeline, zip is not extracted while copy to ‘c/home/site/wwwroot’.

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

    Thank you!

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

    Hi mate, excellent video. Can you please create a video for Node with Typescript azure function CI/CD?

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

      Thank you Dhiraj and happy you liked it. Thank you for the suggestion, but not sure how soon that will be. Are you facing any specific issue with setting up the pipeline?

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

    Thank to Rahul Nath, I have a problem
    I created a App_Data folder to store template.html file but when I access from any service by Path.Combine("App_Data", fileName).
    I setting for all files in App_Data to PreserveNewest
    But it throw a exception IFileNotFound... Please help me to fix it.

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

      Hard to tell without seeing it. Do you a have a public repo where this is an issue? What are you trying to do with the html file?

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

      ​@@RahulNath yes, I resolved my problem on the azure function. Thanks

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

      @@vunguyentruong9560 Great 👏

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

    Nice video, can you please show how to do testing (unit and integration test both) ? Testing performed in CI pipeline for Azure Functions? Thanks.

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

      Glad you liked it. I have a video on tests and integrating with DevOps pipeline here ruclips.net/video/FFxww1-M25E/видео.html
      Does that help? If not is there anything in specific you are looking for?

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

    Hi Rahul, When we need to download the publish profile and where we can use it to deploy the function. in my case Azure Function app is already created just need to deploy the functions

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

    Hey Rahul,
    Any chance you could make a video outlining how you go about using Entity Framework Core (code first) with an Azure Function? I can't find any up to date resource showing this!
    Thanks in Advance

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

      Thanks for the idea! Do you have more details on what exactly you are looking for in this scenario? (Reply on one of the comments 😀)

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

    Thanks a lot!

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

      You're welcome Paniraj!

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

    Hey Rahul
    Hope you are doing well
    Very informative video mate 👍
    Just had a quick question do we need deployment slots on the app service to ensure there is zero downtime ?

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

      Glad you like it Shaun. Yes using deployment slots is ideal in that case. Read more about it here docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-slots?WT.mc_id=AZ-MVP-5003875

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

    How do we add multiple functions under same/one Function App

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

      Have you come across this question - stackoverflow.com/questions/57079549/deploying-multiple-function-under-same-azure-function-app-not-working
      You will need to create the package with the appropriate structure. Are you facing any particular issues while trying this?

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

    Hi Rahul,
    Thanks for the great video. I have one question that: -
    Is it possible to deploy multiple azure functions from different projects that can be deployed in single Azure function app via Azure Devops pipeline?
    Generally, we will deploy azure functions as zipping or package, By this way It's replacing the latest project alone. I mean I can't deploy multiple functions from different projects in a single-function app via DevOps.

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

      Replied on the other question - ruclips.net/video/_cOckpopDkY/видео.html&lc=UgxOziv8Tq29oynjk-N4AaABAg

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

    Thanks Rahul....This was very useful. I however did not find the function1 function in the function app I created on Azure portal. Any idea what I could have done wrong?

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

      Glad it helped. Can you make sure the artifact in the build step has all the files in it as expected? Also make sure that the logs in the deployment pipeline to see if it shows anything?
      Let know how it goes.

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

      Thank you Rahul. I was able to figure it out, it now works.
      I am trying to parameterize Azure functions in CICD pipelines i.e Parameterize triggers (event grid topic) as well as connection sting and was wondering if there is any documentation or material out there you can direct me to or anyway you can be of help...thanks in advance

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

      Sorry for the delayed reply. If you didn't already figure this out, I usually use release varialbes for this. It is shown in this video as well, where I pass the connection string as an environment value in the release pipeline. Or is it something else that you are looking for?

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

      Hi Raul I have a question for u

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

      Can I have your email

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

    Hi Rahul
    Great Videos
    i have been following you since a while now
    do you have a video on how to deploy multiple task in a release in devops?
    the second stage is overwriting the first one.

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

      Glad you like the videos Shaun.
      Are you looking to deploy to azure functions? can you package them as one zip folder in your build step if they are always deployed together ? I will do a video on how to do this soon, since I’ve been getting similar requests.

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

    Hello Rahul, Thanks for the Video, do you have a video or tutorial for a build deploy azure functions developed in java?. Thank you, (y)

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

      Thank you Fernando and glad you liked it. Unfortunately I don't have an example with Java. Are you blocked in any particular step?

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

    Hey Rahul, Nice one! do you have video on Micro services? Thank you 👍

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

      Thanks Jay. Don't have any on Micro services yet. Do you have anything in particular that you are looking for? (very vast topic)

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

    Great content!
    Two questions:
    Does the local.settings.json is ignored automatically or you have configured it that way?
    Does this file come automatically when we create an azure function from visual studio?

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

      Thank you and glad you liked the content. I haven't added anything explicit to ignore local.settings.json file. If I remember you need to explicitly add that file in.
      Are you facing any difficulties with this?

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

      Thanks for such speedy reply👍.
      I am about to start a project with number of function apps, so was just going through your video for some background

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

      @@foodforsoul832 Sure ok - Do reach out in case you run into any issues and happy to help!

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

    Hi Raghunath, i am requesting you to please make a video on azure monitor with azure devops . please make a detailed video

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

      Thank you for the suggestion, Added to the list.

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

      @@RahulNath thank you so much... Please let us know after you done

  • @murugana.s.1364
    @murugana.s.1364 3 года назад +1

    Hi Rahul all the tutorials are very good .. I have one doubt in DevOps release pipeine .. when I am releasing I am validating the change request number using jar file it. Will return true or false I need to validate the result and if it is true then continue other wise i
    eed to break how to pass the out put variable to next stage and validate in the pre approval kindly advise .

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

      You should be able to set the variables within the script/powershell tasks and use that from other places. You can read more about it here docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch&WT.mc_id=AZ-MVP-5003875#set-variables-in-pipeline
      Let me know if you have additional questions.

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

    Hi Rahul, Thanks for nice information. I am looking to create azure function using Azuredevops, Can you please suggest . Thanks

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

      Glad you like it Prabhu. You should be able to use ARM templates to create one automatically. This link might help you get started docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-function-resource-manager?WT.mc_id=AZ-MVP-5003875. You can check my video on ARM templates here to get started with the templates. ruclips.net/video/3IRwtbGlshk/видео.html. Also one here ruclips.net/video/p_vySBLni00/видео.html. Let know if you have specific questions.

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

    Hi Rahul, I have a question: If we have multiple functions in repo with multiple csproj
    Example: one .csproj file with 2 functions
    another .csproj file with 1 function.
    Now the issue is when we build them only we get functions from one .csproj file in zip file.

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

      Sorry I missed your earlier comment and forgot to reply. Does packaging it explicitly under different folders helps? As mentioned here stackoverflow.com/a/61781745/1948745

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

    Hi Rahul.. could you make a video on the difference between Azure API Gateway and API management? Unable to find proper answer from google. thanks

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

      Thank you Pavan for the suggestion. Added it to my list

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

    I want to deploy blob trigger function app..Can I pass the storage url value by declaring under variable group?

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

      Yes I show that around here on how to pass the variable. You can do similar for Storage URL ruclips.net/video/_cOckpopDkY/видео.html
      Since it is sensitive information mark it as a secret. You can check my video on Variables to understand more about that. ruclips.net/video/OFr6Vkw0mq8/видео.html

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

      @@RahulNath Thanks for the reply. When I pass the variable. The value under the function app configuration is copying as $(Environment) instead of DEV.

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

      @@dvadana How are you trying to pass the variable? Can you double-check and make sure you have everything set as in the video?

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

      @@RahulNath Verified your variables video and now it is working.
      Can you show how to create new App service as a separate task and then deploy function app to this new app service

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

      ​ @dvadana Glad you sorted it out.
      Not sure what you are looking for with a new App service? Isn't that the one already shown in this video?

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

    Hi Rahul, This Video is very usefull. I also have to know how to deploy a code on functionapps config with private endpoint/Vnet using self-hosted agent?....Is that possible using Microsoft hosted agent?

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

      I am not sure since haven't tried that. Hope you were able to sort it out!

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

    Any plan for Redis cache?

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

      Added to list! Thank you for the suggestion

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

    Hello Rahul! I followed your instructions and it works great.
    Now I want to make this work with a solution that contains several projects. When I push my code to DevOps, I would like to only trigger a Pipeline and Deploy to a package to the desired function app. How could I approach this in the best way?

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

      Glad you liked it.
      If you are looking to publish only the function package, you can specify the name of the project file explicitly in the '- task: DotNetCoreCLI@2' here rahulpnath.visualstudio.com/RUclips%20Samples/_apps/hub/ms.vss-build-web.ci-designer-hub?pipelineId=16&branch=master
      Are you facing any issues doing this? Let me know if that helps or if you have additional questions.

  • @SaadKhan-pn4ch
    @SaadKhan-pn4ch 2 года назад

    Can we make azure function on work item on every project with single function??

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

      Sorry Saad didn't understand the question fully. Can you detail it out and explain what you are trying to achieve?

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

    Can we use in memory caching in Azure functions?

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

      You can - but it's lifetime will be limited to the host lifetime. This SO answer details it out stackoverflow.com/questions/47722722/azure-functions-and-caching
      Let me know if you have additional questions.

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

      @@RahulNath Thanks Rahul. I have implemented it and in our project and it works. The caching is for our support page data. So we just needs a light weight caching, not an issue if its not shared between the function instances.

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

      @@mathewjoseph8271 ​ Great ok - as long as you are depending on it in the right way it's ok. Otherwise using an external cache might be best. Adding in some logs to see how often it's hitting the cache might be helpful to see if you are getting much use out of it.

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

    how to create a function in azure.. and how did u integrate with the release pipeline.

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

      These two videos should help you get started with Azure Functions
      ruclips.net/video/27OUTVdK2_0/видео.html
      ruclips.net/video/m_jrALXcrXc/видео.html
      The build/release pipeline is based off the git repository. Do let me know if you have additional questions.

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

    Hi Sir Could please do one Azure Deployment group yaml based with approval

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

      Hey Raghu, I had done one on YAML pipelines - Does this answer your questions? ruclips.net/video/F93dKycIqEM/видео.html
      Or any specific issue you are running into?

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

    In the build pipeline, can I choose which branch the artifact is built from?

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

      Yes you can trigger the build on different branches. You can specify that here docs.microsoft.com/en-us/azure/devops/pipelines/build/ci-build-git?view=azure-devops&tabs=yaml#set-up-a-ci-trigger-for-a-topic-branch
      Is that what you were looking for?

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

    Hi Rahul Nath,
    I have tried the same way for deploying my azure function app project which contains more than 5 azure functions.
    The function app project deployed successfully, but there is a alert message saying that the function app deployed as a package and some more message. Kindly share your comments on what I made wrong.
    I linked my variable as variable group in the release pipeline, but the variables are not updated to azure configurations.
    Kindly help on this.
    Kindly add some details on Azure function app deployment and azure functions slot deployment.

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

      Could you please share some updates on Azure --》Repo --》Tags
      What is actual use of tags and how it can be effectively used.

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

      @@thariqe2147 Hey did your issues with the Azure function resolve? Not sure what exactly the issue it would be without seeing it.
      With tags are you referring to Git Tags? docs.microsoft.com/en-us/azure/devops/repos/git/git-tags?view=azure-devops&tabs=browser

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

    perfect

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

      Awesome and glad it helped!

  • @fudhater8592
    @fudhater8592 2 месяца назад

    How was your build pipeline successful when your code was c# and your VM was unbuntu?

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

    Hi, how can deploy function through VSCode Using PublishProfile?

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

      Guess you will need to get the VSCode + Azure extension for that - Hope you sorted it out.

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

      @@RahulNath thanks for replying,
      Issue got resolve by using command dotnet publish with parameters publish url , pwd, username

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

      @@AnujAggarwal007 Glad you sorted it out 👍

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

    Thanks Rahul!!
    I have a question, How we can use FTPS credentials under Deployment Center instead of GitHub/Azure Repo Integration for Function App.
    Also I have a question , Azure DevOps needs authorization (Service Connection) , is there any alternative we can use and set up CICD? Thanks in Advance

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

      Thank you Vikram. Not sure if I fully understand your question. Are you looking to have your repository source some where else instead of Azure Devops? There are a few options that pops up when you create a new pipeline. I guess those are the only supported ones.
      Not sure what your question is about Service Connection. Will be good if you can give more details on what you are trying to do.

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

      @@RahulNath Thanks Rahul for your response:) To deploy Azure Function App using Azure DevOps Release pipeline, when we select our Azure Subscription it will ask for Authorization and in the backend it will create a Service Principal only if the user has access to Azure Active Directory (AAD) otherwise the Authorization will fail.
      My question is instead of Service Connection (SP) can we use FTPS credentials to deploy Azure Function App using Release Pipeline? FTPS credentials can be created under Deployment Center on Function App resource, can we utilize those FTPS and deploy it with Azure DevOps?

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

      I had done a video on Service Connections here ruclips.net/video/Tpa7r_iXgM8/видео.html
      Not sure if that helps with what you are looking for though. The other options supported are listed here docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml&WT.mc_id=AZ-MVP-5003875#common-service-connection-types

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

    I keep getting an error with the archive in the DotNetCoreCLI, basically this: Error MSB4184: The expression """.BindariesDirectory" cannot be evaluated. Method 'System.String.BindariesDirectory' not found.
    How do I fix that?

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

      Where are you getting this error? Will need more context please

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

      @@RahulNath I ended up deleting what I had and started over.... the second time it appeared to work. Not sure if I fat fingered something but it looked the same. Thanks!

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

      @@andrewharbert5638 Glad you got it sorted out

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

      @@RahulNath Dumb question, do you have a video for doing this with a .net core Web API? or could I use the same process?

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

      @@andrewharbert5638 It is a very valid question 👍 I don't have one specific to Web API but will try and add one sometime soon. Meanwhile, you can check the Azure WebJobs video here which is very similar (except for packaging it into specific folder structure for web jobs) ruclips.net/video/HXZWvobMbo0/видео.html
      You can also check the React app deployments here ruclips.net/video/QbmLxfRCt38/видео.html
      Let know in case you are running into specific issues and I can try and help

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

    Excellent video, I subscribed your channel. Also I have a question regarding my recent task, I created a nodejs Azure function, it needs to connect to a local database, how I set up this connection string? And we are not allowed to use username password in the connection string. Could you have some suggestions for my case. Thank you.

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

      Glad you like it! When you say a 'local database' is that one running on your machine? Is that exposed on the internet - if yes, you can connect to it using username and password. What particular issues are you facing?

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

      @@RahulNath Right, local database means a database in local server exposed on internet. Here I am not allow to use username and password, so DBA will set a mechanism in Azure, I need set the connection string as an environment variable in DevOps? By the way, I am using nodejs, try to find a ymal example for nodejs application, could you point me a learning directions, i think building, archive, publish will different from this vedio. Thank you Rahul.

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

      @@ssong5557 Yes you will have to set up as Environment variable in DevOps. Or you can use managed Identity feature in SQL, which I have written about here www.rahulpnath.com/blog/azure-sql-server-managed-identity/
      For release variables, you can check this video ruclips.net/video/OFr6Vkw0mq8/видео.html
      For YAML releases I have a video here ruclips.net/video/F93dKycIqEM/видео.html Much of it should be the same for nodejs too, except for how you build your application, which will be the same as how you build your application locally. If you are finding issues please provide more context around your application I can help.
      Let me know if that helps.

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

    Can I use BentoML for this ?

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

      Not sure Sarthak, haven't used it.

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

    I am getting 409 error while running the release pipeline. Any suggestions would help. Please make an python based functions app video

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

      Hard to tell without seeing more of the error details. What's the message you get on the excepiton?

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

      @@RahulNath i upgraded to a premium app service plan and it deployed successfully.

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

      @@LavaKumar1989 Glad you sorted it out !

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

    Hi ,How to Build and Deploy Pipeline for JavaScript Azure function ?

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

      It should be mostly the same with the build step to do the javascript bundling instead of the dotnet build step. Are you stuck anything in particular?

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

      @@RahulNath Thank you mr.Rahul