Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Tip 141 - Async write of multiple files to response #171

Open
njannink opened this issue Jan 3, 2023 · 0 comments
Open

Tip 141 - Async write of multiple files to response #171

njannink opened this issue Jan 3, 2023 · 0 comments

Comments

@njannink
Copy link

njannink commented Jan 3, 2023

What would you like to know?

When trying the example of tip 141 on the latest version you will get the following error:

Synchronous operations are disallowed. Call WriteAsync or set AllowSynchronousIO to true instead.

The simple way is to set AllowSynchronousIO to true. But I wonder isn't there a way to do this asynchronous?

@njannink njannink changed the title Async write of multiple files to response Tip 141 - Async write of multiple files to response Jan 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant