Start here. This is the direct spoken answer to practice first.
Why this question matters
App Service instances can restart, scale out, and receive different requests during normal operation. Durable workflow state, shared files, coordination, and background work therefore need external services rather than assumptions about one process or one local disk.
I would design an App Service API as stateless across instances. Requests can land on different workers, instances can restart, and local files are not a durable coordination mechanism. Durable data belongs in a database or storage service, shared cache belongs in a distributed cache, and long-running work belongs behind a queue or worker. Local disk can be scratch space, but not the source of truth for user workflow state.