-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for async code in C1 functions #789
base: dev
Are you sure you want to change the base?
Conversation
Can you explain a bit more in detail how this is suppose to work? As far as i can see, the only concrete thing added here is a |
From what i can see, there are some heavy assumptions that Async != webforms. Lets not forget that webforms is perfectly capable of running async, so one could find it plausible to add the IAsyncPageRenderer interface to the Masterpage template renderer, but that would break everything since you have hardcoded the assumption that if we have a async page renderer, then it can't be webforms. |
The way it would work for a razor function -> InitializeAzync will be called after the parameters are initialized and before the cshtml main body code is executed.
|
Currently, we don't aim for Web Forms + async support, as with eventual switch to .NET Core, we'll have to discontinue Web Forms support. |
No description provided.