Authentication and Authorization - Registration Part 1

Exercise - Create Controllers


I finished! On to the next chapter


Exercise: Creating Controller

Create the following Controllers
  • Articles
  • Profiles
  • Tags
  • User (notice it's singular)

Here's the code from the previous video as a reminder:

using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;

namespace Conduit.Api.Controllers
    public class UsersController : ControllerBase
        private ILogger<UsersController> Logger;

        public UsersController(ILogger<UsersController> logger)
            Logger = logger;