Making a Simple API | ASP.NET Core 101 [7 of 13]

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

We might want our application's data to be available to a mobile app in the future. Lots of web applications output HTML for people to see in their browser, and the best web apps also include a JSON API that allows others consume the data from JavaScript or any other language.

Learn more about ASP.NET:

Follow us:

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

A superb example of an API and well explained. Thank you.

conradhaynes
Автор

7:43 That is one problem with the framework. While the lightbulb is great, without knowing there's a WriteAsync method, users would rely on what the intellisense returns from the Response object. When they don't know about WriteAsync, they would never be typing that out for the lightbulb to show up.

conaxliu
Автор

Why the heck json serializer mess around when i don't need json in my project ? I just need simple get and post data like php? there is nothing wrong when create a new page for processing data instead put stuff like endpoint to replace the original one ? is it make your life easier or it just make you more confused and complex?

mh-studio
Автор

Added JsonView, but it does nothing. Tried on both Chrome and Edge, allowed URL access and so on, but no success.
Any help?

joncm
Автор

I'm using 2022 and its different then what is in this video. Where can I find updated tutorial?

danielveinberg
Автор

JSONView seems to work for JSON data I find online, but not for the localhost...

kevinmackey
Автор

Hi.
Do you have an example how to connect to an mySql database?

andrebr
Автор

Please make videos on CORS cross-origin-resource-sharing

iftikharhussain
Автор

I really wish you'd be more explanitory regarding that rocket ship. I just don't understand what's going on here and I'm no stranger to c#

CymruCreator
Автор

why concentrate on curly braces instead of explaining how that lambda => works? some types explanation would be nice.

CSryoh
Автор

Scott Hanselman looks so different away from twitter

idiakosesunday
Автор

Hi, is any body know how to install JSONView for MS Edge? thanks.

jk
Автор

Not gonna lie. Part 3:50 - 6:55 makes me question if I actually know any C#. Got some var keywords in there with lambda expressions as an argument, and thinks looks a bit too much like JavaScript.

TheRonpe
Автор

.net is really verbose and requires a lot of boilerplate just to start a web server. Look at that startup configuration file. "Use redirection"? Of course I will use redirection, what kind of functionality is that? "getservice jsonfileproductservice getproducts" ? Even in spring boot which is a giant mess you can still lazily initialize a service within the class. "Inject" or whatever it is caled. Gentleman and the lady are pretty good people, but .net is an uter waste of time.

teenspirit
Автор

I think you are great professionals but I think this is not the way of teaching something, I mean, you are just coding and using things that you already know, if we don't know nothing about .net this is so confusing and doesn't work (at least for me) for learning the ropes in .net.

marcossoto
Автор

Very lousy series for those trying to learn .net. It doesn't explain the architecture, it just trhows stuff on you and don say what or why they are doing what they are doing. Not a learning tool.

Автор

API is an acronym, NOT an "abbreviation."

BjorgenEatinger