Recent blog posts from the community:

F# Choice to C#

April 17, 2025 - https://www.aligneddev.net

Using Github Copilot to Convert F# Choice to C# We were curious what Github Copilot would do with a simple F# choice statement. We wanted to see if it could convert it to C#. The F# code is as follows: type Contact = { ContactId: ContactId Info: ContactInfo } and ContactInfo = | Email of EmailAddress | Phone of PhoneNumber and EmailAddress = EmailAddress of string and PhoneNumber = PhoneNumber of string and ContactId = ContactId of string “convert this to C#” was the prompt we used.

Aspire Updates

April 15, 2025 - https://www.aligneddev.net

Aspire Updates .Net Aspire Preview 9.2 was just released on April 10, 2025. Here is the Aspire 9.2 Release Standup . I also wanted to share the Omnitech Post I wrote with others to share what we learned and thoughts about .Net Aspire as a group.

Using F# to read/write files and databases

April 9, 2025 - https://www.aligneddev.net

Using F# to read/write files and databases I had an task to read from a file, look up the values in the database and find discrepencies. Since I had some extra time, I decided to apply my F# learning to this. The script won’t be long lasting, so I didn’t ask for permissions first. I used Copilot along the way to help with syntax and building issues that I wan’t as familiar with.

Overriding values when merging Docker Compose config

April 4, 2025 - https://mwop.net/

I’ve recently started using the ability to merge Docker Compose files, as it reduces repetition when having different configuration for production from development. This also helps reduce cases where configuration gets updated in one, but not the other, leading to issues when debugging why something runs in one environment but not another. Generally, when overriding something in development, I’m overriding volumes and environment variables. I started also using the fact that the env_file directive can take a list of files, which allows segregating environment variables by context, allowing re-use of specific variables between services, so that I don’t go polluting services with ENV variables that it doesn’t use.

Handling PHP-FPM using Caddy

March 21, 2025 - https://mwop.net/

I’ve been using Caddy for years as a reverse proxy in front of other services, but recently wanted to use it to directly route traffic to PHP-FPM. Caddy has a specialized reverse proxy directive for PHP-FPM, php_fastcgi, which seemed like it would do the trick, but I found that no traffic was ever getting routed to my FPM pool. What was happening There’s a fantastic StackOverflow answer describing what happens, and it’s great reading.


Latest jobs posted:

Submit a job listing