Chapter 4. Modernizing .NET Applications to Serverless
The term serverless can be a source of confusion in software engineering circles. How can you run a web application without servers? Is it really just a marketing phrase? In a way, yes it is. Serverless computing is the broad term for backend systems that are architected to use managed services instead of manually configured servers. Serverless applications are “serverless” in the same way that a wireless charger for your smartphone is “wireless.” A wireless charger still has a wire; it comes out of the charger and plugs into the mains outlet, transferring energy from your wall to your desk. The wireless part is only the interface between the charger and your phone. The word “serverless” in serverless computing is used in the same way. Yes, there are servers, but they are all managed behind the scenes by AWS. The servers are the mains cable plugging your otherwise wireless charger into the wall outlet. The other side, the part visible to us as developers, the part that really matters when deploying and running code, that part does not involve any configuration or management of servers and is therefore serverless.
You are most likely already using serverless computing for some tasks. Consider three popular types of server:
-
Web servers
-
Email servers
-
File servers
Of these three, the second two are servers that we have been replacing with managed serverless solutions for a long time now. If you have ever sent an email ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access