Enhancing your Web API: Part 2 | ASP.NET Core 101[9 of 13]

preview_player
Показать описание


Learn more about ASP.NET:

Follow us:

Useful Links:
Рекомендации по теме
Комментарии
Автор

These two make me feel so calm when I am learning from them. Thanks for the good work

mana
Автор

You are the bob rosses of ASP, love it.

ikruga
Автор

Great video. For the sake of other viewers I just want to point out the error at 15:14. The rating is the input parameter. It’s not used as a query parameter.

twisterwiper
Автор

You guys are the best teachers! You make it look like more fun that it actually is. Thank you!

zewdubelachew
Автор

Thank you Leslie for defending explicit types!!! The beautiful C# language is being ruined by excessive use of "var".

cadaankaa
Автор

For anyone who notices the error at 15:35:

1. Go to JsonFileProductService.cs
2. Go to the AddRating method
3. Change File.OpenWrite(JsonFileName) to File.Open(JsonFileName, FileMode.Truncate)

The reason this was causing an error is because the length of the string being written was different than what the product.json file had. If you read the microsoft docs, the remarks say a difference in length will cause a sort of 'mix' between the two.

menthus
Автор

Although Var is convenient for experienced developers, for tutorials I think strongly-typed variables are important to understanding the program

heathergray
Автор

I'm having such a rough time but thank you for putting up these videos!

point
Автор

Not sure I completely understand it, as I am new to this, but retrieving the list and appending the retrieved list to then set the original list equal to the appended list, won't that potentially override another list that was just updated by someone else, if the timing is right? Isn't there a way to append the original list directly using queries, so that each appendage will be added with certainty?

CrypticLoqic
Автор

If there is any naming convention, then it is unconventional. It is amazing how nobody in MS pointed this out.

xBogdan
Автор

Hey guys! nice tutorial. I am using Visual Studion Mac version, and apparently IIS Express does not come on Mac. So How can I fix the auto-refresh problem? I have to stop and run the project every single time I make a small modification. I would appreciate a clear answer. Thanks beforehand

ahmad.shabeeb
Автор

great.thanks looking forward to for this type of videos

Courserasrikanthdrk
Автор

Where can i download full episodes of this wonderful tutorial?

JD-pnle
Автор

just a question? is the api part only used to demonstrate api or is it really used at the website?

jamilvillones
Автор

4:20 I think it's just a Lambda expression, no LINQ

HaiChu
Автор

For the purpose of demonstration they used HttpGet when updating the db with a new rating. Why did they choose to do it incorrectly? 12:17 Do decorations like [HttpGet] do anything or they just like coments?

Trekker
Автор

Can you return a controller page like the "Rate" route as raw html, not ActionResult / string / int etc?

js
Автор

Haha - I'm also not a 'var' person...mainly because half the time I forget what type that var is supposed to be and I have to hover over no less than 60 times to remember :)

kylebrogan
Автор

I really appreciate this series of videos, but I must recognize that...

It's really strange (for me at least) that this guys that are representing this section of Microsoft's documentation (no small thing we're saying here), they have no caution about what they say, I mean there's no script or something before recording these videos, it's really expontaneous (or that's what I want to believe) so there's some errors in what they say on several occasions...

I mean, there's several mistakes and errors in these videos that really gives me hope... because of the impostor syndrome I thought I must be an extremely good programmer to be considered by Microsoft a developer skilled enough to record videos for them.

I must say then, it's not that hard as it seems.

eduardrivas
Автор

If anyone gets an error that says ''u' is invalid after a single JSON value. Expected end of data. Path: $ | LineNumber: 155 | BytePositionInLine: 1.'" After adding a rating through the website, it is because it's adding some weird text to the products.json file. To fix it just remove the unnecessary text. I have no idea why this is happening and if it is only unique to me.

Joshua-hfhr
welcome to shbcf.ru