Good video. Also thanks for the XML response part :)
@ClaudioBernasconi3 жыл бұрын
Thanks!
@viniciussantosaguiar95432 жыл бұрын
Very good vídeo!!
@ClaudioBernasconi2 жыл бұрын
Thank you. 🙏
@christiantricarico3 жыл бұрын
I still can't see the real benefits of using minimal API. Great video anyway 💪
@pilotboba3 жыл бұрын
Performance is the main one I've seen. If you don't need the things Controllers support that endpoints don't support, then why not use it?
@ClaudioBernasconi3 жыл бұрын
@@pilotboba great point! What I would say is that it's personal preference. It's there but if you prefer Controllers, why not stick with Controllers? 😎👍
@pilotboba3 жыл бұрын
@@ClaudioBernasconi 100% agree. Use what makes you happy and supports your use case.
@pilotboba3 жыл бұрын
Another benefit is you are injecting into the endpoint rather than the ctor of the class. Of course, you can do a similar thing in controllers. It's just a bit more code.
@KunalDedhia-b6v Жыл бұрын
Why did you remove the Autofac related code?
@ClaudioBernasconi Жыл бұрын
Because the features I need from a DI container are now baked into .NET. I don't need Autofac for most of my modern .NET apps anymore. Of course, you can continue using it when you want it or have additional requirements.