title: How to use latest version of MSAL.NET with authorization code flow in ASP.NET MVC web application
body: <p>I need to implement Azure AD authentication and authorization for my ASP.NET MVC web application using MSAL.NET with authorization code flow and I need to call my own API.
  I can see a lot of manual code implementations on the internet to redeem authorization codes etc...
  I know the latest version of MSAL.NET will handle auto code redeem without writing any manual code but how to use it, any good example will help me a lot.</p>
  <p>Second, what are the best practices followed while using MSAL.NET with authorization code flow to call my own API?</p>
  <p>Note: I am using the .net framework.</p>
  <p>Thanks in advance.</p>