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?
No, it is actually Visual Studio 2022
19 replies
CC#
Created by riazuezra on 4/10/2023 in #help
❔ How do I go from interface to implementation while navigating ASP.NET core code?
Lol is this the real Anton
19 replies
CC#
Created by riazuezra on 4/10/2023 in #help
❔ How do I go from interface to implementation while navigating ASP.NET core code?
That's a bummer, ryder seems to be common among .net devs
19 replies
CC#
Created by riazuezra on 4/10/2023 in #help
❔ How do I go from interface to implementation while navigating ASP.NET core code?
This only works on the code I write
19 replies
CC#
Created by riazuezra on 4/10/2023 in #help
❔ How do I go from interface to implementation while navigating ASP.NET core code?
Does not work 😦
19 replies
CC#
Created by riazuezra on 2/28/2023 in #help
❔ Options Pattern for injecting configuration
yup I was missing this package microsoft.extensions.options.configurationextensions Thanks! o7
6 replies
CC#
Created by riazuezra on 11/26/2022 in #help
❔ Double property with [Required] data annotation does not validate
int, double, etc such datatypes assign default value to the variable that could be why it passes the validation
16 replies
CC#
Created by riazuezra on 11/26/2022 in #help
❔ Double property with [Required] data annotation does not validate
Sure, this is Web API
16 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/26/2022 in #help
❔ Double property with [Required] data annotation does not validate
found the solution, apparently I need to make the field nullable so - public double? DiscountPercentage { get; set; }
16 replies
CC#
Created by riazuezra on 11/26/2022 in #help
❔ Double property with [Required] data annotation does not validate
nope I was able to make requests without the field
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
Ok thanks
9 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
ok but in the controller how do I copy from DTO to model is there a special syntax for that? Thanks
9 replies
CC#
Created by riazuezra on 11/25/2022 in #help
✅ Difference between [DataType(DataType.EmailAddress)] and [EmailAddress] data annotations?
6 replies
CC#
Created by riazuezra on 11/25/2022 in #help
✅ Difference between [DataType(DataType.EmailAddress)] and [EmailAddress] data annotations?
could you pls elaborate what do you mean by formatting?
6 replies