Eduard Keilholz 

7 Followers
23 Following
25 Posts
Microsoft Azure MVP - International conference speaker - Blogger - Book author
Bloghttps://hexmaster.nl
Bookhttps://www.manning.com/books/azure-infrastructure-as-code

I created a basic #Azure #Functions #App with C# .NET and deployed it using GitHub #Actions and I blogged about it.

The blog covers the entire CI/CD process, from #compiling, #testing, and #publishing, to #infrastructure as #code (IaC) and the actual #deployment of the system.

This blog is helpful because it describes the cohesion between the CI/CD workflow (pipeline) and the #IaC aspect, and how to share information between these processes.

https://hexmaster.nl/posts/infrastructure-as-code-with-github-actions/

Infrastructure as Code With Github Actions

This post is about deploying a web app (in this example an Azure Functions app) to Microsoft Azure with GitHub Actions. The resources are deployed using infrastructure as code. Once done, the GitHub action workflow will deploy the function app.

I was having some fun with dotnet 7, #azure #functions and #Azure #Container #Apps and ran into some trouble to get it all up and running. Turned out my old friend #CORS was drawing way too much attention and I could not manage to get the Functions App up and running. Luckily @anthonychu jumped in and helped me out.

Trying to run Azure Functions in Container Apps? Struggling with CORS? Check out this post, it may help you out ;)

https://hexmaster.nl/posts/container-apps-cors-settings/

Container Apps - Struggling with CORS (part 4)

Some thoughts about software development. Cloud, Azure ASP.NET Core and a little bit more

@fvandillen Yeahsssss nice! I foresee lots of fun in your near future

@anthonychu @codesapien Obviously, but I need the deployment of certificates through a Key Vault first, or even better.... Managed certificates 😃

But again, thanks for the help  

Container Apps - Struggling with CORS (part 4)

Some thoughts about software development. Cloud, Azure ASP.NET Core and a little bit more

@anthonychu Victoryyyyyy, I owe you a blog post on this one, thanks for the help
@anthonychu oh, that looks good... On it...
@anthonychu @santoshhari also, I saw this one https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script.WebHost/Configuration/CorsOptionsSetup.cs skips CORS config because IsAnyLinuxConsumtion() returns false for container apps (e.g. There is a ContainerName env. var)
azure-functions-host/CorsOptionsSetup.cs at dev · Azure/azure-functions-host

The host/runtime that powers Azure Functions. Contribute to Azure/azure-functions-host development by creating an account on GitHub.

GitHub
@anthonychu @santoshhari well, I'm working on a conference talk demo of microservices in Container Apps, ideally wit a variety of technologies. So yes, getting this to work would be the preferred way to go. If I don't manage to get it done, then web api would be sufficient.
@anthonychu @santoshhari I could not get this to work, switched to an ASP Core Web Api that allows me to programmatically set CORS policies. I tried adding the CORS_ALLOWED_ORIGINS setting with an array of allowed hostnames, without result