How I architected a single codebase to seamlessly switch between Azure OpenAI, GitHub Models, Ollama, and Foundry Local without touching the API service
When building my latest .NET Aspire application, I faced a common challenge: how do you develop and test with different AI providers without constantly rewriting your API service? The answer turned out to be surprisingly elegant - a configuration-driven approach that lets you switch between four different AI providers with zero code changes.
Last week, I spoke at the Copenhagen Developers Festival about using GitHub Codespaces for cloud-based development. This is an amazing conference with an incredible lineup. I’ve done this talk plenty of times, sharing how flexible and convenient cloud development environments can be. But this time, things didn’t go as planned.
This article is part of the Festive Tech Calendar 2023. For more articles in the series by other authors, visit https://festivetechcalendar.com/.
Dev Containers can revolutionize the way we approach development environments, offering a fast, consistent setup across different projects. As a developer who uses Dev Containers in VS Code for various projects, I’ve experienced firsthand the benefits of having an environment that’s ready to go as soon as I clone a project.
In today’s dynamic software development landscape, every second counts. Maximizing efficiency and ensuring error-free processes are top priorities for developers. GitHub Actions has already revolutionized workflow automation, and the game has just been upped with the introduction of its new Visual Studio Code (VSCode) extension. This article will explore these innovative features, shedding light on how they can supercharge your development workflow.
GitHub Actions: Automating Software Workflows Efficiently # GitHub Actions stands as one of the most versatile tools in the developer’s toolkit, allowing for comprehensive automation of software workflows. Its strength lies in its seamless integration with GitHub, offering flexible and potent Continuous Integration/Continuous Deployment (CI/CD) capabilities without the reliance on external platforms. This integration ensures that developers can focus on coding while GitHub Actions takes care of the build, test, and deployment processes. From facilitating automated build checks to executing comprehensive test suites and ensuring smooth deployments, GitHub Actions is the one-stop solution for developers looking to enhance their CI/CD workflows.
This is part 1 of the MARP series. You can read the series of articles here:
Marp - Create Presentations with Markdown Unleash Your Creativity with Marp Presentation Customization Introduction # Marp is a powerful and user-friendly presentation framework that simplifies the process of creating visually appealing slide decks using Markdown. In this blog post, we’ll explore what Marp is, why you might want to use it, how to get started. I’ll share my process and show you how you can automate hosting your presentations on GitHub Pages using GitHub Actions.
This is part 4 of the Secure Terraform series. You can read the series of articles here:
Secure Terraform - Part 1 - tfsec Secure Terraform - Part 2 - tfsec customization Secure Terraform - Part 3 - terrascan Secure Terraform - Part 4 - checkov Secure Terraform - Part 5 - terraform state Introduction # In this fourth installment of our Secure Terraform series, we’ll discuss Checkov, a powerful open-source static code analysis tool supported by Bridgecrew. Checkov supports Terraform, Kubernetes, Dockerfiles, AWS CloudFormation, and other Infrastructure as Code (IaC) frameworks. It focuses on security best practices, policy compliance, and industry standards. You can find Checkov’s documentation and samples at https://www.checkov.io/.