Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.8 KB

scenario-app-to-winsvc.md

File metadata and controls

47 lines (36 loc) · 1.8 KB

Service from a GUI app

  • You have an application with a GUI
    • From 20+ years ago
    • Uses files instead of a Database
    • QuickReport
  • Customer wants REST API for website
    • By sending JSON or File
    • And getting a JSON result
    • Or a PDF report

Windows service

  • Made Windows services before
  • Access to QuickReport
  • No complicated changes needed
  • Just a lot of refactoring
  • And appropriate locking

Setting up a REST API


It's alive!

  • It worked... mostly
  • Awkward installation when updating
  • Mostly useless Desktop
  • No scaling possible
  • But worst of all: random Printer errors
    • "Printer out of range"
    • To fix: restart service

Note:

  • Scaling possible but not trivial
  • Also multiple Windows servers, but seems wasteful