Skip to main content

Posts

Refactoring for AI: Architectural Patterns for Integrating LLMs into Legacy .NET Applications

For those of us who have spent years, or even decades, maintaining and extending large, legacy .NET applications, the current AI boom presents a fascinating, yet daunting, challenge. The business sees the "magic" of AI and, naturally, wants to sprinkle it into our existing products. The request is often simple: "Can we add AI to do X?". But as architects and developers, we know it's never that simple. Bolting a modern, stateless, and often slow-to-respond Large Language Model (LLM) onto a battle-hardened, stateful ASP.NET Web Forms application is a classic case of architectural impedance mismatch. A direct API call from a code-behind file during a postback is a recipe for disaster. It will lead to hanging UI, terrible user experience, and a maintenance nightmare. So, how do we bridge the gap between our monolithic, reliable workhorses and the brave new world of generative AI? The answer isn't a rewrite; it's smart architecture. Here are a couple of patte...
Recent posts

Why Bother Learning When AI Knows All? The Enduring Value of Foundational Knowledge

In an era where artificial intelligence can draft emails, write code, and answer complex scientific questions with astonishing speed, a common refrain echoes in classrooms: "Why should I bother learning this if I can just a sk the AI?" While AI is an invaluable tool, reducing human learning to a mere memory exercise misses a crucial point: true understanding transcends rote memorization.     The Engineering Gauntle t Consider the journey of an engineering student. For two grueling years, they are put through a mathematical gauntlet of differential equations, multi-variable calculus, an d linear algebra. These subjects are presented as fundamental truths that must be mastered with pencil and paper.     Then, often in their junior year, they encounter Numerical Analysis . In this course, they are introduced to approximation algorithms—methods that use iterative calculations to estimate solutions to the very problems they just spent years learning to solve exact ly by ...

The Great Shift: Why Articulation is the New Superpower for Software Engineers

 The tech world is in the midst of a quiet shockwave. It’s not just about new tools or faster processors; it’s a fundamental shift in the core skills required to build software. For decades, the primary bottleneck has been implementation: the sheer effort of translating an idea into thousands of lines of correct, performant code. Today, that bottleneck is vanishing. A recent, striking example comes from Jaana Dogan , a Principal Engineer at Google, who revealed that a coding agent ( Claude Code ) was able to generate in one hour what her team had spent a year trying to build. This isn't just about an AI writing code faster; it's a signal that the most valuable skill in software engineering is shifting from how to code to how to articulate the problem . The Compression of Friction As industry observer Thomas Power noted, the real power of these AI agents isn't just their coding speed. It's their ability to compress a massive amount of organizational friction. A clear p...

The Zero-Marginal Brain: Life After the AI-Human Cost Inversion

  For most of industrial history, "intelligence" was the scarcest and most expensive resource. To get a legal contract reviewed, a codebase audited, or a marketing strategy drafted, you had to hire a skilled human. This created a linear relationship between growth and headcount: to do twice as much "thinking," you needed twice as many "thinkers." We are now entering the era of the AI-Human Cost Inversion . Recent data shows that while a human expert costs between $15 and $60 per hour, an advanced AI agent performs equivalent information-processing tasks for as little as $0.10 to $0.50 per hour. When the cost of running an AI agent falls below the cost of a human worker, we don't just get "faster humans." We get a different kind of economy entirely. 1. From "Service" to "Utility" Historically, professional services (law, accounting, consulting) were rival goods . If a consultant was working on your project, they couldn'...

The Great EV Reality Check: How 2025 Became the Year of the Hybrid Pivot

For years, the automotive industry marched to a single drumbeat: the "All-Electric Future." From Detroit to Stuttgart, legacy automakers pledged to phase out internal combustion engines (ICE) by the mid-2030s. But as we close out 2025, that drumbeat has faltered. Faced with cooling consumer demand, shifting political landscapes, and the harsh reality of "EV fatigue," the world’s biggest car brands are rewriting their playbooks. 1 The transition isn't dead, but it has certainly been delayed—and the casualties range from American icons to German luxury staples. The U.S. Landscape: Policy Shifts and the "Trump Pivot" In the United States, the EV market has hit a significant speed bump.  Following the recent shift in Washington, the regulatory environment has transformed. The scrapping of the $7,500 consumer tax credit and the weakening of federal fuel-efficiency standards have removed the primary "carrots and sticks" that drove EV adoption. Am...