Nice video as always. One question, why cartCheckout isnt wrap in a interface in this case?
@RawCoding4 жыл бұрын
Yes, so it’s a service that has a custom in and out params, I have many of these services which aren’t exactly composable, so putting it behind an interface will require a lot of work which I don’t need to do
@mahmoudalaskalany4 жыл бұрын
i wanted to ask u if there any alternative for Identity Server 4
@RawCoding4 жыл бұрын
What’s your use case?
@mahmoudalaskalany4 жыл бұрын
@@RawCoding i need to use .net 5 but identity server does not support it unless in the new paid version duende identity server
@RawCoding4 жыл бұрын
There OpenDict 3, although being on .net5 is not a use case
@mahmoudalaskalany4 жыл бұрын
i have read about it and am planing to move to it thank u man ❤️
@mahmoudalaskalany4 жыл бұрын
thanks man in advance ❤️
@RawCoding4 жыл бұрын
Thanks
@saurabhchauhan2324 жыл бұрын
Thank you 👌
@RawCoding4 жыл бұрын
No, thank you!
@saurabhchauhan2324 жыл бұрын
@@RawCoding Why did you created Two other mock classes, just want to know like the Staff Registration, other can also be mocked with Setup method why did you choose override approach 🙂
@RawCoding4 жыл бұрын
I think I mention this in the video, I do put one of em behind an interface later in my own time. But using Moq on objects doesn’t work last time I checked. So yeah we mock them by extension rather than hiding them behind and interface, additionally I can’t mock my service since putting it behind an interface could make things a lot harder for me.
@saurabhchauhan2324 жыл бұрын
@@RawCoding Yes you do mentioned that, but the last part helped that using interface everywhere help you in mocking but add complexity/did not help better in implementation polymorphism
@jinhe6203 жыл бұрын
Quite helpful as usual. Btw, Could you please upload the code?
@RawCoding3 жыл бұрын
Eya, nope some of it is in a private repo
@clearlyunwell3 жыл бұрын
👍🏽
@RawCoding3 жыл бұрын
)
@GZPlays_uno2 жыл бұрын
Will fix it later! Never!
@torrvic11562 ай бұрын
Things are so confusing in your video. Naming is pretty weird honestly. Why class named with a verb?
@RawCoding2 ай бұрын
I prefer ProcessX, TransferY, AuditStorage, rather than EntityManager, EntityService… So the class is scope for an action, rather than pretending its some object entity thats out there doing something.