Check out the Source code and the build release pipeline links here Source Code - rahulpnath.visualstudio.com/UA-cam%20Samples/_git/MessageSender.Function Build Pipeline - rahulpnath.visualstudio.com/UA-cam%20Samples/_build?definitionId=16&_a=summary Release Pipeline - rahulpnath.visualstudio.com/UA-cam%20Samples/_release?_a=releases&view=mine&definitionId=5 Thanks for watching - Don't forget to like and subscribe!
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.
That's awesome and thank you! You can see the full playlist here ua-cam.com/play/PL59L9XrzUa-m7AFDgjWuwm6exyCklc03U.html It covers different app scenarios.
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.
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/
Glad you liked it. I have a video on tests and integrating with DevOps pipeline here ua-cam.com/video/FFxww1-M25E/v-deo.html Does that help? If not is there anything in specific you are looking for?
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?
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.
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
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?
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?
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.
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.
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 ?
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
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
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
I have a video here on ARM templates ua-cam.com/video/3IRwtbGlshk/v-deo.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!
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
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. ua-cam.com/video/3IRwtbGlshk/v-deo.html. Also one here ua-cam.com/video/p_vySBLni00/v-deo.html. Let know if you have specific questions.
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?
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?
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 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
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 .
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.
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?
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.
@@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.
@@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.
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?
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?
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/UA-cam%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.
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?
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.
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
Yes I show that around here on how to pass the variable. You can do similar for Storage URL ua-cam.com/video/_cOckpopDkY/v-deo.html Since it is sensitive information mark it as a secret. You can check my video on Variables to understand more about that. ua-cam.com/video/OFr6Vkw0mq8/v-deo.html
@@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 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
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.
These two videos should help you get started with Azure Functions ua-cam.com/video/27OUTVdK2_0/v-deo.html ua-cam.com/video/m_jrALXcrXc/v-deo.html The build/release pipeline is based off the git repository. Do let me know if you have additional questions.
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?
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
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.
@@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?
I had done a video on Service Connections here ua-cam.com/video/Tpa7r_iXgM8/v-deo.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
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.
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?
@@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.
@@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 ua-cam.com/video/OFr6Vkw0mq8/v-deo.html For YAML releases I have a video here ua-cam.com/video/F93dKycIqEM/v-deo.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.
Hey Raghu, I had done one on YAML pipelines - Does this answer your questions? ua-cam.com/video/F93dKycIqEM/v-deo.html Or any specific issue you are running into?
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 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!
@@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) ua-cam.com/video/HXZWvobMbo0/v-deo.html You can also check the React app deployments here ua-cam.com/video/QbmLxfRCt38/v-deo.html Let know in case you are running into specific issues and I can try and help
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 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
Check out the Source code and the build release pipeline links here
Source Code - rahulpnath.visualstudio.com/UA-cam%20Samples/_git/MessageSender.Function
Build Pipeline - rahulpnath.visualstudio.com/UA-cam%20Samples/_build?definitionId=16&_a=summary
Release Pipeline - rahulpnath.visualstudio.com/UA-cam%20Samples/_release?_a=releases&view=mine&definitionId=5
Thanks for watching - Don't forget to like and subscribe!
instablaster.
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.
Thank you Hrishikesh and happy that these are helping you. 😀
Thanks for your tutorial! It is much more clear than official document~
Glad it was helpful and thank you for letting know!
Very Useful. Great Job Rahul!
Glad it was helpful!
Very nice Rahul, thanks for sharing
Awesome thanks and glad it helped!
Excellent Nath
Thank you 😀
Excellent work. Following along with this helped me immensely.
Very happy to hear that Stephen!
Hi Rahul,
Was struggling with the CI/CD for a long time, you bailed me out man. Subscribed!
That's awesome and thank you! You can see the full playlist here ua-cam.com/play/PL59L9XrzUa-m7AFDgjWuwm6exyCklc03U.html
It covers different app scenarios.
I love the way of you explain the topic Mr. Nath thanks allot very useful and straight.
Thank you Siva!
Quality video, thank you!
Glad you enjoyed it Justas!
Very helpful. Thank you!
Glad it helped - Thank you !
Awesome demo, very helpful🙏🏾,
Glad it was helpful Sanjay!
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.
Thank you Vivek. Is this what you are looking for? www.rahulpnath.com/blog/getting-started-with-azure-functions/
Really grate as expected about to you....❤❤❤
@@vivekkumarsingh2134 Great thank you Vivek!
Thankyou.. for the explanation.
Happy you liked it!
Hey Bro...Your videos helping me in interview preparation.....Awesome!!!!
Glad to hear that Taufiq and good luck with the interviews!
Excellent tutorial, and very easy to follow. Looking at time on your computer though - you did this at 4am!?
Glad you found it useful! Yes I record my videos early in the morning, house is the quietest during that time 😀
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.
Thank you Raju for telling. I will 😀 Do let know if you have specific topics to be covered.
This video is really helpful. Thanks Rahul
Thank you, gald it helped!
Hi Rahul
Very informative video
Thanks
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/
very helpful. resolved my issue. thanks
Great to hear Mahwish!
Great video!
Glad you enjoyed it Christian 🙂
Nice video, can you please show how to do testing (unit and integration test both) ? Testing performed in CI pipeline for Azure Functions? Thanks.
Glad you liked it. I have a video on tests and integrating with DevOps pipeline here ua-cam.com/video/FFxww1-M25E/v-deo.html
Does that help? If not is there anything in specific you are looking for?
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?
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.
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
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?
Hi Raul I have a question for u
Can I have your email
really good video. thanks for sharing
Glad you enjoyed it!
Hi mate, excellent video. Can you please create a video for Node with Typescript azure function CI/CD?
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?
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.
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.
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 ?
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
Hello Rahul
Please create some videos on Durable functions and it's usage.
Thank you, Great suggestion Sagnik. Sure I will add it to my list.
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
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 😀)
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
I have a video here on ARM templates ua-cam.com/video/3IRwtbGlshk/v-deo.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!
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
Hi Rahul, Thanks for nice information. I am looking to create azure function using Azuredevops, Can you please suggest . Thanks
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. ua-cam.com/video/3IRwtbGlshk/v-deo.html. Also one here ua-cam.com/video/p_vySBLni00/v-deo.html. Let know if you have specific questions.
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?
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?
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
@@foodforsoul832 Sure ok - Do reach out in case you run into any issues and happy to help!
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)
Thank you Fernando and glad you liked it. Unfortunately I don't have an example with Java. Are you blocked in any particular step?
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.
Replied on the other question - ua-cam.com/video/_cOckpopDkY/v-deo.html&lc=UgxOziv8Tq29oynjk-N4AaABAg
please, make a video on Function App integration with Service Bus-Queues & Topics
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?
@@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
@@rajkumarreddy8795 Awesome that gives me some ideas. Let me see if I can put together something.
Hey Rahul, Nice one! do you have video on Micro services? Thank you 👍
Thanks Jay. Don't have any on Micro services yet. Do you have anything in particular that you are looking for? (very vast topic)
Hi Rahul,
In release pipeline, zip is not extracted while copy to ‘c/home/site/wwwroot’.
Thank you!
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 .
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.
Any plan for Redis cache?
Added to list! Thank you for the suggestion
How do we add multiple functions under same/one Function App
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?
Can we use in memory caching in Azure functions?
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.
@@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.
@@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.
Thanks a lot!
You're welcome Paniraj!
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
Thank you Pavan for the suggestion. Added it to my list
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?
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?
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/UA-cam%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.
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?
I am not sure since haven't tried that. Hope you were able to sort it out!
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.
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
Hi Raghunath, i am requesting you to please make a video on azure monitor with azure devops . please make a detailed video
Thank you for the suggestion, Added to the list.
@@RahulNath thank you so much... Please let us know after you done
I want to deploy blob trigger function app..Can I pass the storage url value by declaring under variable group?
Yes I show that around here on how to pass the variable. You can do similar for Storage URL ua-cam.com/video/_cOckpopDkY/v-deo.html
Since it is sensitive information mark it as a secret. You can check my video on Variables to understand more about that. ua-cam.com/video/OFr6Vkw0mq8/v-deo.html
@@RahulNath Thanks for the reply. When I pass the variable. The value under the function app configuration is copying as $(Environment) instead of DEV.
@@dvadana How are you trying to pass the variable? Can you double-check and make sure you have everything set as in the video?
@@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
@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?
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.
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?
@@RahulNath yes, I resolved my problem on the azure function. Thanks
@@vunguyentruong9560 Great 👏
perfect
Awesome and glad it helped!
Can we make azure function on work item on every project with single function??
Sorry Saad didn't understand the question fully. Can you detail it out and explain what you are trying to achieve?
how to create a function in azure.. and how did u integrate with the release pipeline.
These two videos should help you get started with Azure Functions
ua-cam.com/video/27OUTVdK2_0/v-deo.html
ua-cam.com/video/m_jrALXcrXc/v-deo.html
The build/release pipeline is based off the git repository. Do let me know if you have additional questions.
In the build pipeline, can I choose which branch the artifact is built from?
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?
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
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.
@@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?
I had done a video on Service Connections here ua-cam.com/video/Tpa7r_iXgM8/v-deo.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
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.
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?
@@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.
@@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 ua-cam.com/video/OFr6Vkw0mq8/v-deo.html
For YAML releases I have a video here ua-cam.com/video/F93dKycIqEM/v-deo.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.
How was your build pipeline successful when your code was c# and your VM was unbuntu?
dotnetcore
Hi, how can deploy function through VSCode Using PublishProfile?
Guess you will need to get the VSCode + Azure extension for that - Hope you sorted it out.
@@RahulNath thanks for replying,
Issue got resolve by using command dotnet publish with parameters publish url , pwd, username
@@AnujAggarwal007 Glad you sorted it out 👍
Hi Sir Could please do one Azure Deployment group yaml based with approval
Hey Raghu, I had done one on YAML pipelines - Does this answer your questions? ua-cam.com/video/F93dKycIqEM/v-deo.html
Or any specific issue you are running into?
Hi ,How to Build and Deploy Pipeline for JavaScript Azure function ?
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?
@@RahulNath Thank you mr.Rahul
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?
Where are you getting this error? Will need more context please
@@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!
@@andrewharbert5638 Glad you got it sorted out
@@RahulNath Dumb question, do you have a video for doing this with a .net core Web API? or could I use the same process?
@@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) ua-cam.com/video/HXZWvobMbo0/v-deo.html
You can also check the React app deployments here ua-cam.com/video/QbmLxfRCt38/v-deo.html
Let know in case you are running into specific issues and I can try and help
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.
Could you please share some updates on Azure --》Repo --》Tags
What is actual use of tags and how it can be effectively used.
@@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
I am getting 409 error while running the release pipeline. Any suggestions would help. Please make an python based functions app video
Hard to tell without seeing more of the error details. What's the message you get on the excepiton?
@@RahulNath i upgraded to a premium app service plan and it deployed successfully.
@@LavaKumar1818 Glad you sorted it out !
Can I use BentoML for this ?
Not sure Sarthak, haven't used it.