Our great sponsors
-
AspNetCoreDiagnosticScenarios
This repository has examples of broken patterns in ASP.NET Core applications
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Unfortunately, there are problems with both of those approaches: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/b...
I don't know if it extends to other language implementations, but C# does not seem to have a reliable sync-over-async story.
What helped me understand async await concept was to understand the concept of generators in javascript. One quick way to do it was to implement generator using ES5 javascript.
From generator then it was to see on how to implement async await using them. This was how 1.x version of koajs did (https://github.com/koajs/koa/blob/master/docs/migration.md).
Another way was to understand how polyfill for an implementation works. eg. https://github.com/facebook/regenerator
What helped me understand async await concept was to understand the concept of generators in javascript. One quick way to do it was to implement generator using ES5 javascript.
From generator then it was to see on how to implement async await using them. This was how 1.x version of koajs did (https://github.com/koajs/koa/blob/master/docs/migration.md).
Another way was to understand how polyfill for an implementation works. eg. https://github.com/facebook/regenerator
Related posts
- Hono vs. H3 vs. HatTip vs. Elysia - modern server(less) replacements for Express
- Instrumenting AWS Lambda functions with OpenTelemetry SDKs
- Server-side Rendering (SSR) From Scratch with React
- Am I following best practices for express app with mysql database?
- Vite 3.0 vs. Create React App: Comparison and migration guide