Welcome! 👋

I’m a C# developer and Azure architect sharing insights and ideas.

Enjoy!

ChatGPT Code Interpreter: Dynamic Sessions

In this blog post series we will be aiming to replicate the powerful Code Interpreter tool known from ChatGPT. This tool enables dynamic code execution, providing value in scenarios like data analysis, automation and custom workflows. In this first part we will focus on the technical aspect of running generated code securely in an isolated environment. This ensures that any potentially malicious code cannot harm the surrounding infrastructure. By the end of this series we will have recreated the core functionality of ChatGPT’s Code Interpreter, which dynamically generates and executes code for end users. Along the way we will explore the technologies, best practices and challenges involved in building such a tool. Stay tuned for a deep dive into both the technical and practical aspects of this topic! ...

January 26, 2025 Â· 5 min Â· 1033 words Â· Frederik Baun

Vertical Slices: ASP.NET Core

In the rapidly evolving landscape of software development, maintaining agility and scalability is paramount. In this post, we’ll delve into the Vertical Slice approach to software design within ASP.NET Core — a modern alternative to the traditional layered architecture. Unlike conventional methods that compartmentalize code by technical roles, Vertical Slices organize code by feature, enhancing maintainability and reducing complexity. We’ll explore what Vertical Slices are, compare them to layered architectures, and walk through their implementation using essential tools like MediatR, FluentValidation, and OneOf. By the end, you’ll have a practical template to adopt this approach, streamlining your development process. ...

January 10, 2025 Â· 10 min Â· 2079 words Â· Frederik Baun