Skip to content

Roundup #10: Octopus + Containers, Converting web.config to JSON, .NET’s Memory Management

Sponsor: Do you build complex software systems? See how NServiceBus makes it easier to design, build, and manage software systems that use message queues to achieve loose coupling. Get started for free.

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Here are the things that caught my eye this week.  I’d love to hear what you found most interesting this week.  Let me know in the comments or on Twitter.

Kubernetes, Containers, and Octopus – An Update

A few months back we asked the Octopus community if they could spare a few minutes and brain-cycles to provide some feedback on the first-draft of our Kubernetes plans. And you certainly delivered. So first, thank-you! We sincerely appreciate everyone who shared their thoughts. The product will certainly benefit from it.
This is pretty interesting as I’ve always really loved Octopus but felt it a bit out of place for dealing with container images.   They are hitting the nail right on the head with point #3 on something similar that I’ve done.
Customers are even simulating these by including dummy packages (e.g. NuGet or Zip) in their deployment process to represent their container images, since these would be captured in the release. This is very clever, but also made us sad. It shouldn’t require that level of ingenuity.
Link: https://octopus.com/blog/kubernetes-containers-update  

Converting web.config files to appsettings.json with a .NET Core global tool

In this post I describe how and why I created a .NET Core global tool to easily convert configuration stored in web.config files to the JSON format more commonly used for configuration in ASP.NET Core.
Really helpful post if you’re migrating from an web.config to asp.net core and want to transition to json config. Link: https://andrewlock.net/converting-web-config-files-to-appsettings-json-with-a-net-core-global-tool/  

Exploring NET’s Memory Management — A Trip Down Memory Lane

I was recently speaking with someone regarding the .NET GC and memory and immediately thought of this talk.   Highly recommend checking it out if you are unfamiliar with how the GC works and when memory is allocated in .NET.
The .NET Garbage Collector (GC) is really cool. It helps providing our applications with virtually unlimited memory, so we can focus on writing code instead of manually freeing up memory. But how does .NET manage that memory? What are hidden allocations? Are strings evil? It still matters to understand when and where memory is allocated. In this talk, we go over the base concepts of .NET memory management and explore how .NET helps us and how we can help .NET – making our apps better. Expect profiling, Intermediate Language (IL), and using ClrMD to mimic some inspections dotMemory provides.
Link: https://www.youtube.com/watch?v=9FEfy9y0fFQ  

Learn more about Software Architecture & Design.
Join thousands of developers getting weekly updates to increase your understanding of software architecture and design concepts.


Leave a Reply

Your email address will not be published. Required fields are marked *