Use cases

This section shows how to build real applications with Aspose.LLM for .NET. Each use case is a complete, runnable scenario — paste it into a .NET 8 or .NET 10 project, apply a license, and run.

For compact snippets that illustrate a single call, see Quick wins. For the first runnable example, see Hello, world!.

We assume familiarity with C# and async/await. If you are new to the SDK, read Getting started first.

Core scenarios

  • Simple chat — one or a few messages without managing sessions yourself.
  • Multi-turn chat — an explicit session with several exchanges in one conversation.
  • Save and restore session — persist conversation state to disk and resume later.
  • Custom preset — patterns for customizing a built-in preset or building one from scratch.

Vision

Throughput and scaling

Deployment

Tuning

Advanced

What’s next