Dotnet
Authentication and Authorization - Registration Part 2

Configure Auto Mapper

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

I finished! On to the next chapter

Demo: Configure AutoMapper

In the Conduit.Api Project

Modify Startup.cs file
  • Immediately after service.AddDbContext... add services.AddAutoMapper
  • It takes a lambda expression
    • Map Account to User
    • Map Person to User