For someone who is doing this app in dotnet 7 and has errors after creating the PlatformType, you need to put the [Parent[ attribute in front of the GetCommands method from the Resolvers class. This is a breaking change in the framework of HotChocolate
A lot of tutorials on tech topics fly over the "obvious stuff". I really appreciate that you take the time to go into the details of each step but remain concise. Great video thanks.
Just finished reading a book yesterday about creating REST API in .Net core, and now youtube algorithm bring me to the author himself. conclusion: this guy is a superb teacher!
Hi Les, thanks for this great course! I didn't finish it yet, I'm on my way :). I would like to mention one thing I found when running a profiler for sql server: when using ObjectTypes (for Platform and Commands) and doing the heavy lifting manually, there are three queries executed against the database (one per platform id). But if I use the default behavior, there is only one. I think that's worth noting. Thanks!!
Amazing tutorial, thank you! What would be awesome is to include a section (or a separate video) on how to handle authorization in GraphQL (both "endpoint-wide" and also user by user/object by object). I know it's a whole different complex can of worms and lots of work, however that's the last piece of info for me to be able to "ditch" REST :) Any chance you would be up to something like that?
One of the best tutorials I’ve seen. Coming from zero knowledge of graphql I feel at least now I understand the concepts backed by hands on examples. Thank you. Count me in as a new subscriber.
I have just completed this video and can confirm this was such a great introduction to GraphQL, thank you so much! I agree with another commenter that another video on the advised or suggested ways to query this new API from a frontend perspective would be great too. Thanks again!
There is no doubt that this is the best tutorial out there. Thank you so much Les for also taking the time to explain the things clearly. You just gained a new subscriber.
For someone struggling with the voyager setup, this is how it worked for my version of 5.0.2: app.UseGraphQLVoyager(new VoyagerOptions() { GraphQLEndPoint = "/graphql", }, "/graphql-voyager");
Les, Thank you so much for your informative tutorials. I did the one on API and Microservices and now GraphQL API and they are so helpful. Your teaching style is great and I have learnt a lot from you.
Very easy to understand, great voice, great visuals and great pace! Overall, a very good tutorial that is easy to digest and very much worthwhile going through. I only had one slight issue when I couldn't get Voyager to work, other than that every part was flawlessly explained and shown!
if you are using package GraphQL.Server.Ui.Voyager Version="5.0.1" or higher the following should help: using GraphQL.Server.Ui.Voyager; public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { ... app.UseGraphQLVoyager(new VoyagerOptions(){ GraphQLEndPoint = "/graphql" }); } default voyager endpoint is "ui/voyager" cheers.
@@toddnedd2138 This does not work for me. But this: app.UseGraphQLVoyager(new VoyagerOptions(), "/graphql-voyager"); You can also omit the path. Then the GraphQL Voyager is accessible via its default: /ui/voyager
I love graphql but having done work with graphql.net hot chocolate is far better and I did a demo with a legacy app and got up and running in a day I love banana cake pop as the testing and info ui. Its definitely something I will be promoting. Thank you for your videos it helps so much
i'm not a dotnet developer but i was thrown headfirst into it cause of work, ur videos on it and the way u explain things really helped me a ton! i just wanna say thanks for making them ~!
subscriptions blew my mind. and also i am very opt in to the idea of starting type-less. after agreeing on the basics with the business representatives, one can quickly provide added complexity. kudos man. thanks for all the effort you put on this.
This is Superb Tutorial, Well presented . Les hat off to your effort and passion in teaching every bit of details in such a structure and easy format. I loved this video and have become fan of your channel. Keep up the good work . Many thanks
I was getting errors using the ResolveWith in the two Type classes, what fixed the issue was adding the [Parent] decorator to the first argument in the two Resolvers classes. public Platform GetPlatform([Parent] Command command, [ScopedService] AppDbContext context) and public IQueryable GetCommands([Parent] Platform platform, [ScopedService] AppDbContext context) Hope this helps anyone doing this currently. This is with HotChocolate version 12.0.1
This is quality work. It's sat in my list for the last year and I finally got around to watching it since I'm starting to mess around with GraphQL and it's still pretty helpful even though I'm not using Hot Chocolate
Great, wondeful, easy to absorb and understand topic. I love your method of training others. I think it would be great if you show at the end for 10 minutes how to call all those GraphQl services (Platform, Command) from a .Net client or an asp.net mvc web page, that would be great if you can add this part, well done and thanks for making this available for the community.
@@KittFanNr1 I googled but was not able to figure it out for this code, they were all specific and not similar to what Les showed us, maybe he can help us with a 15 minutes video if he has some availability :-)
Les, this is indeed the best video on this library, but since HotChocolate has reached v13, and they've evolved their API.... Any chance you can make a v2 of this course . Even a paid course would be awesome as training on this is fragmented :-(
Great except for two things: 1- I think there should be kind of writing comments. Beginners need that to fully understand the code. 2- I hope you could explain how to upload the project on a working website and how does that process done through VS-Code
Very informative and good video. I have gone through it and now will be performing the practical. One request, please upload videos/tutorials at least on monthly basis. Your explanation is simple to follow and in-depth. I really like the way you explain each and every concept. 👌👌👍👍
Hi Les! Love your voice, your beart, the accent and the way you're teaching us all that interesting stuff! Keep up your good work! For me it is "learning with a smile" and makes it easier then elsewhere! Greetings from Hamburg to Melbourne!
I have not experience as much as you have as software developer but I have suggestion for you, title of the video is GraphQL API with .NET that's why if someone come here they need to know .NET and the rest that's why you don't need to dive into detail of every single component of the journey of the project. and you can make video for them seperately and you can add them in this video's cards section.
One of the best resources I came across about GraphQL and Hotchocolate. Any change to see in the future Intermediate or advanced topics of HotChocolate and .NET 5?
I really loved the content here. It was easy to understand and just straight forward. Could you please, go into how to secure a GraphQL Api. I have tried a lot of ways but just cannot get my head around it. Sincerely.
I love your tutorials. Thank you for sharing this quality videos for free here. Actually you are helping me a lot with my APIs and I am falling in love with the backend part of programming!
It is very hard to find tutorials that strikes the perfect balance between concepts and hands on and this tutorial does exactly that. Also i was determined to try out Postman throughout the session but seeing how Insomnia tool supports GraphQL, i do not see myself using postman for graphql executions. Thanks @LesJackson
I think I need to learn more theory about database such as schema, projection,... after watch this video,... Know only SQL query language is not enough,... awesome video,... Thank you so much,...
Thank you Les, this is awesome, your step by step tutorial is really precise as you type while you going along. I have learned a lot and I like GraphQL.
Excellent video had to google a breaking change in the HotChocolate 12 update in the Platform and CommandsTypes code, but this is a minor issue. I have implemented Dataloaders which I definitely recommend. Great Job! Thanks!!
Excellent tutorial. Very clear on every setp & easy to follow along. Can we please expect a video on integration testing GraphQL? With Web API, it is easy to perform in-memory API testing Any such option works with GraphQL?
Hi @@binarythistle. I noticed that GraphQL.Server.Ui.Voyager version 5.0.2 does not have option of new GraphQLVoyagerOptions() in the Configure method in Startup.cs. I had to use the version you;re using
Hey Les, thanks for the great presentation. ODATA protocol seems to solve both under-fed and over-fed problems. In addition it allows you to add filters and/or range conditions. What's the benefit of using GraphQL, reinventing the query language once again. Thanks
Nice Presentation. One correction, I would like to add one point hare, the GraphQL.Server.Ui.Voyager.VoyagerOptions seems have a changed syntax in latest version as follows app.UseGraphQLVoyager(new VoyagerOptions() { GraphQLEndPoint = "/graphql", }, "/graphql-voyager");
Great tutorial Les, very informative. My only recommendation is to include examples when polling for a single entity as there is a couple ways to handle that as I discovered.
Excellent course/video. It also came at a great time since we are looking to implement graph with our .net 5 APIs. We will be looking to combine rest and graph but this will help a ton.
A very clear and understandable tutorial could be improved by setting chapters in the video or split into pieces of about 45 minutes. This would make it far easier to find a position for recapitulation, but all in all thumbs up
Tip: If you add a 00:00 time code in your description, then youtube will automatically add chapters to the video.
Did not know this. Great tip.
For someone who is doing this app in dotnet 7 and has errors after creating the PlatformType, you need to put the [Parent[ attribute in front of the GetCommands method from the Resolvers class.
This is a breaking change in the framework of HotChocolate
A lot of tutorials on tech topics fly over the "obvious stuff". I really appreciate that you take the time to go into the details of each step but remain concise. Great video thanks.
Just finished reading a book yesterday about creating REST API in .Net core, and now youtube algorithm bring me to the author himself.
conclusion: this guy is a superb teacher!
What's the name of the book brother..?
@@robertmrobo8954 It's linked in the description: The Complete ASP.NET Core 3 API Tutorial
I love his tutorial! His teaching mannerism is so assuring and easy to follow. Best instructor ever!
This has to be one of the best tutorials I have ever watched. Thanks for putting it together!
i Agree!
Couldn't agree more
Hi Les, thanks for this great course! I didn't finish it yet, I'm on my way :). I would like to mention one thing I found when running a profiler for sql server: when using ObjectTypes (for Platform and Commands) and doing the heavy lifting manually, there are three queries executed against the database (one per platform id). But if I use the default behavior, there is only one. I think that's worth noting. Thanks!!
Nice tutorial. I learned a lot. Please create a video about authentication and authorization stuff with GraphQL.
Amazing tutorial, thank you! What would be awesome is to include a section (or a separate video) on how to handle authorization in GraphQL (both "endpoint-wide" and also user by user/object by object). I know it's a whole different complex can of worms and lots of work, however that's the last piece of info for me to be able to "ditch" REST :) Any chance you would be up to something like that?
Outstanding tutorial. Love how you hand code everything instead of magically pasting in code.
One of the best tutorials I’ve seen. Coming from zero knowledge of graphql I feel at least now I understand the concepts backed by hands on examples. Thank you. Count me in as a new subscriber.
Yes, we count you.
I have just completed this video and can confirm this was such a great introduction to GraphQL, thank you so much! I agree with another commenter that another video on the advised or suggested ways to query this new API from a frontend perspective would be great too. Thanks again!
This is the best GraphQL tutorial yet I have watched online. Very detailed with well-explained concepts. Thanks for this awesome work!
Currently we are switching our tech stack and your videos are pure gold. Thank you very much
There is no doubt that this is the best tutorial out there. Thank you so much Les for also taking the time to explain the things clearly. You just gained a new subscriber.
For someone struggling with the voyager setup, this is how it worked for my version of 5.0.2:
app.UseGraphQLVoyager(new VoyagerOptions()
{
GraphQLEndPoint = "/graphql",
}, "/graphql-voyager");
Thanks for this - the "Path" property also doesn't exist, it seems to be set as default to this:
- localhost:5000/ui/voyager
THANKS! I burned an hour on this and could not move on.
Thanks
Thank you for this!
I guess the now supposed way is:
after
endpoints.MapGraphQL();
insert
endpoints.MapGraphQLVoyager("/graphql-voyager");
I have not seen such a detailed video on GraphQL. Trainer knowledge is very good.
The Most effective Tutorial I have ever seen on GraphQL. I was thinking of buying a tutorial in Udemy. Now I think I don't need it. Thanks a lot
Was missing you and your awesome way of teaching.. hope will get many more this year..
Believe it or not, Mr. Jackson, you built my career, thank you.
Les, Thank you so much for your informative tutorials. I did the one on API and Microservices and now GraphQL API and they are so helpful. Your teaching style is great and I have learnt a lot from you.
Finally a guy who is happy with 2020!
Welcome back bro! Keep up the awesome content! You're a great teacher.
Very easy to understand, great voice, great visuals and great pace! Overall, a very good tutorial that is easy to digest and very much worthwhile going through. I only had one slight issue when I couldn't get Voyager to work, other than that every part was flawlessly explained and shown!
if you are using package GraphQL.Server.Ui.Voyager Version="5.0.1" or higher the following should help:
using GraphQL.Server.Ui.Voyager;
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
...
app.UseGraphQLVoyager(new VoyagerOptions(){
GraphQLEndPoint = "/graphql"
});
}
default voyager endpoint is "ui/voyager"
cheers.
@@toddnedd2138 This does not work for me.
But this:
app.UseGraphQLVoyager(new VoyagerOptions(), "/graphql-voyager");
You can also omit the path. Then the GraphQL Voyager is accessible via its default: /ui/voyager
@@rafaelskiba3854 I was googling the hell out of it and still unable to figure it out. Thank you so so much!
This is really great presentation. Would be great if you could include the pagination support as well.
I love graphql but having done work with graphql.net hot chocolate is far better and I did a demo with a legacy app and got up and running in a day I love banana cake pop as the testing and info ui. Its definitely something I will be promoting. Thank you for your videos it helps so much
This was incredible. Thank you for such detail. This is the only example I've found that walked you through end-to-end. It was perfect!
i'm not a dotnet developer but i was thrown headfirst into it cause of work, ur videos on it and the way u explain things really helped me a ton!
i just wanna say thanks for making them ~!
subscriptions blew my mind. and also i am very opt in to the idea of starting type-less. after agreeing on the basics with the business representatives, one can quickly provide added complexity.
kudos man. thanks for all the effort you put on this.
This is Superb Tutorial, Well presented . Les hat off to your effort and passion in teaching every bit of details in such a structure and easy format. I loved this video and have become fan of your channel.
Keep up the good work .
Many thanks
oh man, You made creating API in .net core so easy by making this video
dev from philippines, your content helps me a lot
I just want to say: This is awesome!!!
These are such high quality videos, I love it!
Always enjoy your all tutorials !!!!!!😀
I was getting errors using the ResolveWith in the two Type classes, what fixed the issue was adding the [Parent] decorator to the first argument in the two Resolvers classes.
public Platform GetPlatform([Parent] Command command, [ScopedService] AppDbContext context) and
public IQueryable GetCommands([Parent] Platform platform, [ScopedService] AppDbContext context)
Hope this helps anyone doing this currently.
This is with HotChocolate version 12.0.1
Got the same, thanks !
and I
I spent two days, and no result. But, THANK YOU ^^
Thanks! you saved a lot of my efforts. I got stuck with these errors
Thank you so much!
This is quality work. It's sat in my list for the last year and I finally got around to watching it since I'm starting to mess around with GraphQL and it's still pretty helpful even though I'm not using Hot Chocolate
Great, wondeful, easy to absorb and understand topic. I love your method of training others. I think it would be great if you show at the end for 10 minutes how to call all those GraphQl services (Platform, Command) from a .Net client or an asp.net mvc web page, that would be great if you can add this part, well done and thanks for making this available for the community.
Yes, that would be great. I was also thinking about the graphql response, its very dynamic - How would you deal with this in a .net application?
@@KittFanNr1 I googled but was not able to figure it out for this code, they were all specific and not similar to what Les showed us, maybe he can help us with a 15 minutes video if he has some availability :-)
Les it is fantastic to see you again on youtube.
I believe I will become a fan of your presentations Les. Great work!
awesome !! OMG... I watched the whole 3:45 hours continuously without getting tired
Amazing and detailed video, I learn first-time Graphql
Thank you so much Les Jackson. ❤️
Les, this is indeed the best video on this library, but since HotChocolate has reached v13, and they've evolved their API.... Any chance you can make a v2 of this course . Even a paid course would be awesome as training on this is fragmented :-(
Great except for two things:
1- I think there should be kind of writing comments. Beginners need that to fully understand the code.
2- I hope you could explain how to upload the project on a working website and how does that process done through VS-Code
In this video, I learned a lot from you, Les. Thank you very much!
Thank you from Russia, with love
I am not tend to comment but this tutorial was Epic. There is no doubt !
What a mad lad! Thank you so much for these great videos, learning with you is so much easier 😊 👍👍
If you are having trouble with resolvers not working, you must add [Parrent] atribute to the object you are passing into function.
Very informative and good video. I have gone through it and now will be performing the practical. One request, please upload videos/tutorials at least on monthly basis. Your explanation is simple to follow and in-depth. I really like the way you explain each and every concept. 👌👌👍👍
Thank you for such a superb starter video. Hot Chocolate seems promising
Hi Les, Nice presentation . Feels like a live session. Thank you.
Hi Les! Love your voice, your beart, the accent and the way you're teaching us all that interesting stuff! Keep up your good work! For me it is "learning with a smile" and makes it easier then elsewhere! Greetings from Hamburg to Melbourne!
thanks Les!!!!!!!!!! im subbed to your Patreon now :) next stop: microservices course! keep em comin baby
nice to see you come back :)
Great to be back finally! (Taken a while...)
Good tutorial for GraphQL novices. Thank you
Make more and more video about API and GraphQL please... It's very useful,... very useful....
I have not experience as much as you have as software developer but I have suggestion for you, title of the video is GraphQL API with .NET that's why if someone come here they need to know .NET and the rest that's why you don't need to dive into detail of every single component of the journey of the project. and you can make video for them seperately and you can add them in this video's cards section.
One of the best resources I came across about GraphQL and Hotchocolate. Any change to see in the future Intermediate or advanced topics of HotChocolate and .NET 5?
I really loved the content here. It was easy to understand and just straight forward. Could you please, go into how to secure a GraphQL Api. I have tried a lot of ways but just cannot get my head around it. Sincerely.
I love your tutorials. Thank you for sharing this quality videos for free here. Actually you are helping me a lot with my APIs and I am falling in love with the backend part of programming!
Thanks a lot for the teaching in simplest way!
Good timing, was just looking for some materials to learn graphql. I will definitely take your course. Good to see you again :)
Thanks for taking your time to make up learning in a easy way!
Definitely I recommend this video!
Thanks for the tutorial. Watched and implemented to the end. Everything worked fine. Thanks once again @Les Jackson
do you have any plan on using dapper on your next project?
Great video on the topic , please add how to implement paging with relay support as it is important for real world use cases. Greatly appreciated.
It is very hard to find tutorials that strikes the perfect balance between concepts and hands on and this tutorial does exactly that. Also i was determined to try out Postman throughout the session but seeing how Insomnia tool supports GraphQL, i do not see myself using postman for graphql executions. Thanks @LesJackson
I think I need to learn more theory about database such as schema, projection,... after watch this video,... Know only SQL query language is not enough,... awesome video,... Thank you so much,...
Thank you Les, this is awesome, your step by step tutorial is really precise as you type while you going along. I have learned a lot and I like GraphQL.
Amazing tutorial, very clear, thank you
Excellent video had to google a breaking change in the HotChocolate 12 update in the Platform and CommandsTypes code, but this is a minor issue. I have implemented Dataloaders which I definitely recommend. Great Job! Thanks!!
Thanks Les Jackson for awesome tutorial.
Excellent tutorial. Very clear on every setp & easy to follow along.
Can we please expect a video on integration testing GraphQL?
With Web API, it is easy to perform in-memory API testing
Any such option works with GraphQL?
Great to hear your voice 🙂🙂
Thanks Rajesh - great to be back!
Hi @@binarythistle. I noticed that GraphQL.Server.Ui.Voyager version 5.0.2 does not have option of new GraphQLVoyagerOptions() in the Configure method in Startup.cs. I had to use the version you;re using
Fantastic production and awesome tutorial, I followed along and created the same, very much apricated for your efforts.
Hey Les, thanks for the great presentation. ODATA protocol seems to solve both under-fed and over-fed problems. In addition it allows you to add filters and/or range conditions. What's the benefit of using GraphQL, reinventing the query language once again. Thanks
Google "why odata is not popular", you will get your answers.
Im in the middle of the video atm and I just stopped to say you are fucking legend bro.
great song at the end too :) perfect sized course
Thank you Les it was an awesome to start on GraphQL i learned a lot very greatfull with your videos they are large but they worth it
Nice Presentation. One correction, I would like to add one point hare, the GraphQL.Server.Ui.Voyager.VoyagerOptions seems have a changed syntax in latest version as follows
app.UseGraphQLVoyager(new VoyagerOptions()
{
GraphQLEndPoint = "/graphql",
}, "/graphql-voyager");
Offf, Finally a new video on my favorite channel👏🤩
could you use ODATA and keep HTTP API instead of using graphQL?
Great tutorial mate! I am going to buy your Webhooks tutorial. Thanks a lot!
Great tutorial Les, very informative. My only recommendation is to include examples when polling for a single entity as there is a couple ways to handle that as I discovered.
Excellent course/video. It also came at a great time since we are looking to implement graph with our .net 5 APIs. We will be looking to combine rest and graph but this will help a ton.
Hi, is there a way to add authentication and authorization to this project?
Thanks for Tutorial. Love way of your teaching 👍
Intro always epic.
Great to see you back
Woaah, amazing video. learned lots of new things. Thanks Les.
Many thanks for really helpful and detailed education content... took a lot from this tutorial and git repo
Just started your Udemy course. Love it!
This is a great one! Thanks, Les.
I used hot chocolate - it's awesome! Thanks for video!
A very clear and understandable tutorial could be improved by setting chapters in the video or split into pieces of about 45 minutes. This would make it far easier to find a position for recapitulation, but all in all thumbs up
Thanks so much for this great video. Merry Christmas!
Oof! I'm interested in GraphQL and may look at implementing it into one of my future projects. Might have to digest this video in chunks though! :D
Finally got through it. Very interesting, and very well explained.
you teach very well man
Waiting this evening to watch the video, but Les, thank you, and Keep up the good work.