References
Gradio.NET
- NuGet package page https://www.nuget.org/packages/Gradio.Net — package versions, target frameworks, dependencies and release history. The version pinned throughout the book is
0.6.30.8. - Source repository https://github.com/feiyun0112/Gradio.Net — quick start, the two styles of writing (
grfactories and core types), and ten official demos (Interface, Blocks, Chat, Streaming, Form, Files, Media, Multipage, Themes, Charts). - API documentation inside the package, installed at
%USERPROFILE%\.nuget\packages\gradio.net\0.6.30.8\lib\net10.0\Gradio.Net.xml. It is authoritative for the types, parameters and default values of public members; the book only describes the parts that can be reproduced with the samples. - Upstream Gradio documentation https://www.gradio.app/docs — the source of component and parameter names. Gradio.NET is a .NET port of Gradio 6.30.0 and shares its front end and protocol; the book does not assume you have read this documentation.
.NET and ASP.NET Core
- .NET 10 documentation https://learn.microsoft.com/dotnet/ — language, runtime and toolchain.
- ASP.NET Core documentation https://learn.microsoft.com/aspnet/core/ — web host, routing, middleware and static files.
- Generic host and lifetime https://learn.microsoft.com/dotnet/core/extensions/generic-host — the three
IHostApplicationLifetimecallbacks,StopApplicationand shutdown order (Chapter 21). - Dependency injection https://learn.microsoft.com/dotnet/core/extensions/dependency-injection — service registration, scopes and resolution timing (Chapter 21).
- Configuration https://learn.microsoft.com/dotnet/core/extensions/configuration — the override order of
appsettings.json, environment variables and command-line arguments (Chapter 21). - Logging https://learn.microsoft.com/dotnet/core/extensions/logging — log levels, categories and providers (Chapter 21).
OpenAI-Compatible Interfaces
- Chat Completions reference https://platform.openai.com/docs/api-reference/chat — request body, the
streamparameter and the structure ofchoices[0].delta.content(Chapter 16). - Server-Sent Events specification https://html.spec.whatwg.org/multipage/server-sent-events.html — the meaning of
event:anddata:lines, and frames separated by blank lines (Chapters 16 and 22).