Hi @CJM ,
Thanks for reaching out.
ASP.Net applications generally run on IIS express. You cannot directly use IIS to host an ASP.NET Core application on IIS locally, as the development folder does not provide all of the necessary files IIS needs to host.
In a classic ASP.NET application everything is hosted inside of an IIS Worker Process (w3wp.exe) which is the IIS Application Pool. The pool hosts your ASP.NET application and your application is instantiated by the built-in ASP.NET hosting features in IIS.
However, for ASP.NET Core applications you can run IIS as a front-end proxy using an Out of Process model that proxies through IIS. Requests hit IIS and are forwarded to your ASP.NET Core app running the Kestrel Web Server (Reverse proxy).
In Process hosting model on IIS which does not use Kestrel and instead uses a new Web Server implementation (IISHttpServer) that is hosted directly inside of the IIS Application Pool.
For ASP.Net Core You can specify and update the value InProcess/OutProcess models in project configuration file under <AspNetCoreHostingModel>InProcess< /AspNetCoreHostingModel>
ByDefault, Hosting Model specified is InProcess which host the process inside IIS Worker Process (w3wp.exe or iisexpress.exe) ,But for debugging purpose, you can specify OutProcess to run the application locally.
Also , please refer OAuth 2.0 authorization code flow for all the required parameters and its values specified in startup.cs file.
As asked, the redirectUri and CallbackPath both are same and can be used interchangeably to specify where authentication responses can be sent.
and Response _mode is optional to informs the Authorization Server to be used for returning parameters from the Authorization Endpoint.
Thanks,
Shweta
-----------------------------------------------------------------
Please remember to "Accept Answer" or Up-Vote if answer helped you.