Build app using Angular 16, .NET Core Web API and Microsoft SQL Server

Build app using Angular 16, .NET Core Web API and Microsoft SQL Server

Art of Engineer

10 месяцев назад

48,253 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Jean-Yves Vagbé
Jean-Yves Vagbé - 09.10.2023 20:10

Merci.

Ответить
FakeITDevTeam
FakeITDevTeam - 27.08.2023 12:32

If dont false remember, we must give our creditcard info to register even the "free" version of azure (i think aws as well). Is there any way to signup those clouds without to do so?

Ответить
Micheal Holt
Micheal Holt - 26.08.2023 01:38

A little tip to anyone trying to follow along: The API this person made doesn't follow typical RESTful API standards. While there's nothing wrong with what this person is doing, it may be beneficial to practice those standards, especially if you want to work professionally in this industry. While the verbs in the endpoints are good, the routes themselves could be better. For example:

"POST /AddNotes" can be simplified to "POST /notes"
"GET /GetNotes" can be simplified to "GET /notes"
"DELETE /DeleteNotes" can be simplified to "DELETE /notes"

The example also has a query parameter for the delete function (which, again, there's nothing wrong with), but you can clean it up a little more. If you were to follow the exact pattern used in the video, your route would look like "DELETE /api/ToDoApp/DeleteNotes?id=5". This can be simplified to the following: "DELETE /api/ToDoApp/DeleteNotes/5". In this case, it's not a query parameter, but it's baked into the endpoint itself. To do this, type [Route("DeleteNotes/{id}")] then, in the parameters to the function, add [FromRoute] before the "int id" portion.

Again, nothing wrong with what's happening in the video, but my explanation is a more widely-used pattern that could be beneficial to get used to.

Ответить
Koji Ro
Koji Ro - 10.07.2023 23:16

Thank you for this!

Ответить
Chargoy
Chargoy - 10.07.2023 22:11

Can you speak slow pls? you are going to fast 🙄

Ответить
Azim Lit.
Azim Lit. - 22.06.2023 19:33

Wonderful 🎉

Ответить
M. Awais
M. Awais - 19.06.2023 23:31

when you will start the project... I am waiting

Ответить