Это видео недоступно.
Сожалеем об этом.
ASP.NET Core Web API .NET 8 2024 - 5. DTOs
HTML-код
- Опубликовано: 4 янв 2024
- ASP.NET Core Web API .NET 8 2024 - 5. DTOs
Github repo for this project: github.com/teddysmithdev/FinS...
Twitter: / teddysmithdev
Github: github.com/teddysmithdev
Linkedin: / teddy-smith-015ba61a3
I think it would be better to place .Select() mapping method before the .ToList(), When we call .ToList() first, data of all the columns are retrieved from the database, which is kind of redundant because some of them are eventually going to be ignored in the DTO mapping method, if I apply .Select() mapping first, it first modifies the information in the IQueryable object it self and then .ToList() executes query on those columns only which are required in the mapping defined in the DTO Mapper method
I really like the way you explain in detail and in full😁😁😁As a junior, I didn't know many of the things you explained and I just repeated them automatically.
Thank you for this great course👌👌👌.
Your course is amazing. Its easy to follow and the way you explain things makes understanding the concepts very easy and graspable :) 🤝
Hey Teddy, really enjoying this series. I'm a frontend dev starting to cover more ground and this content is just awesome. Thanks a lot.
lots of love from nepal your way of teaching is best ever
ThanK you so much for this series brother.
this series is gold! thank you so much for such gem!
no prob thanks for the time
true chad keep them coming man
Thanks for detailed explanation
Thank you!
Excellent.
keep it up man great content
💯💯💯💯💯💯💯💯💯
My Automapper unexpectedly crashed, prompting me to resort to manual mapping within my controller. However, the concept of employing extension methods is intriguing. Though I'm a novice, it has captivated me
Thank you so much. I'm new and I'm learning alot from you videos. I have one question. You said you are doing the mapping manually. How would it look like if it is automatically done? Is there a reason why you prefer it doing it manually?
Thanks
Hi, Teddy.
Thanks for the manual mapping. My question supposing we have more dtos do i have to configure all like this?
Dude, incredible work u made here. going through the whole tutorial. Awesome !
One question, any tips on how to deploy a full-stack app like this? There is any way to do it for free somewhere, for portfolio purposes, or only via Azure, etc...
Thanks a million for the effort you put on the videos.
There's many ways but the way I would do it:
For backend: take advantage of some type of azure promotion so you can get first year free.
For frontend: deploy to netlify and set all api services so they point to azure api.
You could probably put the whole entire thing on one server for extra speed but I don't think it would be worth it in this case.
@@TeddySmithDev HERO!
Thanks for the super fast reply.
What is the different in using the DTOs and ViewModels, because i can also use VM serve the same purpose, please i need your explanation. thank you
What are the Mappers here and the DTO? Should we use both?
whats that drawing tool?
microsoft whiteboard
This sort of thing is why I dropped Java. If you're copying code around from one part of your project to another, something is poorly designed, usually the framework. This will never not result in a maintenance nightmare.
@mischief9499 i added the .Select() mapping before the .ToList(), but still getting the same.
I think you need to save the StockController file to see hot reloaded results. I didn`t save it and got Comments in the response.