Minimal API | Route Handler için Response çeşitleri
Minimal API içerisinde bir route handler’dan döndürülebilecek response çeşitlerini ele aldık bu videoda. ✅Github reposu: https://github.com/sonergonul/MinimalAPI Response çeşitleri şu şekilde; ➡️ IResult – Task<IResult> veya ValueTask<IResult> ➡️ string – Task<string> veya ValueTask<string> – text/plain ➡️ T – Json seralize – application/json 🟢 app.MapGet(“/response1”, () lambda “Hello World”); 🟢 app.MapGet(“/response2”, () => new { Message = … Continue reading Minimal API | Route Handler için Response çeşitleri