ASP.NET Core Web API .NET 8 2024 - 4. Controllers
Vložit
- čas přidán 3. 01. 2024
- ASP.NET Core Web API .NET 8 2024 - 4. Controllers
Github for project: github.com/teddysmithdev/FinS...
Twitter: / teddysmithdev
Github: github.com/teddysmithdev
Linkedin: / teddy-smith-015ba61a3 - Jak na to + styl
Been through so many tutorials and all of them go from 1 - 100 and it all becomes too confusing but this is the best balanced approach tutorial for me, thank you for this!
I really enjoyed the way this teacher explains, it's extraordinary. I truly love .NET Core. 🥰🥰🥰🥰🧑💻🧑💻🧑💻🧑💻
Perfect Teddy !! You saved my time. I didn't find for .Net 8
Thank you!
nice video but i wished that you talked about different options for parameters like body, not only URL. Or if you include an example of post.
Following up...but yet to start ❤
Perfect 🎉
Thanks Boss
No prob my guy
Great.
I started this new tutorial after finish the Pokemon Tutorial, in the poke app i added JWT w/ cookie by myself, im curious about identity, anyway, nice work! Thanks 4 all Teddy!
Sweet!!!! Thanks for watching!
Can you give source code, if it is possible for you?
The [ApiController] attribute makes model validation errors automatically trigger an HTTP 400 response. Consequently, the following code is unnecessary in an action method:
if (!ModelState.IsValid)
{
return BadRequest(ModelState);
}
-msft
I can only say waouh and mashAllah, unbelievably light, clean, which is I've B1 level, but I can get it all. Thank you Teddy!
Nice but isnt it bad practice to start off your request names with get/delete etc.?
Teddy man you are the best i am following up and i am doing as we go but i have a question from where we are now ! do why didnot we create the delete update post here in the controllers
we make them in next videos!
thank you man
@@TeddySmithDev
Hi Teddy, I'm curious why you did not use repository pattern here?
i introduce repos later. Many people on last course mentioned that repository was confusing, so I try to incrementally build up to repo.
@@TeddySmithDev I see, I was anticipating it in the earlier parts of this tutorial. I finished your 2022 Pokemonreview app and it was splendid! Thank you very much
i just follow the tutorial , but i have No operations defined in spec error after dotnet watch run. I dont know why
Only thing I can think of is restart terminal
getting this error in swagger ui can any body help?
Error: Internal Server Error
Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid object name 'Stocks'.
at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
The column does not exist in SQL. Try to run migration. If you can’t get it to work that way, delete database and re run migration.
had the same problem, turns out I accidentally named the column Stock instead of Stocks, in case anybody has this issue later