Building Web APIs Part 1

Play Building Web APIs Part 1
Sign in to queue


This is the first of a three part series where Robert is joined by Chris Woodruff who shows how to build ASP.NET Core Web APIs. In this episode, Chris shows how to kick off your first project and what ASP.NET Core 2.1 offers that makes our developer lives better! He looks at Dependency Injection, Entity Framework Core and other .NET Core goodies to make your APIs the best for all platforms.





The Discussion

  • User profile image

    NIce can't wait for next .

  • User profile image


    Its really grateful video & really very easy, how get connection string in code.

    1. Good demonstration for getting connection String

    2. New base class ControllerBase and ApiController attribute decoration.

    Thanks a lot. 

  • User profile image

    Kindly request you to post more videos on WebApi with .Net Core 2.1

    We are really very crazy to learn new things.

  • User profile image

    Very nice. For those who want to follow with VS, would be helpful to:

    • Have a link to the Chinook DB.
    • Have a link to the "script_webapi.txt" file.

    Thanks … bill burrows

  • User profile image

    @burrowsMVP: Thanks Bill! Links have been added above. 

  • User profile image

    Thank Sir! It's very useful.

  • User profile image

    Great video guys.  I would request another video dealing specifically with security for an api in core.  I find so much conflicting information and ways out there, I am absolutely LOST.  Would love to know how to authenticate, then be able to authorize different users for different functions.  It shouldn't be as hard as it is.  Take longer getting the security setup then actually building the api.

  • User profile image

    Good Demo Chris. What's the name of the chrome extension you used for formatting the json response?

  • User profile image

    Robert Green, my favorite interviewer on Channel 9. He asks such good questions and he knows how to Gage an interview and always on point knowing the things developers would ask. Great videos and thank you!

  • User profile image
    Hi @rogreen Very good tutorial Thankyou so much for this tutorial

    but i have one doubt can we create nested json Format in core?
  • User profile image

    16 minutes in and I haven't seen anything related to Web APIs. Maybe the subsequent episodes are better but this was tiresome to watch.

  • User profile image

    Somebody can say me how should be the command:

    Scaffold-DbContext "Server=.;Database=Chinook;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models

    when SQL server is on another server, outside domain (I mean, SQL server is not on my development PC)?

    I understand that "Server=." should be "Server=ip-of-sql-server", but how indicate login credentials?

    Thanks in advance!

  • User profile image

    Never mind: to who can serve:

    "server=yourservername;database=yourdatabase;user id=YourUser;pwd=TopSecret"

Add Your 2 Cents