1) what is access AccessDeniedPath ?
The AccessDeniedPath option allows you to send a 302 (redirect) to the browser rather than a 403 (Forbidden). The path is the action URL so you can return a friendly message.
if i set MinimumSameSitePolicy then what will happen ?
This is a fairly broad subject with history and thoroughly covered in the official documentation. Read the docs first and if you still have questions then ask.
Work with SameSite cookies in ASP.NET Core
if any exception occur when site run from IDE then user will be redirected to Error controller or Error action?
If any error happens and the environment is NOT development, then you get to return a friendly message to the user.
Use multiple environments in ASP.NET Core
what is app.UseHsts(); ?
It sets the Strict-Transport-Security response header which tells the browser to use HTTPS for any HTTP requests.
HstsBuilderExtensions.UseHsts(IApplicationBuilder) Method
Strict-Transport-Security
when to use AuthenticationProperties class ?
The comments clearly explain the options and the options are very easy to lookup. Start with the docs or perhaps paly with the options in a test application.
why all properties of AuthenticationProperties class is commented ?
It's just an example of common options with descriptions of what the options do.
How to store custom information in cookies and read later? do i need to store custom info into claims?
The code sample illustrates this. I'm not sure what you do not understand. The claims are part of a token. The token is encrypted and cached in the authentication cookie. On each request the cookie authentication API read the the token and populates a Principal object. The Principal is what the [Authorize] attribute look to to determine access to a secured resource. I explained this process in your other thread.