Frank Boucher
Frank Boucher
  • 98
  • 1 053 281
How to Deploy a .NET isolated Azure Function using Zip Deploy in One-Click
In this video, Frank will share a few things that we need our attention when deploying a .NET isolated Azure Function from GitHub to Azure using the Zip Deploy method. This method is great to have a fast deployment and when your artefacts are zipped in a package.
☁️Subscribe: c5m.ca/ytFBoucheros
(#cloud5mins - Episode 70)
USEFUL LINKS:
-----------------------
📝 Blog post: www.frankysnotes.com/2024/04/how-to-deploy-net-isolated-azure.html
🐙Git Repo: github.com/FBoucher/ZipDeploy-AzFunc
🔗 Zip deployment for Azure Functions: docs.microsoft.com/en-us/azure/azure-functions/deployment-zip-push?WT.mc_id=dotnet-132521-frbouche
🔗 MSDeploy VS. ZipDeploy: learn.microsoft.com/en-us/azure/azure-functions/deployment-zip-push?WT.mc_id=dotnet-132521-frbouche
🔗 Use a deployment button to deploy remote templates: learn.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-to-azure-button?WT.mc_id=dotnet-132521-frbouche
🔗 Get Started with Azure with a Free Subscription: c5m.ca/azFree
CHAPTERS
------------------
00:00:00 Zip Deploy vs CICD
00:03:18 Tips when creating ZIP file
00:05:13 ARM template for Zip Deploy
FOLLOW ME ON
---------------
🔗 X: x.com/fboucheros
🔗 Linkedin: www.linkedin.com/in/fboucheros
🔗 Facebook: frankysnotes
🔗 Mastodon: mastodon.social/@fboucheros
📺 Twitch: www.twitch.tv/fboucheros
BLOGS
------------
🔗 Frankys Notes (EN): www.frankysnotes.com
🔗 Cloud en Francais (FR): www.cloudenfrancais.com
GEARS
----------
- Fujifilm X-T4
- Blue Snowball
- GitKraken: c5m.ca/gitkraken
☁️
zhlédnutí: 679

Video

How to Generate Local .NET Secrets From Azure Deployment
zhlédnutí 386Před 5 měsíci
In this video Frank shows how you to automatically generate .NET secrets from the #Azure deployment and how your .NET app can read them. This makes demos easier to try because there less steps. Users who would like to try your sample will only have to deploy using `azd up`, and then `dotnet run` to execute the app. Sound interesting? Here are to implement it. ☁️Subscribe: c5m.ca/ytFBoucheros (#...
How to Create a DEV Environment with Multiple Dev Containers
zhlédnutí 1,6KPřed 9 měsíci
In this video, Frank shares how containers could be used to create a portable and sharable developer environment. A #container for the database, another one for the API generated by Data API Builder (#DAB), and a third one for your app! All that could then be used as #DevContainers in VSCode ☁️Subscribe: c5m.ca/ytFBoucheros (#cloud5mins - Episode 68) USEFUL LINKS: 🔗 GitHub repo: github.com/FBou...
How to Quickly Generate APIs for your Database
zhlédnutí 2KPřed 9 měsíci
In this video, Frank share how he uses Data API Builder to generate in a few seconds REST & GraphQL API endpoints using a single configuration file for a database. THis is part of a series of video while building 2d6 Dungeon App. ☁️Subscribe: c5m.ca/ytFBoucheros (#cloud5mins - Episode 67) USEFUL LINKS: 📝 blog soon 🔗 Get started using or contributing to Data API builder at aka.ms/dab 🔗 GitHub: g...
The perfect database for developers
zhlédnutí 751Před 10 měsíci
Frank's share a beginner-friendly solution to have a portable, self-healing, disposable, disconnected database that doesn't require any installation. The solution? Put the database in a container! It will works on Windows, Linux and Mac and with probably all databases. ☁️Subscribe: c5m.ca/ytFBoucheros (#cloud5mins - Episode 66) USEFUL LINKS: 📝 www.frankysnotes.com/2023/11/database-to-go-perfect...
How to edit a JSON object from a Azure Logic Apps
zhlédnutí 3,5KPřed rokem
No need to make a call to an external API to edit a JSON object with Azure #LogicApps. By using the Compose action and the SetProperty expression is possible do to it from inside your Logic App in only one action! ☁️Subscribe: bit.ly/2jx3uKX USEFUL LINKS: 📝 www.frankysnotes.com/2023/02/how-to-edit-json-object-inside-azure.html 🔗 Compose Action: c5m.ca/Compose 🔗 SetProperty: c5m.ca/setProperty 🔗...
How to Empty an Azure Resource Group without deleting it? #shorts
zhlédnutí 841Před 2 lety
In this video I show how to empty an #Azure Resource Group without deleting it. No magic trick, only a very simple #AzCLI command and a Gist file. ☁️Subscribe: bit.ly/2jx3uKX USEFUL LINKS: 🔗 gist.github.com/FBoucher/f5751e94fc561a1b8f1cd2a3a992c1d5/raw 🔗 docs.microsoft.com/en-us/cli/azure/what-is-azure-cli 🔗 Get Started with Azure with a Free Subscription: c5m.ca/azFree FOLLOW ME ON 🔗 Twitter: ...
It's Coding Time!
zhlédnutí 325Před 2 lety
Just a short a fun video to all the things we do to set the mood when it's coding time! ☁️Subscribe: bit.ly/2jx3uKX FOLLOW ME ON 🔗 Twitter: fboucheros 🔗 Linkedin: www.linkedin.com/in/fboucheros 🔗 Facebook: frankysnotes 📺 Twitch: www.twitch.tv/fboucheros BLOGS 🔗 Frankys Notes (EN): www.frankysnotes.com 🔗 Cloud en Francais (FR): www.cloudenfrancais.com GEARS - Davinci Res...
How to copy data in Azure using AzCopy
zhlédnutí 27KPřed 3 lety
In this video, Frank is sharing how using AzCopy already install inside your Azure portal you can copy files from a storage account to another one. ☁️Subscribe: bit.ly/2jx3uKX (#cloud5mins - Episode 64) USEFUL LINKS: 📝 Blog post: www.frankysnotes.com/2021/02/how-to-copy-data-in-azure-using-azcopy.html 🔗 aka.ms/azcopy 🔗 Get Started with Azure with a Free Subscription: c5m.ca/azFree FOLLOW ME ON ...
How to Copy All the Resources from a Resource Group in #shorts
zhlédnutí 8KPřed 3 lety
In this video, Frank reply to a question about how to copy all the resources from a resource group. ☁️Subscribe: bit.ly/2jx3uKX USEFUL LINKS: 🔗 Get Started with Azure with a Free Subscription: c5m.ca/azFree FOLLOW ME ON 🔗 Twitter: fboucheros 🔗 Linkedin: www.linkedin.com/in/fboucheros 🔗 Facebook: frankysnotes 📺 Twitch: www.twitch.tv/fboucheros BLOGS 🔗 Frankys Notes (EN):...
How to configure a secured custom domain on a Azure Function or website
zhlédnutí 8KPřed 3 lety
How to configure a secured custom domain on a Azure Function or website
Why and How Use Azure Active Directory (AAD) with Blazor Web Assembly (WASM)
zhlédnutí 14KPřed 3 lety
Why and How Use Azure Active Directory (AAD) with Blazor Web Assembly (WASM)
Recap/ Summary Week 34
zhlédnutí 240Před 4 lety
Recap/ Summary Week 34
Recap/ Summary week #33
zhlédnutí 126Před 4 lety
Recap/ Summary week #33
Recap/ Summary week #31
zhlédnutí 160Před 4 lety
Recap/ Summary week #31
Recap/ Summary of week #30
zhlédnutí 126Před 4 lety
Recap/ Summary of week #30
Recap / Summary of the week #29
zhlédnutí 136Před 4 lety
Recap / Summary of the week #29
5 ways to Manage Azure Resources
zhlédnutí 1,5KPřed 4 lety
5 ways to Manage Azure Resources
Recap / Summary of the week #28
zhlédnutí 114Před 4 lety
Recap / Summary of the week #28
Live Stream Summary Week of Monday June 15
zhlédnutí 110Před 4 lety
Live Stream Summary Week of Monday June 15
Stream summary 104 - No idea what I'm doing - Building a Twitch chatbot in JavaScript
zhlédnutí 228Před 4 lety
Stream summary 104 - No idea what I'm doing - Building a Twitch chatbot in JavaScript
Stream #103 Adding an Azure Key Vault into project TinyBlazorAdmin
zhlédnutí 712Před 4 lety
Stream #103 Adding an Azure Key Vault into project TinyBlazorAdmin
Stream #102 - Summary - Starting Tiny Blazor Admin project
zhlédnutí 425Před 4 lety
Stream #102 - Summary - Starting Tiny Blazor Admin project
Stream #101 Summary
zhlédnutí 270Před 4 lety
Stream #101 Summary
How to stay productive when working remotely
zhlédnutí 335Před 4 lety
How to stay productive when working remotely
How to make your deployment simple and flexible with nested Azure Resource Manager (ARM) template
zhlédnutí 2,2KPřed 4 lety
How to make your deployment simple and flexible with nested Azure Resource Manager (ARM) template
How I Build a Budget-friendly URL Shortener Easy to Deploy and Customized
zhlédnutí 5KPřed 4 lety
How I Build a Budget-friendly URL Shortener Easy to Deploy and Customized
Using Azure Cost Manager to know how much your application is consuming in the cloud
zhlédnutí 1,3KPřed 4 lety
Using Azure Cost Manager to know how much your application is consuming in the cloud
10 Tips to Reduce your Azure Virtual Machines (VMs) Cost
zhlédnutí 14KPřed 4 lety
10 Tips to Reduce your Azure Virtual Machines (VMs) Cost
How to Authenticate Users on Azure Web Application Using Social Login (OAuth)
zhlédnutí 12KPřed 4 lety
How to Authenticate Users on Azure Web Application Using Social Login (OAuth)

Komentáře

  • @colinfritz9711
    @colinfritz9711 Před 20 hodinami

    How do I do this with bicep or the azure cli? Been trying to get it to work for 2 weeks. Need to zip deploy with the cli from a script in azure devops pipeline

  • @sebastianrodriguezbojorge7123

    Hello FB!, You say there is no concern about having the appsettings.json in a repository... I see you blur TentantId but [Authority] in appsettings contains the TenantId )... what are the real concerns here? Should those values be moved to a secure storage as KeyVault?

  • @beeharrybryan4984
    @beeharrybryan4984 Před 17 dny

    Can we do a copy from S3 from AWS to azure ADLS?

  • @Noursbear
    @Noursbear Před měsícem

    Très bien merci

  • @ROLOGamingOfficial
    @ROLOGamingOfficial Před 3 měsíci

    Are there any ways to prevent a bad actor from creating infinite calls making your function runn all.the time.

  • @adrianf.9491
    @adrianf.9491 Před 3 měsíci

    Thanks, just I was looking for. Clearly explained. Subscribed!!!

  • @we_areone
    @we_areone Před 4 měsíci

    😊

  • @th9267
    @th9267 Před 4 měsíci

    I see this video is 3 years old so Im not sure if comments are still monitored. I will ask away and see what happens. Im using an out of the box blazor web assembly app in VS2022. In the new project template I select microsoft identity platform and I select option to add Microsoft Graph support. When I run the app I am able to login. If I put this on a page... <AuthorizeView> <Authorized> <div> <h3>Authorized Content</h3> </div> </Authorized> <NotAuthorized> <div> <h3>Not Authorized Content</h3> </div> </NotAuthorized> </AuthorizeView> I see "Not Authorized Content" when Im not logged in and "Authorized Content" when I am. This is working as expected. I want to be able to authorize a user based on their roles. I instead my opening tag is <AuthorizeView Roles="xxxx-xxxx-xxxx-xxxx-xxxx"> (where the guild relates to one of the aad groups I am a member of, I see "Not Authorized Content" whether I am logged in or not. My program.cs is.... var builder = WebAssemblyHostBuilder.CreateDefault(args); builder.RootComponents.Add<App>("#app"); builder.RootComponents.Add<HeadOutlet>("head::after"); builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); builder.Services.AddMicrosoftGraphClient("graph.microsoft.com/User.Read"); builder.Services.AddMsalAuthentication(options => { builder.Configuration.Bind("AzureAd", options.ProviderOptions.Authentication); options.ProviderOptions.DefaultAccessTokenScopes.Add("graph.microsoft.com/User.Read"); //options.UserOptions.RoleClaim = ClaimTypes.Role; options.UserOptions.RoleClaim = "schemas.microsoft.com/ws/2008/06/identity/claims/role"; }) .AddAccountClaimsPrincipalFactory<CustomAccountClaimsPrincipalFactory>(); await builder.Build().RunAsync(); and CustomAccountClaimsPrincipalFactory is... public class CustomAccountClaimsPrincipalFactory : AccountClaimsPrincipalFactory<RemoteUserAccount> { public CustomAccountClaimsPrincipalFactory(IAccessTokenProviderAccessor accessor) : base(accessor) { } public async override ValueTask<ClaimsPrincipal> CreateUserAsync(RemoteUserAccount account, RemoteAuthenticationUserOptions options) { var user = await base.CreateUserAsync(account, options); var identity = user.Identity as ClaimsIdentity; if (identity != null) { var groupClaims = identity.FindAll("groups").ToList(); foreach (var groupClaim in groupClaims) { identity.AddClaim(new Claim(ClaimTypes.Role, groupClaim.Value)); Console.WriteLine($"Added role claim: {groupClaim.Value}"); } } return user; } } Is there anything obvious Im doing wrong? Im using net7.0

  • @ranjitsaggy
    @ranjitsaggy Před 4 měsíci

    I want to have control over the API by having the source code. Does this DAB tool generate the source code? Or, does it merely create a DLL?

  • @DiDasKein
    @DiDasKein Před 5 měsíci

    We carrefull to include the .azurefunction in the zip file. If you zip with powershell by default it will not zip the hidden folder.

  • @tomschi9485
    @tomschi9485 Před 5 měsíci

    *Microsoft has perverted PaaS and SaaS: Both services would involve professional operations. However, M$ only offers professional operations if you pay for basic SaaS & PaaS functions separately. For example, all M$ services are fundamentally not secure:* They only become slightly more secure if you pay extra money for an endless number of additional security modules. *But even then, M$ doesn't do its homework: Customers have to alert M$ that China hacked Azure and luckily the Russians hacked M$ management staff in December so they could alert their IT to the problems - I bet they didn't realize it themselves either.*

  • @user-sg8mx6pv5g
    @user-sg8mx6pv5g Před 6 měsíci

    HI Frank Boucher, Can you please give me the .net code repo to set up CI CD for practice? It would be more helpful to us

  • @sheetanshus5179
    @sheetanshus5179 Před 6 měsíci

    But it will not copy data ? What is the best way to create exact clone with data

  • @user-fq5fn3rz4s
    @user-fq5fn3rz4s Před 6 měsíci

    skipping loads of steps

  • @theniteshkumarjain
    @theniteshkumarjain Před 7 měsíci

    Can we run 24/7 application in azure function? Can we make azure datalake connection using azure function

  • @donitomojito5295
    @donitomojito5295 Před 7 měsíci

    Frank le BIG Boss!!!!

  • @andreasvanbergen9696
    @andreasvanbergen9696 Před 7 měsíci

    Wow! Nice tool! I am going to try it out and will let you know how it went... thanks for sharing the video 👍

  • @mohamadkharma4070
    @mohamadkharma4070 Před 8 měsíci

    fantastic vedio.😃

  • @johnaweiss
    @johnaweiss Před 8 měsíci

    So... not free, just EXTREMELY CHEAP. Correct?

  • @barathkrishna9811
    @barathkrishna9811 Před 8 měsíci

    What's is vms

    • @fboucheros
      @fboucheros Před 8 měsíci

      virtual machines VM (plural)

  • @vishnumythilimythili5682
    @vishnumythilimythili5682 Před 8 měsíci

    very interesting learn please send me full link for arm

  • @Ronickon
    @Ronickon Před 9 měsíci

    Thanx

  • @zfold4702
    @zfold4702 Před 9 měsíci

    He didn't not mention the initialize variable step. The setProperty method requires passing an Object. The video doesn't show the data type of Initialize Person step.

  • @ArbitraryZer0101
    @ArbitraryZer0101 Před 9 měsíci

    the episodes are completely in the wrong order in the playlist? jesus.

  • @cissemy
    @cissemy Před 9 měsíci

    Thanks

    • @lnk77
      @lnk77 Před 9 měsíci

      don't work without Azure account

    • @fboucheros
      @fboucheros Před 9 měsíci

      What do you mean @@lnk77? In this video I'm not even connected to the cloud, it was all locally?

    • @lnk77
      @lnk77 Před 9 měsíci

      @@fboucheros Maybe rught then when you create this video, You are not connected to azure, BUT YOUR CREDENTIALS ARE STOED ON THAT MACHINE

    • @fboucheros
      @fboucheros Před 9 měsíci

      @@lnk77 You don't need an Azure account to reproduce this. I was on a linux laptop, running docker container locally. I could have done it on a disconnected computer that never saw Azure...

    • @andreasvanbergen9696
      @andreasvanbergen9696 Před 7 měsíci

      @@fboucherosI see that in the 'About' section in Github the text is telling me that it is for Azure Databases. Maybe this is confusing since the data-api-builder also works on databases that don't live in Azure?...

  • @benaissaelbestani5041
    @benaissaelbestani5041 Před 10 měsíci

    What happens if the function fail. How do you kick the job back to unzip the previous blob that failed?

    • @fboucheros
      @fboucheros Před 9 měsíci

      you would need to implement a retry policy. Or delete the file and uploading it again.

  • @Roan1669
    @Roan1669 Před 10 měsíci

    Hey Frank, how can I create a custom domain for a service I run in Kubernetes?

  • @nvindia1
    @nvindia1 Před 10 měsíci

    But we cant use this approach if file size is more than 2.1MB

    • @fboucheros
      @fboucheros Před 10 měsíci

      Only with Logic Apps the connector has a limit. However, you can use Azure Function have a look to the open-source project: github.com/FBoucher/AzUnzipEverything

  • @davidspencer3726
    @davidspencer3726 Před 10 měsíci

    Thanks! Hey, what's the music in your intro/outro?

    • @fboucheros
      @fboucheros Před 9 měsíci

      It's dream cloud or something like that. It was part of Camtasia library.

  • @fboucheros
    @fboucheros Před 10 měsíci

    🔗 Blog post: c5m.ca/devDbToGo 🔗 Open at Microsoft: Copilot + Azure Data Studio: c5m.ca/DataStudioCopilot 🔗 Azure Data Studio QuickStarts: c5m.ca/DataStudioQuickstart

  • @syedadnan3406
    @syedadnan3406 Před 10 měsíci

    Not able to access the git hub repository

    • @fboucheros
      @fboucheros Před 9 měsíci

      Oops! I think I might have deleting it in a recent clean-up... Sorry.

  • @pradeepontube
    @pradeepontube Před 11 měsíci

    Hello Frank, thanks for the earlier video. I have to set property of the field but which is part of array. I am getting this error "  InvalidTemplate. Unable to process template language expressions in action 'Compose' inputs at line '0' and column '0': 'The template language function 'setProperty' expects its first parameter to be of type object. The provided value is of type 'Array'.'.

    • @fboucheros
      @fboucheros Před 9 měsíci

      Hmmm.. You may have to "play" with the quote and double quote....

  • @eddyfrey1430
    @eddyfrey1430 Před 11 měsíci

    Bonjour, je voudrais utiliser AzCopy dans le cadre d'une migration de mailbox. Doit-on passer par la création d'un compte de stockage + conteneur blob afin de migrer le PST dessus dans un premier temps, puis de migrer du blob storage à l'URL donnée dans microsoft compliance. Ou peut-on passer directement du local à l'URL donnée dans microsoft compliance. Je ne trouve cette info nul part. Merci

    • @fboucheros
      @fboucheros Před 9 měsíci

      Pour un Azure Blob storage ca devrait etre possible de local a url post: www.frankysnotes.com/2016/04/how-to-transfert-data-between-azure.html sinon il y a Azure Storage Explorer tres simple a utiliser.

  • @honestcommenter8424
    @honestcommenter8424 Před 11 měsíci

    Will it still work if you deploy to Azure?

    • @fboucheros
      @fboucheros Před 9 měsíci

      the Identity? yes

    • @honestcommenter8424
      @honestcommenter8424 Před 9 měsíci

      @@fboucheros when I tried a simple blazor the Google sign in button appears and works locally, but when deployed to Azure the button doesn't even show up. Can you please make a tutorial on how to do it?

  • @finalfant111
    @finalfant111 Před 11 měsíci

    Is Azcopy better than Azure File Sync? I am trying to find an alternative that copies changes as they happen and not enumerate every single file every night then copy changes. I am having an issue with AFS causing massive List Transaction everyday because of its enumeration.

    • @fboucheros
      @fboucheros Před 9 měsíci

      AzCopy is a tool. It copy once. It won't Sync.

  • @brehiderpalacios3661

    Hello i have a website make in wordpress What template can take?

    • @fboucheros
      @fboucheros Před 9 měsíci

      From the Azure portal in the search bar at the top type wordpress. You should have the suggestion you are looking for.

  • @user-ct9bt8sp8k
    @user-ct9bt8sp8k Před rokem

    what if i have an existing blazor server app that uses database to login. can i add azure ad to that?

    • @fboucheros
      @fboucheros Před 9 měsíci

      I'm pretty sure it will required some light refactoring... But that's and interesting migration project. I'll put that on the video ideas!

  • @user-bt9uy5fi1x
    @user-bt9uy5fi1x Před rokem

    Hi @Frank can I download a file link directly to the blob bypassig local ?

  • @victors9585
    @victors9585 Před rokem

    Man you ROCK!!! 🔥🌟🔥🌟🔥 Je vous remercie beaucoup !!! 👏👏👏👏👏👏

  • @tinagray9605
    @tinagray9605 Před rokem

    Does this method still works frank??

  • @meghanamr3876
    @meghanamr3876 Před rokem

    Could not find a better one than this! Thanks for the video :)

  • @sophieanne381
    @sophieanne381 Před rokem

    You made it look so simple. Thanks!

  • @age.vampire9767
    @age.vampire9767 Před rokem

    whats the config-zip here? is it gonna be same for any deployment

    • @fboucheros
      @fboucheros Před rokem

      Good question @age.vampire9767 the config-zip is part of the command. It define the type of deployment you are doing. So YES it will be the same. Look here that specific command doc page: learn.microsoft.com/en-us/cli/azure/functionapp/deployment/source?view=azure-cli-latest#az-functionapp-deployment-source-config-zip

  • @jstump1972
    @jstump1972 Před rokem

    As a azure tenant admin how do i search for any user using azure blob storage space across the board?

    • @fboucheros
      @fboucheros Před rokem

      You mean you would like to list users that read something on any azure blob storage contained in a subscription?

  • @shatvani
    @shatvani Před rokem

    Thank you for tutorial but I wonder how to configure/implement Azure AD SSO with Blazore WASM and Web API, please.

  • @edmunek
    @edmunek Před rokem

    cloud in five minute. video is 13 minutes ...🤨

    • @fboucheros
      @fboucheros Před rokem

      yep! 😂 I prefer going over than make it too "magical" and not showing how things works.

  • @kourosh234
    @kourosh234 Před rokem

    Where do you add your account in administrator role?

  • @yoshithap8355
    @yoshithap8355 Před rokem

    Hi, Thanks for this video. Can you tell me how to do the same operation if the zip file is password protected. That would be really helpful.

    • @fboucheros
      @fboucheros Před rokem

      Check on the GitHub repo project. I believe that feature was added by someone from the community.

  • @AndreiBazanov
    @AndreiBazanov Před rokem

    Frank, thank you for your videos. I am trying to set up my Azure Web Apps and some functions to contact the outside world through a static public IP address. How do I do that please?

  • @nasimanousheh
    @nasimanousheh Před rokem

    The tutorial is great. It would be even better if you could decrease the size of your image in the next tutorial's video. I don't mean to sound critical, but the current image size is obstructing the content, and reducing it would greatly improve the overall viewing experience.

    • @fboucheros
      @fboucheros Před rokem

      Thank you for the feedback @nasimanousheh :)