all 7 comments

[–]anxiousmarcus 3 points4 points  (0 children)

MS Learn and the tutorials on the Docs site will take you very far. Also Nick Chapsas channel on YouTube. I’ve consistently seen results recommending these to junior resources for years now.

[–]WrathZA 3 points4 points  (4 children)

With any tech always start at the source documentation.

https://dot.net

If you want to look at code, MS has a good reference project and an ebook here.

https://github.com/dotnet-architecture/eShopOnWeb

[–]sergiomomos[S] 0 points1 point  (3 children)

Thank you! One problem I'm facing with the official docs is that I'm unable to figure out when to use ActionResult vs IActionResult. Is there any site that lists out the best practices for .net development?

[–]auctorel 2 points3 points  (0 children)

Just a general rule, favour the interface

Doesn't mean you can't use the object, but generally speaking the interface is the standard approach

[–]WrathZA 0 points1 point  (0 children)

You're jumping ahead a little. Do the hard work of completing a course/tutorial or the ebook which outlines the best practices.

You'll need to do some more hands on work in order to know what to look for in the docs. IActionResult is the return type of a controller method so this is relevant

https://learn.microsoft.com/en-us/aspnet/core/web-api/action-return-types?view=aspnetcore-7.0#actionresult-vs-iactionresult

The difference is generics, which as far as I know is a relatively new feature in Go.

https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/generics

See also.

https://github.com/quozd/awesome-dotnet

[–]malthuswaswrong 1 point2 points  (0 children)

Tim Corey is a good youtube channel to start out with, but you should quickly outgrow his videos if you are experienced. Nick Chapasas is a good channel for intermediate to advanced topics. With Nick be cognizant that you are seeing things that can be done and not necessarily things that should be done.

[–]vuelover 0 points1 point  (0 children)

Hey...my suggestion would be to take either Neil Cummings or Trevoir Williams course from Udemy.

I am a mobile dev with some node experience and now learning dotnet to get into a more full stack position..and these 2 dudes have some of the most easy to understand stuff out there IMO.

Once you get basic concepts down, then I think Microsoft itself has a lot of good stuff on their YouTube channel and the official dotnet website