According to inference rules, any complex type parameter NOT registered in the DI container and NOT matching a route parameter will be inferred as coming from where?
4 phương ánCó giải thích
Các phương án trả lời
Chọn một phương ánLời giảiChọn phương án để mở
Theo các quy tắc suy luận, bất kỳ tham số kiểu phức tạp nào không được đăng ký trong hộp chứa DI và không khớp với tham số đường dẫn sẽ được suy luận đến từ đâu?
Cùng chương 4
For a traditional controller-based Web API in .NET 8/9, which method call in Program.cs is essential for routing to controllers?Có lời giảiCâu hỏiFor the route [HttpGet("users/{userId}/orders/{orderId}")], what are userId and orderId?Có lời giảiCâu hỏiGiven the action public IActionResult Get(int id), and no other attributes, where will the model binder look for the value of id by default?Có lời giảiCâu hỏiCả 19 câu của chủ đề19 câu