Seven examples that all do the same thing — find tech events — each using a different approach to call the Reka API. Built as .NET file-based apps: single .cs files, no .csproj needed.
Requires .NET 10.
- Get a free API key from the Reka Platform dashboard
- Copy
.env-sampleto.envand paste your key in place of HERE_GOES_YOUR_API_KEY
| # | File | Approach |
|---|---|---|
| 1 | 1-try-reka-openai.cs | OpenAI SDK basic call |
| 2 | 2-try-reka-ms-ext.cs | Microsoft Extension AI for OpenAI basic call |
| 3 | 3-try-reka-agent-fwk.cs | Microsoft Agent Framework basic call |
| 4 | 4-try-reka-agent-fwk-structured.cs | Agent Framework with structured output |
| 5 | 5-try-reka-openai-advanced.cs | OpenAI SDK with advanced web search beta and only with OpenAI APIs |
| 6 | 6-try-reka-http.cs | Raw HTTP — no SDK, just HttpClient but all features and all APIs |
| 7 | 7-try-reka-http-advanced.cs | Raw HTTP with web search and structured output (Reka-specific features) |
Run any example with:
dotnet run <filename>For example: dotnet run 1-try-reka-openai.cs

