Supporting Multiple Blazor Apps with Linux and Apache
This post will demonstrate how to host multiple Blazor applications on Apache, and will also present some ideas for organizing the server to simplify deployment.
The Electronic Numerical Integrator and Computer was one of the first electronic computers. Originally designed to improve the speed and reliability of the preparation of firing and bombing tables for the US Army, it was also used for weather prediction, atomic energy calculations, and for many other purposes during the 1940’s and 50’s. With its tens of thousands of vacuum tubes, resistors, relays, and switches, it was about the size of a volleyball court. In the course of its calculations it required almost 200 kW of power, somewhat more than what a modern PC needs (depending on AI workload).
Early in undergraduate school I took a programming course that featured PL/C, a compiler from Cornell University that supported a PL/I subset. One of it’s interesting features was that upon encountering an error in a program it would attempt to “guess” at the intent and replace it, creating a program that would run. Unfortunately, the compiler’s intuition was limited, generally creating something that did not run very well. On this propensity, the course instructor suggested that we should be “…thankful when it gets it right, and amused when it gets it wrong.” Good advice, perhaps, in an age when most email editors want to write your correspondence for you.
I graduated from Engineering at a time when slide rules were just being replaced by calculators as being acceptable for exam use. I discovered that I had a talent for using computers to solve engineering problems, which led to a career.
I have worked in the IT business for many decades, spanning mainframes to mobile. I have seen a lot of technologies come and go with many reappearing in a different guise. Having witnessed many Silver Bullet ideas fail to fire, I remain optimistic.
This post will demonstrate how to host multiple Blazor applications on Apache, and will also present some ideas for organizing the server to simplify deployment.