Getting Started with Bicep Loops and Conditions

Getting Started with Bicep Loops and Conditions: Implementing Dynamic Deployments

When it comes to managing cloud infrastructure, two things are non-negotiable: scalability and flexibility. You want your deployment templates to be adaptable, reusable, and easy to maintain. That’s where Bicep comes into play. As a Domain-Specific Language (DSL) for Azure Resource Manager (ARM) templates, Bicep makes managing Azure resources simpler. One of its standout features is the ability to implement loops and conditions, which help make your templates more dynamic and suited for various deployment scenarios.

Read more →

Best Practices for Writing Clean, Maintainable, and Efficient Bicep Code

Best Practices for Writing Clean, Maintainable, and Efficient Bicep Code

With the increasing adoption of cloud services, infrastructure-as-code (IaC) tools like Bicep have become essential for automating and managing resources in Microsoft Azure. Bicep, a domain-specific language (DSL) for deploying Azure resources, offers a simpler syntax compared to ARM templates, making it easier to write and manage infrastructure configurations. However, like any codebase, Bicep can become hard to maintain and inefficient without careful attention to best practices.

Read more →

Creating Multiple Files with Content Using PowerShell

Creating Multiple Files with Content Using PowerShell

This post aims to explain a straight forward yet effective PowerShell functionality which can help the user in creating more than one file with specified content.

This can be useful for developers, system administrators or any user who wishes to generate files quickly for testing purposes or something else.

The PowerShell Function

Here’s a PowerShell function that allows you to create a specified number of files in a folder, with the option to include custom content.

Read more →

Add Trusted Assemblies to SQL Server 2022

Add Trusted Assemblies to SQL Server 2022

Since SQL Server 2017, Microsoft introduced the clr strict security option. This option is enabled by default and requires that all assemblies loaded into SQL Server are signed by a certificate. This is a security feature that helps protect your database from malicious code.

When you migrate a database to SQL Server 2017 or later, you may need to load assemblies that are not signed by a certificate. In this case, you need to add the assemblies as trusted assemblies to SQL Server.

Read more →

Create Your Sessions Coder Style Using Marp

Create Your Sessions Coder Style Using Marp

Let’s face it, we all love to code. We love to create things and we love to share our knowledge with others. We also love to learn new things and we love to help others.

Especially when you want to share your knowledge with presentations, you want to easily create your slides and you want to be able to share them with others.

Read more →