riazuezra
riazuezra
CC#
Created by riazuezra on 4/10/2023 in #help
❔ How do I go from interface to implementation while navigating ASP.NET core code?
19 replies
CC#
Created by riazuezra on 3/14/2023 in #help
❔ The helper method 'Problem()' isn't in my controller scope. Pls help!
2 replies
CC#
Created by riazuezra on 2/28/2023 in #help
❔ Options Pattern for injecting configuration
6 replies
CC#
Created by riazuezra on 12/26/2022 in #help
❔ Multi-tenant == Roles ?
I need clarification whether the RoleManager in IdentityDbContext that manages roles for user authorization is the same as multi-tenancy? Thanks.
3 replies
CC#
Created by riazuezra on 12/2/2022 in #help
❔ Is it ok if I have different response schema for the same status code?
If yes how do I show this is in .NET Core Swagger UI? Also how would I make it work on NSwag for typescript types generation?
3 replies
CC#
Created by riazuezra on 11/26/2022 in #help
❔ Double property with [Required] data annotation does not validate
16 replies
CC#
Created by riazuezra on 11/25/2022 in #help
❔ POST request in swagger shows entire schema and parts of it are not needed in request body
I have a one to one relationship between Product and CartItem, in the POST request for Product the CartItem also shows but it's only there for the ef core relationship and not req body.
9 replies
CC#
Created by riazuezra on 11/25/2022 in #help
✅ Difference between [DataType(DataType.EmailAddress)] and [EmailAddress] data annotations?
Can anyone let me know what's the difference between [DataType(DataType.EmailAddress)] and [EmailAddress] data annotations? Using the former alone is not validating the email field so what's it's purpose? Thanks
6 replies