Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Dive into the world of Asynchronous Server Gateway Interface (ASGI) in this informative PyCon US talk. Explore the common ground between FastAPI and Django by understanding the ASGI specification and its role in powering asynchronous, event-driven web applications. Gain insights into debugging ASGI apps, writing custom middleware, and simplifying application lifecycles. Learn to create a basic ASGI app using pure Python, without relying on frameworks or libraries. Discover the power of ASGI middleware for modifying app behavior without altering core code, including practical examples of adding authentication and request body processing. Conclude with a deep dive into serving ASGI applications, focusing on programmatic use of Uvicorn and event loop management.